Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

Forecasting Civil Unrest in South Africa Using Social Media Data: A Hybrid Machine Learning Approach

Domaine:

peace and securitynatural language processing

Type de record:

paper
Créateur:
RejSilKel
Éditeur:
SAG
Hôte:
Civil unrest, encompassing protests and riots, is an increasing global concern, with incidents rising at an alarming rate, a trend that has been observed in South Africa over the years. This issue is particularly pronounced in today’s social media era, where platforms like ‘X’ (formerly Twitter) serve as powerful tools for mobilization. This raises the question: What factors drive civil unrest, and how can machine learning, using social media data, be employed to forecast such events? In response, this study had as objective to develop a hybrid machine learning model to forecast protest and riot events in South Africa using Twitter data. Employing the CRISP-DM methodology, data was collected from Twitter for the period between 2019 and 2024, resulting in 18,487 curated tweets, with associated ground truth data extracted from the ACLED database. Using this data, a hybrid model combining Bidirectional LSTM (Bi-LSTM) networks with eXtreme Gradient Boosting (XGBoost) for classification and regression tasks was developed to forecast civil unrest in South Africa. Additionally, SHapley Additive exPlanations (SHAP) were used for model explainability. The proposed model outperformed the base model, achieving an R-squared value of 33% for protests and 23% for riots in regression, along with classification accuracies of 92% for protests and 86.2% for riots. SHAP results indicated that the key predictors of unrest included sentiment-related features, tweet engagement features, regional factors, the day of the week, public holidays, and the topics being discussed. This study demonstrates the value of a hybrid model in forecasting civil unrest events and identifies key features that stakeholders can use to target their efforts more precisely in addressing civil unrest, ensuring resources are allocated where they are needed most. The study concludes with a discussion of valuable insights for stakeholders on how to leverage social media data to predict and mitigate civil unrest.

Visit

doi.org

Licenses

https://journals.sagepub.com/page/policies/text-and-data-mining-license

Similaires

Measuring Misinformation Trends on Social Media in South Africa using Machine LearningForecasting Municipal Financial Distress in South Africa: A Machine-Learning ApproachAn Improved Hybrid Machine Learning-Based Approach for Depression Detection on Social Media PostsForecasting household energy consumption based on lifestyle data using hybrid machine learningAutomatic classification of social media reports on violent incidents in South Africa using machine learningDetection of Hate Speech Text in Afan Oromo Social Media using Machine Learning Approach

Measuring Misinformation Trends on Social Media in South Africa using Machine Learning

Misinformation, disinformation, malinformation, and/or fake news have gained attention for good and

Forecasting Municipal Financial Distress in South Africa: A Machine-Learning Approach

The study uses a compiled municipality–year panel for South African municipalities co

An Improved Hybrid Machine Learning-Based Approach for Depression Detection on Social Media Posts

Depression is one of the most common diseases these days due to many economic and financial problems

Forecasting household energy consumption based on lifestyle data using hybrid machine learning

Abstract Household lifestyle play a significant role in appliance consumption. The overall effects

Automatic classification of social media reports on violent incidents in South Africa using machine learning

With the growing amount of data available in the digital age, it has become increasingly important t

Detection of Hate Speech Text in Afan Oromo Social Media using Machine Learning Approach