vix.ing · top · new · best · stats · spec

Predicting HIV testing status in pregnant women using balanced machine learning models: Insights from Sierra Leone's demographic health survey

2026/01/01 by Afeez A. Soladoye, David B. Olawade, Oluwakemi Jumoke Bello +3 · 1 voice
Medicine · Computer Science · Health Professions · #HIV/AIDS Research and Interventions #Machine Learning in Healthcare #Artificial Intelligence in Healthcare

paper · doi:10.1016/j.dcit.2026.100078

openalex publication_date 2026/01/01 · openalex created_date 2026/02/25 · openalex updated_date 2026/07/02

Abstract

Preventing vertical HIV transmission requires comprehensive testing programmes for pregnant women, yet coverage gaps persist across Sub-Saharan Africa. In Sierra Leone, approximately one-third of pregnant women remain untested for HIV, creating substantial public health challenges. Conventional predictive models often exhibit bias towards majority classes in imbalanced datasets, hindering accurate identification of untested women who require urgent intervention. This study addresses the critical need for diagnostic prediction models that can reliably identify pregnant women at risk of not being tested for HIV. This study develops and validates diagnostic machine learning prediction models to identify HIV testing patterns among pregnant women in Sierra Leone, emphasising class balance techniques to enhance minority class detection capabilities and improve targeted intervention strategies. We analysed data from 990 pregnant women (aged 15-49) using the 2019 Sierra Leone Demographic and Health Survey. Our preprocessing pipeline included categorical variable encoding, feature normalisation via Min-Max scaling, and implementation of Synthetic Minority Oversampling Technique (SMOTE) for dataset balancing. Model development employed four supervised learning algorithms: Random Forest, XGBoost, Logistic Regression, and K-Nearest Neighbors. Model performance was evaluated using macro-averaged metrics including precision, recall, F1-score, and accuracy, with 70-30 train-test split validation. Imbalanced dataset models demonstrated suboptimal performance with macro F1-scores between 0.46 and 0.57. Following SMOTE implementation, diagnostic performance improved substantially to 0.55-0.72. Random Forest achieved optimal macro F1-score (0.72), representing 56% improvement over standard approaches. Class imbalance mitigation through SMOTE substantially enhances diagnostic prediction model performance for HIV testing status classification, facilitating targeted public health strategies in resource-constrained environments. • Class imbalance severely impaired model performance (F1-scores: 0.46-0.57). • SMOTE balancing dramatically improved predictions (F1-scores: 0.55-0.72). • Random Forest with full features achieved highest performance (F1: 0.72). • Full features outperformed RFE-selected features across all models. • Ensemble models superior to logistic regression for complex datasets.

Citations

Discussions

Related