TWITTER EMOTION ANALYTICS FOR BUSINESS INTELLIGENCE: A COMPARATIVE STUDY OF MACHINE LEARNING MODELS
DOI:
https://doi.org/10.69980/vdfhmz46Keywords:
Emotion Classification, Social Media Analytics, Business Intelligence, Sentiment Analysis, Decision Support SystemsAbstract
Text-to-emotion detection in social media has become a vital activity in terms of the sentiment and mental health trends of people, as a tool for business intelligence and decision support. This paper reinstates and expands the deep learning-based sentiment classification framework, initially proposed to analyse Twitter (now X) emotion in terms of the number of emotions: anger (0), joy (1), fear (2), love (3), sadness (4), and surprise (5), with the help of a Multi-Layer Perceptron (MLP) classifier on a large-scale dataset with six emotions. After completing the preprocessing pipeline provided in the referenced study (tokenisation, stop-word removal, and POS-aware lemmatisation), the cleaned text is vectorised using TF-IDF with a vocabulary count of 5,000 features. Although the baseline MLP architecture achieved 85.25% test accuracy (better than the original study), a systematic comparative analysis shows that simple classical models outperform neural approaches for this task. Logistic Regression, trained on the same TF-IDF representation, achieved 89.09% accuracy through 5-fold stratified cross-validation, with improved generalisation and better performance on minority classes such as fear and surprise. The Multinomial Naive Bayes model achieved 83.19% mean cross-validated accuracy. These results offer practical advantages for real-time analytics in organisational settings. The findings challenge the assumption that complex deep learning frameworks are inherently superior for short-text emotion classification using lexical features. Logistic Regression demonstrates higher accuracy, interpretability, and computational efficiency on this dataset of over 416,000 instances, supporting managerial decision-making and social media-based business insights.
References
1.Abdullah, M., & Shaikh, S. (2018, June). Teamuncc at semeval-2018 task 1: Emotion detection in english and arabic tweets using deep learning. In Proceedings of the 12th international workshop on semantic evaluation (pp. 350-357).
2.Ameer, I., Bölücü, N., Siddiqui, M. H. F., Can, B., Sidorov, G., & Gelbukh, A. (2023). Multi-label emotion classification in texts using transfer learning. Expert Systems with Applications, 213, 118534.
3.Aslam, N., Rustam, F., Lee, E., Washington, P. B., & Ashraf, I. (2022). Sentiment analysis and emotion detection on cryptocurrency related tweets using ensemble LSTM-GRU model. Ieee Access, 10, 39313-39324.
4.Chen, H., Chiang, R. H., & Storey, V. C. (2012). Business intelligence and analytics: From big data to big impact. MIS quarterly, 36(4), 1165-1188.
5.Gandomi, A., & Haider, M. (2015). Beyond the hype: Big data concepts, methods, and analytics. International journal of information management, 35(2), 137-144.
6.Go, A., Bhayani, R., & Huang, L. (2009). Twitter sentiment classification using distant supervision. CS224N project report, Stanford, 1(12), 2009.
7.H. Davenport, T. (2014). How strategists use “big data” to support internal business decisions, discovery and production. Strategy & leadership, 42(4), 45-50.
8.Hamdi, E., Rady, S., & Aref, M. (2018, August). A convolutional neural network model for emotion detection from tweets. In International Conference on Advanced Intelligent Systems and Informatics (pp. 337-346). Cham: Springer International Publishing.
9.Hasan, M., Rundensteiner, E., & Agu, E. (2021, December). Deepemotex: Classifying emotion in text messages using deep transfer learning. In 2021 IEEE international conference on big data (big data) (pp. 5143-5152). IEEE.
10.He, W., Zha, S., & Li, L. (2013). Social media competitive analysis and text mining: A case study in the pizza industry. International journal of information management, 33(3), 464-472.
11.Hennig-Thurau, T., Hofacker, C. F., & Bloching, B. (2013). Marketing the pinball way: Understanding how social media change the generation of value for consumers and companies. Journal of interactive marketing, 27(4), 237-241.
12.Kietzmann, J. H., Hermkens, K., McCarthy, I. P., & Silvestre, B. S. (2011). Social media? Get serious! Understanding the functional building blocks of social media. Business horizons, 54(3), 241-251.
13.Liu, B. (2012). Sentiment analysis and opinion mining.
14.McAfee, A., Brynjolfsson, E., Davenport, T. H., Patil, D. J., & Barton, D. (2012). Big data. The management revolution. Harvard Bus Rev, 90(10), 61-67.
15.Molnar, C. (2020). Interpretable machine learning. Lulu. com.
16.Pak, A., & Paroubek, P. (2010, May). Twitter as a corpus for sentiment analysis and opinion mining. In LREc (Vol. 10, No. 2010, pp. 1320-1326).
17.Pandey, P. (2022). Emotion dataset for emotion recognition tasks [Data set]. Kaggle. https://kaggle.com/datasets/parulpandey/emotion-dataset
18.Pang, B., & Lee, L. (2008). Opinion mining and sentiment analysis. Now Publishers Inc.
19.Power, D. J. (2002). Decision support systems: concepts and resources for managers. Studies in Informatics and Control, 11(4), 349-350.
20.Ranganathan, J., Hedge, N., Irudayaraj, A. S., & Tzacheva, A. A. (2018, July). Automatic detection of emotions in Twitter data: a scalable decision tree classification method. In Proceedings of the Workshop on Opinion Mining, Summarization and Diversification (pp. 1-10).
21.Rudin, C. (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature machine intelligence, 1(5), 206-215.
22.Sharda, R., Delen, D., & Turban, E. (2018). Business intelligence, analytics, and data science: a managerial perspective. (No Title).
23.Shim, J. P., Warkentin, M., Courtney, J. F., Power, D. J., Sharda, R., & Carlsson, C. (2002). Past, present, and future of decision support technology. Decision support systems, 33(2), 111-126.
24.Swami, S. K., Dhopeshwarkar, M. G., Deshmukh, M. S., Tupsagar, T., & Farhat, N. (2025, August). Emotion Detection in Twitter Text Using MLP: A Deep Learning-Based Sentiment Classification Framework. In 2025 International Conference on Applications of Machine Intelligence and Data Analytics (ICAMIDA) (pp. 1-6). IEEE.
25.Uthirapathy, S. E., & Sandanam, D. (2023). Sentiment analysis in social network data using multilayer perceptron neural network with hill-climbing meta-heuristic optimisation. International Journal of Information and Computer Security, 22(3-4), 277-297.
26.Wamba, S. F., Gunasekaran, A., Akter, S., Ren, S. J. F., Dubey, R., & Childe, S. J. (2017). Big data analytics and firm performance: Effects of dynamic capabilities. Journal of business research, 70, 356-365.
27.Xu, Q. A., Jayne, C., & Chang, V. (2024). An emoji feature-incorporated multi-view deep learning for explainable sentiment classification of social media reviews. Technological Forecasting and Social Change, 202, 123326.



