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.
CITATION STYLE
Krishna, T. V. S., Krishna, T. S. R., Kalime, S., Krishna, C. V. M., Neelima, S., & Pbv, R. R. (2024). A novel ensemble approach for Twitter sentiment classification with ML and LSTM algorithms for real-time tweets analysis. Indonesian Journal of Electrical Engineering and Computer Science, 34(3), 1904–1914. https://doi.org/10.11591/ijeecs.v34.i3.pp1904-1914
Mendeley helps you to discover research relevant for your work.