Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Detecting the Presence of COVID-19 Vaccination Hesitancy from South African Twitter Data Using Machine Learning

Domain:

healthcarenatural language processing

Record type:

paperdataset
Creator:
PerBhaOgbNia
Host:avatar
Very few social media studies have been done on South African user-generated content during the COVID-19 pandemic and even fewer using hand-labelling over automated methods. Vaccination is a major tool in the fight against the pandemic, but vaccine hesitancy jeopardizes any public health effort. In this study, sentiment analysis on South African tweets related to vaccine hesitancy was performed, with the aim of training AI-mediated classification models and assessing their reliability in categorizing UGC. A dataset of 30000 tweets from South Africa were extracted and hand-labelled into one of three sentiment classes: positive, negative, neutral. The machine learning models used were LSTM, bi-LSTM, SVM, BERT-base-cased and the RoBERTa-base models, whereby their hyperparameters were carefully chosen and tuned using the WandB platform. We used two different approaches when we pre-processed our data for comparison: one was semantics-based, while the other was corpus-based. The pre-processing of the tweets in our dataset was performed using both methods, respectively. All models were found to have low F1-scores within a range of 45$\%$-55$\%$, except for BERT and RoBERTa which both achieved significantly better measures with overall F1-scores of 60$\%$ and 61$\%$, respectively. Topic modelling using an LDA was performed on the miss-classified tweets of the RoBERTa model to gain insight on how to further improve model accuracy.

Visit

arxiv.org

Tasks

sentiment analysistext classification

Tags

Computers and SocietyComputation and LanguageMachine LearningSocial and Information Networks

Similar

A data science analysis of the South African COVID-19 infodemic on TwitterFraming Twitter Public Sentiment on Nigerian Government COVID-19 Palliatives Distribution Using Machine LearningDetecting Academic Fraud at Online Tests During COVID-19 Using Machine Learning-Based MethodsTracing Unemployment Rate of South Africa during the COVID-19 Pandemic Using Twitter Data (Preprint)Nowcasting unemployment rate during the COVID-19 pandemic using Twitter data: The case of South AfricaData_Sheet_1_Nowcasting unemployment rate during the COVID-19 pandemic using Twitter data: The case of South Africa.docx

A data science analysis of the South African COVID-19 infodemic on Twitter

The rapid dissemination of information on Twitter (X), particularly during COVID-19, has exacerbated

Framing Twitter Public Sentiment on Nigerian Government COVID-19 Palliatives Distribution Using Machine Learning

Sustainable development plays a vital role in information and communication technology. In times of

Detecting Academic Fraud at Online Tests During COVID-19 Using Machine Learning-Based Methods

Tracing Unemployment Rate of South Africa during the COVID-19 Pandemic Using Twitter Data (Preprint)

BACKGROUND Global economy has been hardly hit by the COVID-19 pandemic. Ma

Nowcasting unemployment rate during the COVID-19 pandemic using Twitter data: The case of South Africa

The global economy has been hard hit by the COVID-19 pandemic. Many countries are experienc

Data_Sheet_1_Nowcasting unemployment rate during the COVID-19 pandemic using Twitter data: The case of South Africa.docx

The global economy has been hard hit by the COVID-19 pandemic. Many countries are experiencing a