Sentiment Analysis Techniques: A Comparative Study of Logistic Regression, Random Forest, and Naive Bayes on General English and Nigerian Texts
Victor Mfon Abia, E. Henry Johnson
Journal of Engineering Research and Reports · pp. 123–135 · Published 3 Sep 2024
10.9734/jerr/2024/v26i91268Abstract
This research investigates sentiment analysis on two distinct datasets: a general English dataset and a Nigerian dataset (Gangs of Lagos movie review), using three machine learning algorithms: Logistic Regression, Random Forest, and Naive Bayes with python programming language and its libraries. The study aims to evaluate and compare the performance of these models across different linguistic and cultural contexts. Results indicate that Logistic Regression consistently outperforms the other models, achieving the highest accuracy and balanced performance across sentiment classes. Random Forest provides comparable results but struggles with positive sentiment detection in the Nigerian dataset. Naive Bayes shows the lowest overall accuracy, with significant challenges in recall for certain sentiment classes. These findings highlight the importance of model selection and tuning tailored to specific datasets for effective sentiment analysis.
Cited by 5
Jinyu Li, Yang Wang, Fei Wang · Depression and Anxiety · 2025
İlker Vural, Elif Tuba Tamer · Journal of New Tourism Trends · 2025
Lijo P Thomas, Juby Thomas, Vishnu Achutha Menon · 2025 4th International Conference on Sentiment Analysis and Deep Learning (ICSADL) · 2025
Yanhua Song · Applied Mathematics and Nonlinear Sciences · 2024
Showing 4 of 5 known citations — external sources report more than can currently be individually listed.
Related research
- The Impact/Role of Artificial Intelligence in Anesthesia: Remote Pre-Operative Assessment and Perioperative — shares topic coverage
- Detecting Dental Caries through Captured Images Using the Machine Learning Technology Teachable Machine — shares topic coverage
- Harnessing Artificial Intelligence in Healthcare Analytics: From Diagnosis to Treatment Optimization — shares topic coverage
- Diagnostic Accuracy of Artificial Intelligence for Breast Cancer Detection: A Systematic Review — shares topic coverage
- Artificial Intelligence in the Analysis of the Fetal Genome in Utero: A Critical Review of Current Paradigms, Clinical Utility and Future Horizons — shares topic coverage
Article metrics
Real usage data collected on this platform.
6
Page views
0
PDF downloads
0
Outbound clicks
5
Citations
Views over time
Views by country
Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".
Traffic sources
Referring site, by host.
Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.