EconPapers    
Economics at your fingertips  
 

Comparative Performance Analysis of Selected Machine Learning Techniques for Social Media Sentiment Analysis

Samuel Adegbite Oladipupo, Stephen Olatunde Olabiyisi, Wasiu Oladimeji Ismaila, Adebayo Olalere Oyedele and Adebayo Olalere Oyedele
Additional contact information
Samuel Adegbite Oladipupo: Department of Computer Science Ladoke Akintola University of Technology, Ogbomoso, Oyo state Nigeria
Stephen Olatunde Olabiyisi: Department of Computer Science Ladoke Akintola University of Technology, Ogbomoso, Oyo state Nigeria
Wasiu Oladimeji Ismaila: Department of Computer Science Ladoke Akintola University of Technology, Ogbomoso, Oyo state Nigeria
Adebayo Olalere Oyedele: Department of Computer Science Ladoke Akintola University of Technology, Ogbomoso, Oyo state Nigeria
Adebayo Olalere Oyedele: Department of Computer Science Ladoke Akintola University of Technology, Ogbomoso, Oyo state Nigeria

International Journal of Research and Innovation in Applied Science, 2025, vol. 10, issue 5, 601-607

Abstract: Social media sentiment analysis plays a crucial role in understanding public opinion and user behavior across platforms. Several techniques have been developed to accurately classify sentiment in social media data. However, these techniques have not been adequately analyzed and compared. Hence, this study investigates the comparative performance of Support Vector Machine (SVM), Logistic Regression (LR) and Long Short-Term Memory (LSTM) in social media sentiment analysis. Social media data which contains labelled tweet representing different sentiments (positive, negative, neutral) were extracted from Kaggle.com using Kagglejson tool to facilitate supervised learning tasks. The preprocessing steps involved text normalization, tokenization, stopword removal, and feature extraction using TF-IDF with top 5,000 features selected. Next, the three machine learning models – SVM, LR and LSTM were implemented and trained with the preprocessed dataset. Finally, the models were implemented in python, evaluated and compared based on accuracy, precision, recall and F1 score. The results of the evaluation and comparison indicate that SVM achieved 85% accuracy, 82% precision, 84% recall and 83% F1-score: LR achieved 83% accuracy, 81% precision, 80% recall and 80% F1-score while LSTM achieved 90% accuracy, 88% precision, 89% recall and 89% F1-score

Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.rsisinternational.org/journals/ijrias/ ... -issue-5/601-607.pdf (application/pdf)
https://rsisinternational.org/journals/ijrias/arti ... -sentiment-analysis/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:bjf:journl:v:10:y:2025:i:5:p:601-607

Access Statistics for this article

International Journal of Research and Innovation in Applied Science is currently edited by Dr. Renu Malsaria

More articles in International Journal of Research and Innovation in Applied Science from International Journal of Research and Innovation in Applied Science (IJRIAS)
Bibliographic data for series maintained by Dr. Renu Malsaria ().

 
Page updated 2025-07-04
Handle: RePEc:bjf:journl:v:10:y:2025:i:5:p:601-607