Gated Recurrent Unit (GRU) for Sentiment Classification on Imbalanced Data: The COVID-19 Vaccine Program in Twitter
Abstract— The initial implementation of the COVID-19 vaccination by the Indonesian government sparked mixed reactions from the public, ranging from strong support to fierce opposition. These differing opinions influenced individuals' decisions to either accept or refuse the vaccination program for themselves or their families. Public sentiment, expressed through posts, comments, or status updates, provides valuable insights into vaccine acceptance or rejection. This study conducts sentiment analysis using deep learning techniques, specifically employing the Gated Recurrent Unit (GRU) method on Twitter data. The dataset consists of three sentiment classes: positive, negative, and neutral. The Word2Vec word embedding model was used as input and trained on a COVID-19 vaccination sentiment dataset collected from Twitter. Since the classes in the existing data tweets are imbalanced, some other steps are required to improve the classification. The best-performing model achieved an F1-score of 66% and an accuracy of 69%. This classification model effectively addresses the class imbalance problem, delivering competitive results compared to other methods.
Authors
- Surya Agustian (ORCID: https://orcid.org/0000-0002-9631-8237)
- Musadaq A. Hadi (ORCID: https://orcid.org/0000-0002-3884-495X)
Institutions
- Universitas Islam Negeri Sultan Syarif Kasim Riau (ID)
Publication Details
- Journal
- Matics Jurnal Ilmu Komputer dan Teknologi Informasi (Journal of Computer Science and Information Technology)
- Published
- 2025-03-25
- DOI
- https://doi.org/10.18860/mat.v17i1.27995
- Primary Topic
- Spam and Phishing Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00