Navdeep Bohra,
Ashish Kumari,
- Assistant Professor, Department of Computer Science and Engineering, Maharaja Surajmal Institute of Technology, New Delhi, India
- Assistant Professor, Department of Computer Science and Engineering, Maharaja Surajmal Institute of Technology, New Delhi, India
Abstract
Sentiment in social media refers to users’ emotions and opinions through their posts and interactions. Sentiment analysis (SA) refers to relating and classifying the sentiments expressed as engagement and interactions between users. When analyzed, tweets frequently produce a large source of clustered data. These data help determine people’s opinions about a variety of motifs. Thus, this study presents an Automated Machine Learning (ML) Sentiment Analysis Model to detect media sentiment. Due to the inclusion of important data and non-useful characters (often called noise), applying models to them gets tricky. This study uses machine literacy to analyze Twitter sentiment analysis, the sentiment of tweets delivered from the Kaggle Twitter Sentiment Analysis dataset by creating a machine learning channel that employs three different models or categories, i.e., Logistic Regression (LR), Bernoulli Naive Bayes (Bernoulli NB), and Support Vector Machine (SVM) on Python. The accuracy and F1 Scores define to measure how well these classifiers function. In the comparison of the models through the accuracy outcome, Logistic Regression gives the most efficient results with an accuracy of 95.83% followed by SVM at 95.77%, it, in turn, performs better than Bernoulli Naive Bayes at 94.90% accuracy.
Keywords: Sentiment analysis, tweets, Bernoulli Naïve Bayes, logistic regression, support vector machine
[This article belongs to Journal of Artificial Intelligence Research & Advances ]
Navdeep Bohra, Ashish Kumari. Evaluation of Machine Learning Classifiers for Sentiment Analysis. Journal of Artificial Intelligence Research & Advances. 2024; 11(02):141-154.
Navdeep Bohra, Ashish Kumari. Evaluation of Machine Learning Classifiers for Sentiment Analysis. Journal of Artificial Intelligence Research & Advances. 2024; 11(02):141-154. Available from: https://journals.stmjournals.com/joaira/article=2024/view=155853
References
- Kharde V, Sonawane P. Sentiment analysis of twitter data: a survey of techniques. arXiv preprint arXiv:1601.06971. 2016.
- Mehta P, Pandya S. A review on sentiment analysis methodologies, practices and applications. International Journal of Scientific and Technology Research (IJSTR). 2020; 9(2): 601–609.
- Brauwers G, Frasincar F. A survey on aspect-based sentiment classification. ACM Comput Surv. 2022; 55(4): 1–37.
- Bohra N, Bhatnagar V. Group level social media popularity prediction by MRGB and Adam optimization. J Comb Optim. 2021; 41(2): 328–347.
- Saberi B, Saad S. Sentiment analysis or opinion mining: A review. Int J Adv Sci Eng Inf Technol. 2017; 7(5): 1660–1666.
- Bohra N, Bhatnagar V, Choudhary A, Ahlawat S, Sheoran D, Kumari A. Popularity Prediction of Social Media Post Using Tensor Factorization. Intell Autom Soft Comput. 2023; 36(1): 205–221.
- Go A, Bhayani R, Huang L. Twitter sentiment classification using distant supervision. CS224N project report, Stanford. 2009; 1(12).
- Barbosa L, Feng J. Robust sentiment detection on twitter from biased and noisy data. In Coling 2010: Posters. 2010 Aug; 36–44.
- Agarwal A, Xie B, Vovsha I, Rambow O, Passonneau RJ. Sentiment analysis of twitter data. In Proceedings of the workshop on language in social media (LSM 2011). 2011 Jun; 30–38.
- Liang PW, Dai BR. Opinion mining on social media data. In 2013 IEEE 14th international conference on mobile data management. 2013 Jun; 2: 91–96.
- Ren B, Cheng L. Research of classification system based on naive bayes and metaclass. In 2009 IEEE 2nd International Conference on Information and Computing Science. 2009 May; 3: 154–156.
- Alsaeedi A, Khan MZ. A study on sentiment analysis techniques of Twitter data. Int J Adv Comput Sci Appl. 2019; 10(2): 361–374.
- Kewsuwun N, Kajornkasirat S. A sentiment analysis model of agritech startup on Facebook comments using naive Bayes classifier. Int J Electr Comput Eng (2088-8708). 2022; 12(3): 2829–2838.
- Patil RS, Kolhe SR. Supervised classifiers with TF-IDF features for sentiment analysis of Marathi tweets. Soc Netw Anal Min. 2022; 12(1): 51.
- Bagheri H, Torkamani MA, Ghaffari Z. Multi-agent approach for facing challenges in ultra-large scale systems. Int J Electr Comput Eng. 2014; 4(2): 151–154.
- Ortigosa A, Martín JM, Carro RM. Sentiment analysis in Facebook and its application to e-learning. Comput Hum Behav. 2014; 31: 527–541.
- Burigo M, Schultheis H. The effects of direction and orientation of located objects on spatial language comprehension. Lang Cogn. 2018; 10(2): 298–328.
- Kersbergen B, Schelter S. Learnings from a Retail Recommendation System on Billions of Interactions at bol. com. In 2021 IEEE 37th International Conference on Data Engineering (ICDE). 2021 Apr; 2447–2452.
- Azzouza N, Akli-Astouati K, Oussalah A, Bachir SA. A real-time Twitter sentiment analysis using an unsupervised method. In proceedings of the 7th international conference on web intelligence, mining and semantics. 2017 Jun; 1–10.
- Aliman G, Nivera TFS, Olazo JCA, Ramos DJP, Sanchez CDB, Amado TM, Valenzuela IC, et al. Sentiment analysis using logistic regression. J Comput Innov Eng Appl. 2022; 7(1): 35–40.
- Fernández-Gavilanes M, Álvarez-López T, Juncal-Martínez J, Costa-Montenegro E, González-Castaño FJ. Unsupervised method for sentiment analysis in online texts. Expert Syst Appl. 2016; 58: 57–75.
- Kaur VD. Sentimental analysis of book reviews using unsupervised semantic orientation and supervised machine learning approaches. In 2018 IEEE 2nd International conference on green computing and internet of things (ICGCIoT). 2018 Aug; 519–524.
- Santos MLBD. The “so-called” UGC: an updated definition of user-generated content in the age of social media. Online Inf Rev. 2022; 46(1): 95–113.
- Bohra N, Bhatnagar V. Social media popularity prediction by ttm clustered Bayesian factorization. Advances and Applications in Mathematical Sciences (AAMS). 2022; 21(6): 3293–3302.
- Ramadhan WP, Novianty SA, Setianingsih SC. Sentiment analysis using multinomial logistic regression. In: IEEE International Conference on Control, Electronics, Renewable Energy and Communications (ICCREC). 2017 Sep; 46–49.
- Luo Z, Osborne M, Wang T. An effective approach to tweets opinion retrieval. World Wide Web. 2015; 18(3): 545–566.

Journal of Artificial Intelligence Research & Advances
| Volume | 11 |
| Issue | 02 |
| Received | 24/05/2024 |
| Accepted | 06/07/2024 |
| Published | 10/07/2024 |
Login
PlumX Metrics