A novel ensemble approach for Twitter sentiment classification with ML and LSTM algorithms for real-time tweets analysis

Thotakura Venkata Sai Krishna, Tummalapalli Siva Rama Krishna, Srinivas Kalime, Chinta Venkata Murali Krishna, Sadineni Neelima, Raja Rao PBV

Abstract


Social media sentiment classification was an essential consideration in natural language processing (NLP) for evaluating normal people’s perspectives on a given topic. With Twitter’s massive rise in popularity in recent years, the capacity to extract information about public sentiment from tweets became a major focus. This paper not only analyzed public sentiment through data from Twitter but introduced a novel ensemble approach in the methods employed for Twitter sentiment classification. Real-time tweets on various topics, including “covid,” “crime,” “spam,” “flipkart,” “migraine,” and “airlines,” were extracted and thoroughly examined to gain insight into public opinions. Leveraging the Twitter API for real-time tweet extraction, natural language processing techniques were applied to clean the tweet data. Subsequently, we applied several machine learning (ML) algorithms Naïve Bayes, decision tree (DT), random forest (RF), logistic regression (LGR), and deep learning (DL) algorithms recurrent neural network (RNN), LSTM, and GRU individually. Later, we proposed a novel ensemble of ML and DL algorithms for sentiment classification, with a novel emphasis on ensemble techniques and enhanced the accuracy with a significance compared to individual ML or DL model applied. The experimental results demonstrated that our novel ensemble approach achieved high accuracy when compared to existing work.

Keywords


Social media; Twitter API; Machine learning; NLP; Deep learning; VADER

Full Text:

PDF


DOI: http://doi.org/10.11591/ijeecs.v34.i3.pp1904-1914

Refbacks

  • There are currently no refbacks.


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

Indonesian Journal of Electrical Engineering and Computer Science (IJEECS)
p-ISSN: 2502-4752, e-ISSN: 2502-4760
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).

shopify stats IJEECS visitor statistics