Sentiment Analysis of Covid-19 Tweets by Supervised Machine Learning Models

Citation

Mohd Nasir, Aina Afrina and Naveen, Palanichamy (2022) Sentiment Analysis of Covid-19 Tweets by Supervised Machine Learning Models. Journal of System and Management Sciences, 12 (6). pp. 50-69. ISSN 1816-6075, 1818-0523

[img] Text
Vol.12.No.06.04.pdf - Published Version
Restricted to Repository staff only

Download (357kB)

Abstract

The COVID-19 virus's transmissibility has sparked intense debate on social media sites, particularly Twitter. As a result, to employ resources efficiently and effectively, a comprehensive assessment of the situation is crucial. Therefore, COVID-19 tweet sentiment analysis is implemented in this research by employing a supervised machine learning (ML) approach. Data is retrieved from Twitter using the Tweepy API, pre-processed using pre-processing techniques, and sentiment extracted and labelled as positive or negative sentiments using the TextBlob library. Three separate feature extraction techniques are used: Bag-ofwords (BoW), Term Frequency-Inverse Document Frequency (TF-IDF) combination with 1-gram, and TF-IDF combination with 2-gram. The sentiment is then analyzed using ML classifiers such as Random Forest (RF) and Support Vector Machine (SVM). For clarity, the dataset is studied further using the deep learning method which is Long Short-Term Memory (LSTM) architecture. The four standard evaluation metrics, Receiver Operating Characteristic (ROC), and Area Under the Curve (AUC) were used to evaluate the performance of the models. The findings show that the RF classifier surpasses all other models with a 0.98 accuracy score when combining 2-gram TF-IDF features. In summary, the model may be used to categorize perspectives and will assist policymakers in making more educated decisions about how to respond to the current pandemic.

Item Type: Article
Uncontrolled Keywords: Supervised machine learning, random forest, support vector machine, feature extraction
Subjects: Q Science > Q Science (General) > Q300-390 Cybernetics
Divisions: Faculty of Computing and Informatics (FCI)
Depositing User: Ms Nurul Iqtiani Ahmad
Date Deposited: 22 Mar 2023 02:31
Last Modified: 22 Mar 2023 02:31
URII: http://shdl.mmu.edu.my/id/eprint/11259

Downloads

Downloads per month over past year

View ItemEdit (login required)