Application of the random forest algorithm to predict skilled birth attendance and identify determinants among reproductive-age women in 27 Sub-Saharan African countries; machine learning analysis
- PMID: 40050868
- PMCID: PMC11887244
- DOI: 10.1186/s12889-025-22007-9
Application of the random forest algorithm to predict skilled birth attendance and identify determinants among reproductive-age women in 27 Sub-Saharan African countries; machine learning analysis
Abstract
Introduction: Maternal mortality refers to a mother's death owing to complications arising from childbirth or pregnancy. This issue is a forefront public health challenge around the globe which is pronounced in low- and middle-income countries, particularly in the sub-Saharan African regions where the burdens remain significantly high. Moreover, this problem is further complicated in developing countries due to limited access to antenatal care and the shortage of skilled birth attendants. So far, considerable improvements in the health status of many populations have been reported in developing countries. Nonetheless, the MDGs to reduce maternal and newborn mortality unmet in many SSA nations. Leveraging machine learning approaches allows us to better understand these constraints and predict skilled birth attendance among reproductive age women, providing actionable insights for policy and intervention.
Objective: This study aimed to predict skill birth attendance and identify its determinants among reproductive age women in 27 SSA countries using machine learning algorithm.
Methods: Using data from the Demographic and Health Surveys (2016-2024) across 27 SSA countries, we analyzed responses from 198,707 reproductive age women. The Random Forest classifier, complemented by SHAP for feature interpretability, was employed for prediction and analysis. Data preprocessing included K-nearest neighbor imputation for missing values, SMOTE for handling class imbalance, and Recursive Feature Elimination for feature selection. Model performance was evaluated using metrics such as accuracy, recall, F1 score, and AUC-ROC.
Results: The Random Forest model demonstrated robust performance, achieving an AUC-ROC of 92%, recall of 96%, accuracy of 92%, precision of 93 and F1 score of 93%. The SHAP analysis identifies key predictors of skilled birth attendance, including facility delivery, maternal education, higher wealth index, urban residence, reduced distance to healthcare facilities, media exposure, and internet use.
Conclusion and recommendations: The findings highlight the potential of machine learning to identify critical predictors of skilled birth attendance to inform targeted interventions. Addressing socioeconomic and educational disparities, enhancing healthcare access, and implementing tailored cessation programs are crucial to enhance skilled birth attendance in this vulnerable population.
Keywords: Machine learning; Prediction; SHAP; Skilled birth attendance; Sub-Saharan Africa.
© 2025. The Author(s).
Conflict of interest statement
Declarations. Ethics approval and consent to participate: This study used secondary data analysis, hence no direct participation from individuals was required. A consent letter for data access was obtained from a major health and demographic survey via a web-based request submitted to http://www.dhsprogram.com . This study used exclusively de-identified information, ensuring full compliance with ethical standards for participant privacy and confidentiality. Consent for publication: Not applicable. Competing interests: The authors declare no competing interests.
Figures








Similar articles
-
Random forest algorithm for predicting tobacco use and identifying determinants among pregnant women in 26 sub-Saharan African countries: a 2024 analysis.BMC Public Health. 2025 Apr 23;25(1):1506. doi: 10.1186/s12889-025-22794-1. BMC Public Health. 2025. PMID: 40269837 Free PMC article.
-
Predicting adverse birth outcome among childbearing women in Sub-Saharan Africa: employing innovative machine learning techniques.BMC Public Health. 2024 Jul 29;24(1):2029. doi: 10.1186/s12889-024-19566-8. BMC Public Health. 2024. PMID: 39075434 Free PMC article.
-
Exploring machine learning algorithms to predict short birth intervals and identify its determinants among reproductive-age women in East Africa.BMC Pregnancy Childbirth. 2025 May 9;25(1):551. doi: 10.1186/s12884-025-07668-z. BMC Pregnancy Childbirth. 2025. PMID: 40346482 Free PMC article.
-
Predicting home delivery and identifying its determinants among women aged 15-49 years in sub-Saharan African countries using a Demographic and Health Surveys 2016-2023: a machine learning algorithm.BMC Public Health. 2025 Jan 24;25(1):302. doi: 10.1186/s12889-025-21334-1. BMC Public Health. 2025. PMID: 39856651 Free PMC article.
-
Interventions to improve skilled birth attendance in sub-Saharan Africa. What has been done, and what has worked? A narrative synthesis.Midwifery. 2025 Aug;147:104426. doi: 10.1016/j.midw.2025.104426. Epub 2025 Apr 18. Midwifery. 2025. PMID: 40273804 Review.
References
-
- WHO Recommendations on Antenatal Care for a Positive Pregnancy Experience: World Health Organization CTI - WHO Guidelines Approved by the Guidelines Review Committee. 2016 [Available from: https://www.ncbi.nlm.nih.gov/books/NBK409108/ - PubMed
-
- Testing Approaches for Increasing Skilled Care During Childbirth. Key Findings from Homabay and Migori Districts, Kenya2007.
MeSH terms
LinkOut - more resources
Full Text Sources
Research Materials