Understanding Public Opinion through Sentiment Analysis: A Case Study Using the Sentiment140 Dataset
DOI:
https://doi.org/10.32628/CSEIT25112869Keywords:
Sentiment analysis, Natural Language Processing, Machine Learning, Deep Learning, Sentiment140 dataset, Public OpinionAbstract
The rise of social media has provided an unprecedented opportunity to analyze public opinion at scale. Sentiment analysis, a key technique in natural language processing (NLP), enables the automatic classification of opinions expressed in textual data. This study explores the effectiveness of sentiment analysis using the Sentiment140 dataset, a collection of tweets labeled as positive, negative, or neutral. We compare machine learning and deep learning models, including logistic regression, support vector machines (SVM), convolutional neural networks (CNN), and long short-term memory (LSTM) networks. Our results highlight the comparative strengths of each model in classifying sentiments with varying degrees of accuracy. This research contributes to the ongoing development of AI-powered sentiment analysis by evaluating model performance on real-world social media data.
Downloads
References
A. Go, R. Bhayani, and L. Huang, "Twitter sentiment classification using distant supervision," Stanford University, 2009.
B. Liu, "Sentiment analysis and opinion mining," Synthesis Lectures on Human Language Technologies, vol. 5, no. 1, pp. 1-167, 2012.
Y. Kim, "Convolutional neural networks for sentence classification," arXiv preprint arXiv:1408.5882, 2014.
P. D. Turney, "Thumbs up or thumbs down? Semantic orientation applied to unsupervised classification of reviews," ACL, 2002.
C. Manning, H. Schütze, "Foundations of statistical natural language processing," MIT Press, 1999.
J. Howard and S. Ruder, "Universal language model fine-tuning for text classification," arXiv preprint arXiv:1801.06146, 2018.
M. Cambria, “Affective computing and sentiment analysis,” IEEE Intelligent Systems, vol. 31, no. 2, pp. 102–107, 2016.
E. Hutto and C. Gilbert, “VADER: A parsimonious rule-based model for sentiment analysis of social media text,” in Proc. ICWSM, 2014, pp. 216–225.
S. Yadav and M. Vishwakarma, “Sentiment analysis using machine learning: A review,” Journal of Information and Optimization Sciences, vol. 40, no. 3, pp. 543–558, 2019.
T. Mikolov, K. Chen, G. Corrado, and J. Dean, “Efficient estimation of word representations in vector space,” arXiv preprint arXiv:1301.3781, 2013.
J. Devlin, M. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of deep bidirectional transformers for language understanding,” in Proc. NAACL-HLT, 2019, pp. 4171–4186.
Y. Liu et al., “RoBERTa: A robustly optimized BERT pretraining approach,” arXiv preprint arXiv:1907.11692, 2019.
R. Diaz and C. Ma, “Predicting elections using Twitter sentiment analysis,” Journal of Big Data, vol. 8, no. 1, pp. 1–18, 2021.
M. Cambria, “Affective computing and sentiment analysis,” IEEE Intelligent Systems, vol. 31, no. 2, pp. 102–107, 2016.
J. Gnanaprakasam and R. Lourdusamy, “Intelligent Conversational Chatbots: History, Taxonomy, Classification with PRISMA Model,” in Proc. International Conference on Computation of Artificial Intelligence & Machine Learning, 2024.
E. Hutto and C. Gilbert, “VADER: A parsimonious rule-based model for sentiment analysis of social media text,” in Proc. ICWSM, 2014, pp. 216–225.
S. Yadav and M. Vishwakarma, “Sentiment analysis using machine learning: A review,” Journal of Information and Optimization Sciences, vol. 40, no. 3, pp. 543–558, 2019.
T. Mikolov, K. Chen, G. Corrado, and J. Dean, “Efficient estimation of word representations in vector space,” arXiv preprint arXiv:1301.3781, 2013.
J. Devlin, M. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of deep bidirectional transformers for language understanding,” in Proc. NAACL-HLT, 2019, pp. 4171–4186.
Y. Liu et al., “RoBERTa: A robustly optimized BERT pretraining approach,” arXiv preprint arXiv:1907.11692, 2019.
J. Gnanaprakasam and R. Lourdusamy, “Intelligent Conversational Chatbot: Design Approaches and Techniques,” in Proc. International Conference on Computation of Artificial Intelligence & Machine Learning, 2024.
R. Diaz and C. Ma, “Predicting elections using Twitter sentiment analysis,” Journal of Big Data, vol. 8, no. 1, pp. 1–18, 2021.
A. Zimbra et al., “The state-of-the-art in Twitter sentiment analysis: A review and benchmark evaluation,” Decision Support Systems, vol. 90, pp. 56–73, 2016.
S. Poria et al., “A review of affective computing: From unimodal analysis to multimodal fusion,” Information Fusion, vol. 37, pp. 98–125, 2017.
R. Lourdusamy and J. Gnanaprakasam, “Expert Systems in AI: Components, Applications, and Characteristics Focusing on Chatbot,” in Data Science with Semantic Technologies, CRC Press, 2023, pp. 217–231.
J. Gnanaprakasam and R. Lourdusamy, “The role of AI in automating grading: Enhancing feedback and efficiency,” in Artificial Intelligence and Education - Shaping the Future of Learning, 2024.
T. Hastie, R. Tibshirani, and J. Friedman, "The elements of statistical learning," Springer, 2009.
C. Cortes and V. Vapnik, "Support-vector networks," Machine learning, vol. 20, pp. 273-297, 1995.
L. Breiman, "Random forests," Machine learning, vol. 45, pp. 5-32, 2001.
Y. Lecun et al., "Gradient-based learning applied to document recognition," Proceedings of the IEEE, 1998.
S. Hochreiter and J. Schmidhuber, "Long short-term memory," Neural Computation, vol. 9, pp. 1735-1780, 1997.
A. Vaswani et al., "Attention is all you need," NeurIPS, 2017.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 International Journal of Scientific Research in Computer Science, Engineering and Information Technology

This work is licensed under a Creative Commons Attribution 4.0 International License.