Sentiment Analysis on Different Domains Using Machine Learning Algorithms

被引:6
|
作者
Ahuja, Ravinder [1 ]
Sharma, S. C. [1 ]
机构
[1] IIT Roorkee, Elect & Comp Discipline, Saharanpur Campus, Saharanpur, Uttar Pradesh, India
关键词
Classification; TF-IDF; Text mining; Sentiment analysis; Machine learning;
D O I
10.1007/978-981-16-5689-7_13
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In sentiment analysis, we try to find out the writer's view about any product, events, government policy, services, topics, individual, etc., through the text written by them on social media platforms like Twitter, Facebook, etc. This study has considered two datasets (STS-Gold and IMDb) on a different domain and with varying lengths of text. The objective of this study is to know which classification algorithm performs better on two domains of text with different length. We have applied six machine learning algorithms (support vector machine, logistic regression, K-Nearest Neighbors, random forest, Naive Bayes, and decision tree) and compared them on the basis f-score, precision, recall, and accuracy. In the IMDb dataset, logistic regression performs better among all and gives the highest accuracy of 96.3% and f-score of 80.6%. The second highest is achieved with Naive Bayes with 95.89 and 80.05% f-score. Naive Bayes gives the highest accuracy of 81.08% and an f-score of 42.45% in the STS-Gold dataset. The second highest is achieved with logistic regression giving an accuracy of 80.09 and 41.52% f-score. We found that logistic regression and Naive Bayes are performing better among all the algorithms on both datasets.
引用
收藏
页码:143 / 153
页数:11
相关论文
共 50 条
  • [1] Sentiment Analysis Using Machine Learning Algorithms
    Jemai, Fatma
    Hayouni, Mohamed
    Baccar, Sahbi
    [J]. IWCMC 2021: 2021 17TH INTERNATIONAL WIRELESS COMMUNICATIONS & MOBILE COMPUTING CONFERENCE (IWCMC), 2021, : 775 - 779
  • [2] Sentiment Analysis on Reviews of Amazon Products Using Different Machine Learning Algorithms
    Tasci, Merve Esra
    Rasheed, Jawad
    Ozkul, Tarik
    [J]. FORTHCOMING NETWORKS AND SUSTAINABILITY IN THE AIOT ERA, VOL 2, FONES-AIOT 2024, 2024, 1036 : 318 - 327
  • [3] Analysis of Machine Learning Algorithms for Opinion Mining in Different Domains
    Gamal, Donia
    Alfonse, Marco
    El-Horbaty, El-Sayed M.
    Salem, Abdel-Badeeh M.
    [J]. MACHINE LEARNING AND KNOWLEDGE EXTRACTION, 2019, 1 (01): : 224 - 234
  • [4] Sentiment Analysis of Twitter Posts using Machine Learning Algorithms
    Gupta, Ashutosh
    Singh, Anusha
    Pandita, Ishan
    Parashar, Harsh
    [J]. PROCEEDINGS OF THE 2019 6TH INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT (INDIACOM), 2019, : 980 - 983
  • [5] Evaluation of Social Human Sentiment Analysis Using Machine Learning Algorithms
    Agarwal, Anjali
    Das, Ajanta
    Das, Roshni Rupali
    [J]. PROCEEDINGS OF SECOND INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTER ENGINEERING AND COMMUNICATION SYSTEMS, ICACECS 2021, 2022, : 255 - 263
  • [6] Sentiment Analysis of Social Media Comments Using Machine Learning Algorithms
    Taghiyeva, Laman
    Hasanova, Narmin
    Omarova, Masuda
    Rustamov, Samir
    [J]. 2023 5th International Conference on Problems of Cybernetics and Informatics, PCI 2023, 2023,
  • [7] Sentiment Analysis for Arabic Reviews using Machine Learning Classification Algorithms
    Sayed, Awny A.
    Elgeldawi, Enas
    Zaki, Alaa M.
    Galal, Ahmed R.
    [J]. PROCEEDINGS OF 2020 INTERNATIONAL CONFERENCE ON INNOVATIVE TRENDS IN COMMUNICATION AND COMPUTER ENGINEERING (ITCE), 2020, : 56 - 63
  • [8] Various Machine Learning Algorithms for Twitter Sentiment Analysis
    Singh, Rishija
    Goel, Vikas
    [J]. INFORMATION AND COMMUNICATION TECHNOLOGY FOR COMPETITIVE STRATEGIES, 2019, 40 : 763 - 772
  • [9] Sentiment Analysis in Turkish Text with Machine Learning Algorithms
    Rumelli, Merve
    Akkus, Deniz
    Kart, Ozge
    Isik, Zerrin
    [J]. 2019 INNOVATIONS IN INTELLIGENT SYSTEMS AND APPLICATIONS CONFERENCE (ASYU), 2019, : 123 - 127
  • [10] Sentiment and semantic analysis: Urban quality inference using machine learning algorithms
    Ho, Emily
    Schneider, Michelle
    Somanath, Sanjay
    Yu, Yinan
    Thuvander, Liane
    [J]. ISCIENCE, 2024, 27 (07)