Home
World Journal of Advanced Research and Reviews
International Journal with High Impact Factor for fast publication of Research and Review articles

Main navigation

  • Home
    • Journal Information
    • Editorial Board Members
    • Reviewer Panel
    • Abstracting and Indexing
    • Journal Policies
    • Our CrossMark Policy
    • Publication Ethics
    • Issue in Progress
    • Current Issue
    • Past Issues
    • Instructions for Authors
    • Article processing fee
    • Track Manuscript Status
    • Get Publication Certificate
    • Join Editorial Board
    • Join Reviewer Panel
  • Contact us
  • Downloads

eISSN: 2581-9615 || CODEN: WJARAI || Impact Factor 8.2 ||  CrossRef DOI

Research and review articles are invited for publication in April 2026 (Volume 30, Issue 1) Submit manuscript

Comparative analysis of machine learning algorithms for sentiment classification in social media text

Breadcrumb

  • Home
  • Comparative analysis of machine learning algorithms for sentiment classification in social media text

Israt Jahan 1, *, Md Nakibul Islam 1, Md Mahadi Hasan 1 and Md Rafiuddin Siddiky 2

1 Department of Information Technology, Washington University of Science and Technology, Virginia, USA.
2 Department of Information Systems Technology, Wilmington University, Delaware, USA.
 
Research Article
World Journal of Advanced Research and Reviews, 2024, 23(03), 2842-2852
Article DOI: 10.30574/wjarr.2024.23.3.2983
DOI url: https://doi.org/10.30574/wjarr.2024.23.3.2983
 
Received on 18 August 2024; revised on 25 September 2024; accepted on 27 September 2024
 
In the era of social media, sentiment analysis has become crucial for understanding public opinion. This study presents a comparative analysis of five machine learning algorithms for sentiment classification in social media text: Logistic Regression, Support Vector Machines (SVM), Random Forest, Naive Bayes, and Gradient Boosting. Using a dataset of 100,000 tweets collected over three months, we evaluated these algorithm's performance in classifying sentiments as positive, negative, or neutral. The data underwent extensive preprocessing, including cleaning, normalization, and addressing class imbalance using SMOTE. Our results show that Logistic Regression and SVM achieved the highest overall accuracy at 86.22%, demonstrating balanced performance across all sentiment classes. Random Forest followed closely with 82.59% accuracy, while Naive Bayes and Gradient Boosting showed lower but still noteworthy performance at 70.45% and 69.96% respectively. All models exhibited challenges in classifying negative sentiments, suggesting potential areas for improvement. The study provides insights into each algorithm's strengths and weaknesses, offering guidance for practitioners in selecting appropriate methods for sentiment analysis tasks. Our findings contribute to the ongoing research in applying machine learning to the complex task of sentiment analysis in the rapidly evolving landscape of social media communication.
 
Sentiment Analysis; Machine Learning; Social Media; Text Classification; Natural Language Processing
 
https://wjarr.com/sites/default/files/fulltext_pdf/WJARR-2024-2983.pdf

Preview Article PDF

Israt Jahan, Md Nakibul Islam, Md Mahadi Hasan and Md Rafiuddin Siddiky. Comparative analysis of machine learning algorithms for sentiment classification in social media text. World Journal of Advanced Research and Reviews, 2024, 23(3), 2842-2852. Article DOI: https://doi.org/10.30574/wjarr.2024.23.3.2983

Copyright © Author(s). All rights reserved. This article is published under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits use, sharing, adaptation, distribution, and reproduction in any medium or format, as long as appropriate credit is given to the original author(s) and source, a link to the license is provided, and any changes made are indicated.


All statements, opinions, and data contained in this publication are solely those of the individual author(s) and contributor(s). The journal, editors, reviewers, and publisher disclaim any responsibility or liability for the content, including accuracy, completeness, or any consequences arising from its use.

Get Certificates

Get Publication Certificate

Download LoA

Check Corssref DOI details

Issue details

Issue Cover Page

Editorial Board

Table of content

Copyright © 2026 World Journal of Advanced Research and Reviews - All rights reserved

Developed & Designed by VS Infosolution