Addressing class imbalance in lassa fever epidemic data, using machine learning: a case study with SMOTE and random forest
Class imbalance in epidemiological datasets, particularly for rare outcomes like Lassa Fever fatalities, complicates predictive modeling. This study addresses the issue by employing SMOTE to rebalance the dataset and Random Forest for classification while identifying significant predictors such as age, symptom severity, and residence. SMOTE successfully balanced the dataset (minority class recall improved from 0.60 to 1.00 in Random Forest), mitigating the bias toward majority classes. Without SMOTE, models including Random Forest, XGBoost, and LightGBM achieved high accuracy (> 99%) but demonstrated poor minority recall (?0.75), confirming the challenge of imbalanced data. Post-SMOTE balancing, these models achieved 100% accuracy, precision, recall, and F1-scores across major classes. Notably, the hybrid ensemble model further enhanced outcomes, achieving an F1-score of 0.80 for the rarest class. These results underscore the superiority of SMOTE in improving classification for underrepresented outcomes compared to reliance on Random Forest alone, demonstrating its value in developing equitable predictive tools for outbreak management.
Authors
- Osowomuabe Njama-Abang (ORCID: https://orcid.org/0000-0001-5271-1267)
- Denis Ashishie
- Paul Tawo Bukie
Publication Details
- Journal
- Journal of the Nigerian Society of Physical Sciences
- Published
- 2025-06-08
- DOI
- https://doi.org/10.46481/jnsps.2025.2586
- Citations
- 1
- Primary Topic
- Viral Infections and Outbreaks Research
- Type
- article
- Field-Weighted Citation Impact
- 1.40