Prediction of adverse pregnancy outcomes using machine learning techniques: evidence from analysis of electronic medical records data in Rwanda
Top Cited Papers
Open Access
- 12 February 2025
- journal article
- research article
- Published by Springer Nature in BMC Medical Informatics and Decision Making
- Vol. 25 (1) , 1-13
Abstract
Despite substantial progress in maternal and neonatal health, Rwanda’s mortality rates remain high, necessitating innovative approaches to meet health related Sustainable Development Goals (SDGs). By leveraging data collected from Electronic Medical Records, this study explores the application of machine learning models to predict adverse pregnancy outcomes, thereby improving risk assessment and enhancing care delivery. This study utilized retrospective cohort data from the electronic medical record (EMR) system of 25 hospitals in Rwanda from 2020 to 2023. The independent variables included socioeconomic status, health status, reproductive health, and pregnancy-related factors. The outcome variable was a binary composite feature that combined adverse pregnancy outcomes in both the mother and the newborn. Extensive data cleaning was performed, with missing values addressed through various strategies, including the exclusion of variables and instances, imputation techniques using K-Nearest Neighbors and Multiple Imputation by Chained Equations. Data imbalance was managed using a synthetic minority oversampling technique. Six machine learning models—Logistic Regression, Decision Trees, Support Vector Machine, Gradient Boosting, Random Forest, and Multilayer Perceptron—were trained using 10-fold cross-validation and evaluated on an unseen dataset with–70 − 30 training and evaluation splits. Data from 117,069 women across 25 hospitals in Rwanda were analyzed, leading to a final dataset of 32,783 women after removing entries with significant missing values. Among these women, 5,424 (16.5%) experienced adverse pregnancy outcomes. Random Forest and Gradient Boosting Classifiers demonstrated high accuracy and precision. After hyperparameter tuning, the Random Forest model achieved an accuracy of 90.6% and an ROC-AUC score of 0.85, underscoring its effectiveness in predicting adverse outcomes. However, a recall rate of 46.5% suggests challenges in detecting all the adverse cases. Key predictors of adverse outcomes identified in this study included gestational age, number of pregnancies, antenatal care visits, maternal age, vital signs, and delivery methods. This study recommends enhancing EMR data quality, integrating machine learning into routine practice, and conducting further research to refine predictive models and address evolving pregnancy outcomes. In addition, this study recommends the design of AI-based interventions for high-risk pregnancies. Not applicable.Keywords
This publication has 44 references indexed in Scilit:
- Prediction of gestational diabetes using deep learning and Bayesian optimization and traditional machine learning techniquesMedical & Biological Engineering & Computing, 2023
- Development of early prediction model for pregnancy-associated hypertension with graph-based semi-supervised learningScientific Reports, 2022
- Prediction of the mode of delivery using artificial intelligence algorithmsComputer Methods and Programs in Biomedicine, 2022
- Global, regional, and national trends in under-5 mortality between 1990 and 2019 with scenario-based projections until 2030: a systematic analysis by the UN Inter-agency Group for Child Mortality EstimationThe Lancet Global Health, 2022
- Prediction of obstetrical and fetal complications using automated electronic health record dataAmerican Journal of Obstetrics and Gynecology, 2021
- Artificial intelligence-assisted prediction of preeclampsia: Development and external validation of a nationwide health insurance dataset of the BPJS Kesehatan in IndonesiaEBioMedicine, 2020
- A Comprehensive Analysis of Synthetic Minority Oversampling Technique (SMOTE) for handling class imbalanceInformation Sciences, 2019
- Spatio-temporal disparities in maternal health service utilization in Rwanda: What next for SDGs?Social Science & Medicine, 2019
- Learning from Success: How Rwanda Achieved the Millennium Development Goals for HealthWorld Development, 2017
- Mutual health insurance in Rwanda: Evidence on access to care and financial risk protectionHealth Policy, 2011