IDEAS home Printed from https://ideas.repec.org/a/bjf/journl/v10y2025i5p601-607.html
   My bibliography  Save this article

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

Author

Listed:
  • Oladipupo, Samuel Adegbite

    (Department of Computer Science Ladoke Akintola University of Technology, Ogbomoso, Oyo state Nigeria)

  • Olabiyisi, Stephen Olatunde

    (Department of Computer Science Ladoke Akintola University of Technology, Ogbomoso, Oyo state Nigeria)

  • Ismaila, Wasiu Oladimeji

    (Department of Computer Science Ladoke Akintola University of Technology, Ogbomoso, Oyo state Nigeria)

  • Oyedele, Adebayo Olalere

    (Department of Computer Science Ladoke Akintola University of Technology, Ogbomoso, Oyo state Nigeria)

  • Oyedele, Adebayo Olalere

    (Department of Computer Science Ladoke Akintola University of Technology, Ogbomoso, Oyo state Nigeria)

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

Suggested Citation

  • Oladipupo, Samuel Adegbite & Olabiyisi, Stephen Olatunde & Ismaila, Wasiu Oladimeji & Oyedele, Adebayo Olalere & Oyedele, Adebayo Olalere, 2025. "Comparative Performance Analysis of Selected Machine Learning Techniques for Social Media Sentiment Analysis," International Journal of Research and Innovation in Applied Science, International Journal of Research and Innovation in Applied Science (IJRIAS), vol. 10(5), pages 601-607, May.
  • Handle: RePEc:bjf:journl:v:10:y:2025:i:5:p:601-607
    as

    Download full text from publisher

    File URL: https://www.rsisinternational.org/journals/ijrias/digital-library/volume-10-issue-5/601-607.pdf
    Download Restriction: no

    File URL: https://rsisinternational.org/journals/ijrias/articles/comparative-performance-analysis-of-selected-machine-learning-techniques-for-social-media-sentiment-analysis/
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bjf:journl:v:10:y:2025:i:5:p:601-607. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Dr. Renu Malsaria (email available below). General contact details of provider: https://rsisinternational.org/journals/ijrias/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.