Journal of Artificial Intelligence and Big Data
Volume 6, Issue 1, 2026
Open Access February 06, 2026 12 pages 1 views 0 downloads

Predictive Modeling of Public Sentiment Using Social Media Data and Natural Language Processing Techniques

Journal of Artificial Intelligence and Big Data 2026, 6(1), 6162. DOI: 10.31586/jaibd.2026.6162
Abstract
Social media platforms like X (formerly Twitter) generate vast volumes of user-generated content that provide real-time insights into public sentiment. Despite the widespread use of traditional machine learning methods, their limitations in capturing contextual nuances in noisy social media text remain a challenge. This study leverages the Sentiment140 dataset, comprising 1.6 million labeled
[...] Read more.
Social media platforms like X (formerly Twitter) generate vast volumes of user-generated content that provide real-time insights into public sentiment. Despite the widespread use of traditional machine learning methods, their limitations in capturing contextual nuances in noisy social media text remain a challenge. This study leverages the Sentiment140 dataset, comprising 1.6 million labeled tweets, and develops predictive models for binary sentiment classification using Naive Bayes, Logistic Regression, and the transformer-based BERT model. Experiments were conducted on a balanced subset of 12,000 tweets after comprehensive NLP preprocessing. Evaluation using accuracy, F1-score, and confusion matrices revealed that BERT significantly outperforms traditional models, achieving an accuracy of 89.5% and an F1-score of 0.89 by effectively modeling contextual and semantic nuances. In contrast, Naive Bayes and Logistic Regression demonstrated reasonable but consistently lower performance. To support practical deployment, we introduce SentiFeel, an interactive tool enabling real-time sentiment analysis. While resource constraints limited the dataset size and training epochs, future work will explore full corpus utilization and the inclusion of neutral sentiment classes. These findings underscore the potential of transformer models for enhanced public opinion monitoring, marketing analytics, and policy forecasting.Full article
Article
ISSN: 2771-2389
DOI prefix: 10.31586/jaibd
Journal metrics
Publication year
2016-2026
Journal (home page) visits
15510
Published articles
62
Article views
40687
Article downloads
6763
Downloads/article
109
APC
99.00