Indonesian Journal of Electrical Engineering and Computer Science
Vol 34, No 3: June 2024

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

Thotakura Venkata Sai Krishna (QIS College of Engineering and Technology (Autonomous))
Tummalapalli Siva Rama Krishna (Jawaharlal Nehru Technological University Kakinada)
Srinivas Kalime (Sreyas Institute of Engineering and Technology)
Chinta Venkata Murali Krishna (NRI Institute of Technology)
Sadineni Neelima (Aditya Engineering College)
Raja Rao PBV (Shri Vishnu Engineering College for Women(A))



Article Info

Publish Date
01 Jun 2024

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.

Copyrights © 2024