Sentiments Analysis of Social Media Text Using XGboost, LightGBM, and Fasttext Embeddings for Opinion Mining

dc.contributor.authorMohammed, S. B., Kadri, A. F., Abdulrahman T. A., Ilori, O., Tajudeen, K. O., Sulaiman, H. O., Ekundayo, O., & Babatunde A.N
dc.date.accessioned2026-06-16T10:55:12Z
dc.date.available2026-06-16T10:55:12Z
dc.date.issued2025
dc.description.abstractSentiment analysis is an important task in Natural Language Processing (NLP), aiming to classify text into categories such as positive, negative, or neutral. Despite considerable progress, existing models often struggle with the noisy, short-text data that characterizes social media platforms. Aim: This study proposes a sentiment classification framework built on the Sentiment140 dataset, where preprocessing steps and FastText embeddings were used to generate dense vector representations of tweets. Positive, negative, and a derived neutral class were defined as target categories. Method: Two gradient boosting algorithms, XGBoost and LightGBM, were trained and evaluated across five independent runs using standard metrics, including accuracy, precision, recall, and F1-score. Results: The results demonstrate that XGBoost consistently achieved superior performance, with an average accuracy of 97.8% ± 0.4 and all other metrics exceeding 97%, while LightGBM recorded substantially lower performance with an average accuracy of 75.2% ± 1.8. Baseline comparisons with majority-class prediction, Logistic Regression, and SVM confirmed the robustness of the proposed framework, while benchmarking against previously reported CNN and LSTM models showed a clear improvement over existing state-of-the-art result. These findings validate the effectiveness of combining FastText embeddings with XGBoost for sentiment classification and emphasize its reproducibility and robustness. The study provides methodological clarity, addresses the limitations of prior approaches, and establishes a reliable foundation for real-time applications in social media analytics, customer experience monitoring, and decision support systems.
dc.identifier.urihttps://kwasuspace.kwasu.edu.ng/handle/123456789/7416
dc.language.isoen
dc.publisherPublished by: Faculty of Computing and Information Technology and Faculty of Natural and Applied Science, Sule lamido University, Kafin Hausa, Jigawa State, Nigeria. Available online at Sule Lamido University - Journal of Science and Technology.
dc.titleSentiments Analysis of Social Media Text Using XGboost, LightGBM, and Fasttext Embeddings for Opinion Mining
dc.typeArticle
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
SENTIMENTS ANALYSIS OF SOCIAL MEDIA TEXT USING .pdf
Size:
1.17 MB
Format:
Adobe Portable Document Format
Description:
License bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed to upon submission
Description: