Twitter Sentiment Analysis Using Machine Learning and Deep Learning Techniques
- 1 Department of Software Engineering, Faculty of Information Technology, The World Islamic Sciences and Education University, Amman, Jordan
- 2 Department of Computer Science, Faculty of Information Technology, The World Islamic Sciences and Education University, Amman, Jordan
Abstract
This research investigates the use of Machine Learning (ML) and Deep Learning, including BiLSTM approaches, for Sentiment Analysis (SA) of consumer reviews on social media sites. Businesses are increasingly depending on online reviews to determine customer satisfaction due to social media's explosive growth. We used three classification models, the assessment of these attitudes uses Naive Bayes (NB), Support Vector Machine (SVM), and a BiLSTM model. Customer reviews categorized as neutral, negative, or positive feelings made up the dataset used for this study, implying that positive reviews are related to satisfied customers. Text cleaning, tokenization, Bert, and TF-IDF feature extraction were among the preprocessing procedures. Our results show that MNB and CNB had accuracy rates of 80.21 and 81.44%, respectively, whereas linear and RBF SVM had slightly higher accuracy rates of 84.28 and 88.64%, respectively. Also, BiLSTM achieves 87.72%. Besides, this research sheds light on unbalanced dataset issues. Therefore, we apply random oversampling to the research dataset. The evaluated outcomes show that sentiment classification and knowledge extraction through machine learning models and deep learning methods yield beneficial insights that enable businesses to understand their customers better.
DOI: https://doi.org/10.3844/jcssp.2025.1785.1794
Copyright: © 2025 Safa Khalid Al Sarayrah, Noor Mahmoud Alkudah and Hesham Yousef Al-kharabsheh. This is an open access article distributed under the terms of the
Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
- 56 Views
- 8 Downloads
- 0 Citations
Download
Keywords
- Sentiment Analysis
- Machine Learning
- Deep Learning
- Techniques