Enhanced Twitter Sentiment Classification Using a Grey Wolf and Genetic Algorithm-Based Voting Ensemble

Authors

  • Gaurav Pandey Research Scholar, Department of Computer Science & Information Technology, SHUATS, Uttar Pradesh, India. Author
  • Mohit Paul Assistant Professor, Department of Computer Science & Information Technology, SHUATS, Uttar Pradesh, India. Author
  • Abdul Rub Assistant Professor, Department of Computer Science & Information Technology, SHUATS, Uttar Pradesh, India. Author
  • Lovely Dubey UG Scholar, Department of Computer Science & Information Technology, SHUATS, Uttar Pradesh, India. Author
  • Hasan Alisha Shamsul UG Scholar, Department of Computer Science & Information Technology, SHUATS, Uttar Pradesh, India. Author

DOI:

https://doi.org/10.47392/IRJAEM.2025.0510

Keywords:

Genetic Algorithm, Gray Wolf, Hybrid Optimization, Sentiment Analysis, Voting Classification

Abstract

The exponential growth of social media platforms such as Twitter has led to an immense amount of user-generated data, providing valuable insights into public opinion. Sentiment analysis, a subfield of Natural Language Processing (NLP), helps categorize user sentiments as positive, negative, or neutral. However, traditional approaches often face limitations in accuracy due to inefficient feature extraction and data noise. This study proposes a hybrid optimization-based sentiment classification model that combines the Genetic Algorithm (GA) and Grey Wolf Optimizer (GWO) for efficient feature selection. The extracted features are then classified using a voting ensemble model integrating K-Nearest Neighbor (KNN), Support Vector Machine (SVM), and Decision Tree classifiers. The model is trained and tested on real-time Twitter data collected via the Twitter API, following preprocessing steps such as tokenization, stop-word removal, and lemmatization. Experimental evaluation demonstrates that the proposed hybrid model achieves a classification accuracy of approximately 99%, outperforming existing machine learning models. The results confirm that the integration of GA-GWO optimization with ensemble classification enhances sentiment detection accuracy and robustness in large-scale social media datasets.

Downloads

Download data is not yet available.

Downloads

Published

2025-11-27