Open Access iconOpen Access



Deep Learning Based Sentiment Analysis of COVID-19 Tweets via Resampling and Label Analysis

Mamoona Humayun1,*, Danish Javed2, Nz Jhanjhi2, Maram Fahaad Almufareh1, Saleh Naif Almuayqil1

1 Department of Information Systems, College of Computer and Information Sciences, Jouf University, Sakakah, 72311, Saudi Arabia
2 School of Computer Science, SCS, Taylor’s University, Subang Jaya, 47500, Selangor, Malaysia

* Corresponding Author: Mamoona Humayun. Email: email

Computer Systems Science and Engineering 2023, 47(1), 575-591.


Twitter has emerged as a platform that produces new data every day through its users which can be utilized for various purposes. People express their unique ideas and views on multiple topics thus providing vast knowledge. Sentiment analysis is critical from the corporate and political perspectives as it can impact decision-making. Since the proliferation of COVID-19, it has become an important challenge to detect the sentiment of COVID-19-related tweets so that people’s opinions can be tracked. The purpose of this research is to detect the sentiment of people regarding this problem with limited data as it can be challenging considering the various textual characteristics that must be analyzed. Hence, this research presents a deep learning-based model that utilizes the positives of random minority oversampling combined with class label analysis to achieve the best results for sentiment analysis. This research specifically focuses on utilizing class label analysis to deal with the multiclass problem by combining the class labels with a similar overall sentiment. This can be particularly helpful when dealing with smaller datasets. Furthermore, our proposed model integrates various preprocessing steps with random minority oversampling and various deep learning algorithms including standard deep learning and bi-directional deep learning algorithms. This research explores several algorithms and their impact on sentiment analysis tasks and concludes that bidirectional neural networks do not provide any advantage over standard neural networks as standard Neural Networks provide slightly better results than their bidirectional counterparts. The experimental results validate that our model offers excellent results with a validation accuracy of 92.5% and an F1 measure of 0.92.


Cite This Article

M. Humayun, D. Javed, N. Jhanjhi, M. F. Almufareh and S. N. Almuayqil, "Deep learning based sentiment analysis of covid-19 tweets via resampling and label analysis," Computer Systems Science and Engineering, vol. 47, no.1, pp. 575–591, 2023.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 264


  • 171


  • 1


Share Link