A performance comparison of supervised machine learning models for Covid-19 tweets sentiment analysis

被引:150
作者
Rustam, Furqan [1 ]
Khalid, Madiha [1 ]
Aslam, Waqar [2 ]
Rupapara, Vaibhav [3 ]
Mehmood, Arif [2 ]
Choi, Gyu Sang [4 ]
机构
[1] Khwaja Fareed Univ Engn & Informat Technol, Dept Comp Sci, Rahim Yar Khan, Pakistan
[2] Islamia Univ Bahawalpur, Dept Comp Sci & Informat Technol, Bahawalpur, Punjab, Pakistan
[3] Florida Int Univ, Sch Comp & Informat Sci, Miami, FL 33199 USA
[4] Yeungnam Univ, Dept Informat & Commun Engn, Gyongsan, Gyeongbuk, South Korea
基金
新加坡国家研究基金会;
关键词
CLASSIFICATION;
D O I
10.1371/journal.pone.0245909
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
The spread of Covid-19 has resulted in worldwide health concerns. Social media is increasingly used to share news and opinions about it. A realistic assessment of the situation is necessary to utilize resources optimally and appropriately. In this research, we perform Covid-19 tweets sentiment analysis using a supervised machine learning approach. Identification of Covid-19 sentiments from tweets would allow informed decisions for better handling the current pandemic situation. The used dataset is extracted from Twitter using IDs as provided by the IEEE data port. Tweets are extracted by an in-house built crawler that uses the Tweepy library. The dataset is cleaned using the preprocessing techniques and sentiments are extracted using the TextBlob library. The contribution of this work is the performance evaluation of various machine learning classifiers using our proposed feature set. This set is formed by concatenating the bag-of-words and the term frequency-inverse document frequency. Tweets are classified as positive, neutral, or negative. Performance of classifiers is evaluated on the accuracy, precision, recall, and F-1 score. For completeness, further investigation is made on the dataset using the Long Short-Term Memory (LSTM) architecture of the deep learning model. The results show that Extra Trees Classifiers outperform all other models by achieving a 0.93 accuracy score using our proposed concatenated features set. The LSTM achieves low accuracy as compared to machine learning classifiers. To demonstrate the effectiveness of our proposed feature set, the results are compared with the Vader sentiment analysis technique based on the GloVe feature extraction approach.
引用
收藏
页数:23
相关论文
共 59 条
[1]   Top Concerns of Tweeters During the COVID-19 Pandemic: Infoveillance Study [J].
Abd-Alrazaq, Alaa ;
Alhuwail, Dari ;
Househ, Mowafa ;
Hamdi, Mounir ;
Shah, Zubair .
JOURNAL OF MEDICAL INTERNET RESEARCH, 2020, 22 (04)
[2]  
Abdul-Mageed Muhammad., 2011, P 49 ANN M ASS COMPU, P587
[3]  
[Anonymous], 2020, MEDIUM DOT COM SS LO
[4]  
[Anonymous], 2013, SOCIAL NETWORKS FRAM
[5]   Sentiments and emotions evoked by news headlines of coronavirus disease (COVID-19) outbreak [J].
Aslam, Faheem ;
Awan, Tahir Mumtaz ;
Syed, Jabir Hussain ;
Kashif, Aisha ;
Parveen, Mahwish .
HUMANITIES & SOCIAL SCIENCES COMMUNICATIONS, 2020, 7 (01)
[6]   Sentiment analysis of nationwide lockdown due to COVID 19 outbreak: Evidence from India [J].
Barkur, Gopalkrishna ;
Vibha ;
Kamath, Giridhar B. .
ASIAN JOURNAL OF PSYCHIATRY, 2020, 51
[7]  
Bonta V., 2019, Asian Journal of Computer Science and Technology, V8, P1, DOI 10.51983/ajcst-2019.8.S2.2037
[8]   Sentiment Analysis of COVID-19 tweets by Deep Learning Classifiers-A study to show how popularity is affecting accuracy in social media [J].
Chakraborty, Koyel ;
Bhatia, Surbhi ;
Bhattacharyya, Siddhartha ;
Platos, Jan ;
Bag, Rajib ;
Hassanien, Aboul Ella .
APPLIED SOFT COMPUTING, 2020, 97
[9]   Semantic Pooling for Complex Event Analysis in Untrimmed Videos [J].
Chang, Xiaojun ;
Yu, Yao-Liang ;
Yang, Yi ;
Xing, Eric P. .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2017, 39 (08) :1617-1632
[10]   XGBoost: A Scalable Tree Boosting System [J].
Chen, Tianqi ;
Guestrin, Carlos .
KDD'16: PROCEEDINGS OF THE 22ND ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2016, :785-794