journal article·2021Open access

Machine Learning Approach for COVID-19 Detection on Twitter

Samina Amin, M. Irfan Uddin, Heyam H. Al-Baity, M. Ali Zeb, M. Abrar Khan

Computers, Materials & Continua· Volume 68· Issue 2

Abstract

Social networking services (SNSs) provide massive data that can be a very influential source of information during pandemic outbreaks. This study shows that social media analysis can be used as a crisis detector (e.g., understanding the sentiment of social media users regarding various pandemic outbreaks). The novel Coronavirus Disease-19 (COVID-19), commonly known as coronavirus, has affected everyone worldwide in 2020. Streaming Twitter data have revealed the status of the COVID-19 outbreak in the most affected regions. This study focuses on identifying COVID-19 patients using tweets without requiring medical records to find the COVID-19 pandemic in Twitter messages (tweets). For this purpose, we propose herein an intelligent model using traditional machine learning-based approaches, such as support vector machine (SVM), logistic regression (LR), naïve Bayes (NB), random forest (RF), and decision tree (DT) with the help of the term frequency inverse document frequency (TF-IDF) to detect the COVID-19 pandemic in Twitter messages. The proposed intelligent traditional machine learning-based model classifies Twitter messages into four categories, namely, confirmed deaths, recovered, and suspected. For the experimental analysis, the tweet data on the COVID-19 pandemic are analyzed to evaluate the results of traditional machine learning approaches. A benchmark dataset for COVID-19 on Twitter messages is developed and can be used for future research studies. The experiments show that the results of the proposed approach are promising in detecting the COVID-19 pandemic in Twitter messages with overall accuracy, precision, recall, and F1 score between 70% and 80% and the confusion matrix for machine learning approaches (i.e., SVM, NB, LR, RF, and DT) with the TF-IDF feature extraction technique.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Misinformation and Its Impacts · COVID-19 diagnosis using AI · Data-Driven Disease Surveillance

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (48)

Show source-provided references
1. Social network analysis of COVID-19 sentiments: Application of artificial intelligence10.2196/22590 ↗
2. Detecting information on the spread of dengue on Twitter using artificial neural networks10.32604/cmc.2021.014733 ↗
3. The impact of social media on panic during the COVID-19 pandemic in Iraqi Kurdistan: Online questionnaire study10.2196/19556 ↗
4. Detecting dengue/flu infections based on tweets using LSTM and word embedding10.1109/ACCESS.2020.3031174 ↗
5. COVID-19 public sentiment insights and machine learning for tweets classification
6. First case of 2019 novel coronavirus in the United States10.1056/NEJMoa2001191 ↗
7. Multiple features based approach for automatic fake news detection on social networks using deep learning10.1016/j.asoc.2020.106983 ↗
8. Advanced machine learning techniques for fake news (online disinformation) detection: A systematic mapping study10.1016/j.asoc.2020.107050 ↗
9. Recurrent neural networks with TF-IDF embedding technique for detection and classification in tweets of dengue disease10.1109/ACCESS.2020.3009058 ↗
10. Social monitoring for public health10.1007/978-3-031-02311-8 ↗
11. Social media mining for public health monitoring and surveillance
12. Sparse vector coding-based multi-carrier NOMA for in-home health networks10.1109/JSAC.2020.3020679 ↗
13. Robust spammer detection using collaborative neural network in internet of thing applications
14. Blockchain-enhanced data sharing with traceable and direct revocation in IIoT10.1109/TII.2021.3049141 ↗
15. Deep learning-based traffic safety solution for a mixture of autonomous and manual vehicles in a 5G-enabled intelligent transportation system
16. Attribute-based encryption with parallel outsourced decryption for edge intelligent IoV10.1109/TVT.2020.3027568 ↗
17. Efficient and privacy-preserving medical research support platform against COVID-19: A blockchain-based approach
18. Support vector machine active learning with applications to text classification
19. Random forest and support vector machine based hybrid approach to sentiment analysis10.1016/j.procs.2018.01.150 ↗
20. An assessment of the effectiveness of a random forest classifier for land-cover classification10.1016/j.isprsjprs.2011.11.002 ↗
21. An introduction to logistic regression analysis and reporting10.1080/00220670209598786 ↗
22. Scalable sentiment classification for big data analysis using naïve bayes classifier
23. Prediction performance of improved decision tree-based algorithms: A review10.1016/j.promfg.2019.06.011 ↗
24. Using TF-IDF to determine word relevance in document queries
25. Glove: Global vectors for word representation
26. Text classification using the n-gram graph representation model over high frequency data streams10.3389/fams.2018.00041 ↗
27. Familial clusters of the 2019 novel coronavirus diseases in Taiwan10.1016/j.tmaid.2020.101813 ↗
28. A systematic review of antibody mediated immunity to coronaviruses: Kinetics, correlates of protection, and association with severity10.1038/s41467-020-18450-4 ↗
29. Potential antiviral options against SARS-CoV-2 infection10.3390/v12060642 ↗
30. Coronavirus goes viral: Quantifying the COVID-19 misinformation epidemic on Twitter
31. L. Singh, S. Bansal, L. Bode, C. Budak, G. Chi et al., “A first look at COVID-19 information and misinformation sharing on Twitter,” arXiv preprint arXiv: 2003.13907, 2020.
32. Machine learning based approaches for detecting COVID-19 using clinical text data10.1007/s41870-020-00495-9 ↗
33. The effects of border control and quarantine measures on the spread of COVID-1910.1016/j.epidem.2020.100397 ↗
34. M. Y. Kabir and S. Madria, “CoronaVis: A real-time COVID-19 tweets data analyzer and data repository,” arXiv: 2004.13932v2, 2020.
35. Social media in times of crisis: Learning from hurricane harvey for the coronavirus disease 2019 pandemic response10.1177/0268396220929258 ↗
36. Multi-criterion intelligent decision support system for COVID-1910.1016/j.asoc.2020.107056 ↗
37. Laboratory data analysis of novel coronavirus (COVID-19) screening in 2510 patients10.1016/j.cca.2020.04.018 ↗
38. “Twitter scraper,” [Online]. Available: https://github.com/taspinar/twitterscraper (Accessed 05 August 2018).
39. “Processing raw text,” [Online]. Available: https://www.nltk.org/book/ch03.html.
40. “NLTK 3.5 documentation,” [Online]. Available: https://www.nltk.org/_modules/nltk/stem/porter.html (Accessed 24 July 2019).
41. Interrater reliability: The kappa statistic10.11613/BM.2012.031 ↗
42. The measurement of interrater agreement
43. Random forests10.1023/A:1010933404324 ↗
44. “Anaconda,” [Online]. Available: https://anaconda.org/.
45. “Scikit-learn,” [Online]. Available: https://scikit-learn.org/stable/.
46. “NumPy,” [Online]. Available: https://numpy.org/.
47. “Keras,” [Online]. Available: https://keras.io/api/layers/initializers/.
48. Evaluation: From precision, recall and f-measure to roc, informedness, markedness & correlation