Sentiment Analysis of Nigerian Opinions Using Logistic Regression and Random Forest Algorithms: A Comparative Study
Victor Mfon Abia, E. Henry Johnson, Akaninyene B. Obot
Journal of Engineering Research and Reports · pp. 27–40 · Published 25 Sep 2024
10.9734/jerr/2024/v26i101287Abstract
This study investigates the efficacy of Logistic Regression and Random Forest models in sentiment analysis using Nigerian-based datasets, namely "Gangs of Lagos" and "PeterObi Politics." Sentiment analysis, a vital component of Natural Language Processing (NLP), plays a crucial role in understanding public opinion and sentiment trends, particularly in the context of Nigerian socio-political discourse. Leveraging machine learning techniques, the study examines the performance of these models in predicting sentiment classes, including positive, negative, and neutral sentiments, within the datasets. The findings shed light on the strengths and limitations of Logistic Regression and Random Forest in discerning sentiment nuances prevalent in Nigerian language expressions with Logistic Regression outperforming Random Forest in both cases. This research contributes to the advancement of sentiment analysis methodologies tailored to Nigerian linguistic and cultural contexts, with implications for various applications, including social media monitoring, political analysis, and market research.
Cited by 1
Chang Liu · Applied Mathematics and Nonlinear Sciences · 2025
Related research
- First Trimester Fasting Blood Glucose as a Screening Tool for Diabetes Mellitus in a Teaching Hospital Setting in Nigeria — shares topic coverage
- The Nature and Complications of Acute Traumatic Cervical Spinal Cord Injury in a University Hospital in Nigeria — shares topic coverage
- Musculoskeletal Complications of Sickle Cell Anaemia and Their Management Approaches in Makurdi, Nigeria — shares topic coverage
- Work-related Musculoskeletal Disorders among Radiologists in Nigeria — shares topic coverage
- The Skills of Cardiopulmonary Resuscitation in Some Professional and Student Teachers Compared — shares topic coverage
Article metrics
Real usage data collected on this platform.
19
Page views
0
PDF downloads
2
Outbound clicks
1
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.