Ruchika Gupta,
N.P. Singh,
- Research Scholar, School of Engineering & Technology, Modern Vidya Niketan University, Haryana, India
- Professor, School of Engineering & Technology, Modern Vidya Niketan University, Haryana, India
Abstract
Analyzing sentiment is crucial for understanding public opinion on various issues in marketing, politics, and social sciences. This study compares the performance of seven different machine learning algorithms for sentiment classification, focusing on their effectiveness, accuracy, and complexity. The research is conducted on a pre-processed dataset with balanced text samples, utilizing feature extraction methods such as Term Frequency-Inverse Document Frequency (TF-IDF). The performance assessment criteria consist of accuracy, precision, recall, F1 score, and overall computational efficiency. Results indicate that Support Vector Machines (SVM) outperform other classifiers, followed by ensemble methods like Gradient Boosting and Random Forest. Recent studies have reinforced the effectiveness of deep learning models in sentiment classification, particularly Convolutional Neural Networks (CNN) and Recurrent Neural Networks (RNN), which have demonstrated higher accuracy compared to traditional methods. Additionally, advancements in hybrid approaches, such as quantum-classical machine learning, have shown promising results, particularly after incorporating dimension reduction techniques. Moreover, recent research has highlighted challenges in deep learning-based sentiment analysis and emphasized future directions, including improvements in text representation and embedding techniques. This study also discusses the implications of model selection and suggests that future research should explore deep learning approaches and hybrid models.
Keywords: Sentiment analysis, machine learning, text classification, natural language processing, sentiment analysis
[This article belongs to Journal of Operating Systems Development & Trends ]
Ruchika Gupta, N.P. Singh. ML Model Comparison for Sentiment Analysis Across Diverse Datasets. Journal of Operating Systems Development & Trends. 2025; 12(02):26-33.
Ruchika Gupta, N.P. Singh. ML Model Comparison for Sentiment Analysis Across Diverse Datasets. Journal of Operating Systems Development & Trends. 2025; 12(02):26-33. Available from: https://journals.stmjournals.com/joosdt/article=2025/view=236536
References
- Bhowmick A, Jana A. Sentiment analysis for Bengali using transformer based models. In Proceedings of the 18th International Conference on Natural Language Processing (ICON). 2021 Dec; 481–486.
- Zhang Y, Wallace B. A survey on deep learning for sentiment analysis. In Proceedings of the IEEE 2017 Conference on Empirical Methods in Natural Language Processing (EMNLP). 2017; 1543–1551.
- Bhavitha BK, Rodrigues AP, Chiplunkar NN. Comparative study of machine learning techniques in sentimental analysis. In 2017 IEEE International conference on inventive communication and computational technologies (ICICCT). 2017 Mar 10; 216–221.
- Chandra Y, Jana A. Sentiment analysis using machine learning and deep learning. In 2020 IEEE 7th international conference on computing for sustainable global development (INDIACom). 2020 Mar 12; 1–4.
- Kim Y. Convolutional neural networks for sentence classification. arXiv preprint arXiv:1408.5882. 2014 Aug 25.
- Wawre SV, Deshmukh SN. Sentiment classification using machine learning techniques. Int J Sci Res. 2016 Apr; 5(4): 819–21.
- Joulin A, Grave E, Bojanowski P, Mikolov T. Bag of tricks for efficient text classification. arXiv preprint arXiv:1607.01759. 2016 Jul 6.
- Kamath CN, Bukhari SS, Dengel A. Comparative study between traditional machine learning and deep learning approaches for text classification. In Proceedings of the ACM Symposium on Document Engineering 2018. 2018 Aug 28; 1–11.
- Xu H, Liu B, Shu L, Yu PS. BERT post-training for review reading comprehension and aspect-based sentiment analysis. arXiv preprint arXiv:1904.02232. 2019 Apr 3.
- Xia R, Zong C, Li S. Ensemble of feature sets and classification algorithms for sentiment classification. Inf Sci. 2011 Mar 15; 181(6): 1138–52.
- Tsai A, Wells WM, Warfield SK, Willsky AS. An EM algorithm for shape classification based on level sets. Med Image Anal. 2005 Oct 1;9(5):491–502.
- Devlin J, Chang MW, Lee K, Toutanova K. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers). 2019 Jun; 4171–4186.
- Liu B. Sentiment analysis and opinion mining. Cham: Springer Nature; 2022 May 31; 168.
- Mikolov T, Sutskever I, Chen K, Corrado GS, Dean J. Distributed representations of words and phrases and their compositionality. Adv Neural Inf Process Syst. 2013; 2: 3111–3116.
- Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, Blondel M, Prettenhofer P, Weiss R, Dubourg V, Vanderplas J. Scikit-learn: Machine learning in Python. J Mach Learn Res. 2011 Nov 1; 12: 2825–30.
- Islam MS, Kabir MN, Ghani NA, Zamli KZ, Zulkifli NS, Rahman MM, Moni MA. Challenges and future in deep learning for sentiment analysis: a comprehensive review and a proposed novel hybrid approach. Artif Intell Rev. 2024 Mar 5; 57(3): 62.
- Tan S, Zhang J. An empirical study of sentiment analysis for Chinese documents. Expert Syst Appl. 2008 May 1; 34(4): 2622–9.
- Bhavitha BK, Rodrigues AP, Chiplunkar NN. Comparative study of machine learning techniques in sentimental analysis. In 2017 IEEE International conference on inventive communication and computational technologies (ICICCT). 2017 Mar 10; 216–221.
- Dang NC, Moreno-García MN, De la Prieta F. Sentiment analysis based on deep learning: A comparative study. Electronics. 2020 Mar 14; 9(3): 483.
- Zhang X, Zhao J, LeCun Y. Character-level convolutional networks for text classification. Adv Neural Inf Process Syst 28. 2015.
- Assiri AS, Nazir S, Velastin SA. Breast tumor classification using an ensemble machine learning method. J Imaging. 2020 May 29; 6(6): 39.
- Minaee S, Kalchbrenner N, Cambria E, Nikzad N, Chenaghlu M, Gao J. Deep learning–based text classification: a comprehensive review. ACM Comput Surv. 2021 Apr 17; 54(3): 1–40.
- Liu H, Chatterjee I, Zhou M, Lu XS, Abusorrah A. Aspect-based sentiment analysis: A survey of deep learning methods. IEEE Trans Comput Soc Syst. 2020 Nov 16; 7(6): 1358–75.
- Aamir M, Lekha J. A Comparative Study of ML and DL Approaches for Twitter Sentiment Classification. In 2024 IEEE International Conference on Electrical Electronics and Computing Technologies (ICEECT). 2024 Aug 29; 1: 1–5.
- Kayed M, Azzam F, Ali H, Ali A. Temporal dynamics of user activities: deep learning strategies and mathematical modeling for long-term and short-term profiling. Sci Rep. 2024 Jun 24; 14(1): 14498.
- Kakarala H, Gogineni AK, Murty TV, Tokala S, Enduri MK, Anamalamudi S. Performance Evaluation of Machine Learning and Neural Network Algorithms for Wine Quality Prediction. In 2023 IEEE 14th International Conference on Computing Communication and Networking Technologies (ICCCNT). 2023 Jul 6; 1–6.
- Kumar MS, Bhagath S, Tharun N, KishoreKumar K, Narendar M. Transformer-Based Sentiment Analysis: A Comparative Study of Machine Learning, Deep Learning, and BERT Models on Amazon Product Reviews. Frontiers in Collaborative Research. 2024 Dec 31; 2(1s): 74–81.
- Tan KL, Lee CP, Lim KM, Anbananthen KS. Sentiment analysis with ensemble hybrid deep learning model. IEEE Access. 2022 Sep 26; 10: 103694–704.
- Taha K, Yoo PD, Yeun C, Taha A. Text classification: A review, empirical, and experimental evaluation. arXiv preprint arXiv:2401.12982. 2024 Jan 11.
- Prusa JD, Khoshgoftaar TM, Dittman DJ. Impact of Feature Selection Techniques for Tweet Sentiment Classification. In FLAIRS. 2015 May 18; 299–304.
- Nguyen H, Veluchamy A, Diop M, Iqbal R. Comparative study of sentiment analysis with product reviews using machine learning and lexicon-based approaches. SMU Data Science Review. 2018; 1(4): 7(22p).
- Pang B, Lee L, Vaithyanathan S. Thumbs up? Sentiment classification using machine learning techniques. arXiv preprint cs/0205070. 2002 May 28.
- George S, Srividhya V. Performance evaluation of sentiment analysis on balanced and imbalanced dataset using ensemble approach. Indian J Sci Technol. 2022 May 10; 15(17): 790–7.

Journal of Operating Systems Development & Trends
| Volume | 12 |
| Issue | 02 |
| Received | 28/06/2025 |
| Accepted | 04/08/2025 |
| Published | 11/08/2025 |
| Publication Time | 44 Days |
Login
PlumX Metrics