Factors associated with prior pregnancy loss among multigravid women: a retrospective machine learning analysis from an African population cohort.
Patricia Nabisubi, Timothy Mwanje Kintu, Mugume Twinamatsiko Atwine, James Bumba, Lawrence Muwonge, Herbert Agasi, Davis Kiberu, Julius Okwir,
The African Center of Excellence in Bioinformatics and Data Intensive Sciences, Kampala, Uganda. · Department of Obstetrics and Gynaecology, Makerere University and Mulago National Referral Hospital, Kampala, Uganda.
Key points
From the paper's conclusion- A few sociodemographic and obstetric history factors are statistically associated with a documented history of pregnancy loss among multigravid women in this Ugandan cohort. Because the outcome reflects reproductive history rather than the result of an observed pregnancy, these findings should be read as hypothesis-generating groundwork for future prospective, externally validated risk-prediction research rather than as a clinical tool for identifying women at risk of a future miscarriage.
Abstract
BACKGROUND: Pregnancy loss remains a significant challenge in obstetric care, with traditional risk assessment methods, such as clinical history and radiological investigations, often lacking precision in predicting outcomes. This study applied machine learning (ML) to develop a robust model for identifying factors associated with pregnancy loss, with the goal of highlighting candidate predictors for further investigation and validation in future studies in African populations. METHODS: The study utilized sociodemographic, clinical and laboratory variables collected at baseline from an ongoing cohort study titled "Future maternal cardiovascular health after pre-eclampsia in an indigenous African population". A total of 1,017 pregnant women attending Mulago National Referral Hospital in Kampala, Uganda were enrolled between 2019 and 2021. However, the outcome question was not administered to women on their first pregnancy, limiting the modeling population to multigravid women (n = 655). Advanced ML tools in R and Python were employed to process the de-identified data, including rigorous data cleaning, feature selection, and handling of missing values. Several ML classifiers were trained and evaluated using cross-validation techniques and the training-test split approach, with performance assessed using Matthew's Correlation Coefficient (MCC), precision, recall and F1 score. RESULTS: Random Forest achieved the highest discrimination (MCC 0.36, 95% CI 0.25-0.47; ROC-AUC 0.74, 95% CI 0.63-0.83), followed closely by CatBoost (MCC 0.35, 95% CI 0.18-0.46; ROC-AUC 0.71, 95% CI 0.61-0.77); confidence intervals for the two ensemble models overlapped substantially. Both outperformed logistic regression (MCC 0.22, 95% CI 0.08-0.35). Across both tree-based models and both SHAP and permutation-based importance methods, the number of pregnancies carried past seven months, maternal age, and maternal education ranked as the leading correlates. Subgroup analysis showed broadly consistent discrimination across reliable age, education, and maternal tribe. CONCLUSION: A few sociodemographic and obstetric history factors are statistically associated with a documented history of pregnancy loss among multigravid women in this Ugandan cohort. Because the outcome reflects reproductive history rather than the result of an observed pregnancy, these findings should be read as hypothesis-generating groundwork for future prospective, externally validated risk-prediction research rather than as a clinical tool for identifying women at risk of a future miscarriage.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Predicting adverse maternal outcomes using antenatal and peripartum predictors: A multicenter machine learning study in low- and middle-income countriesPublic Health · 2026
- Machine learning to predict adverse perinatal outcomes: a systematic review and meta-analysis.EClinicalMedicine · 2026
- Machine learning approaches to predict maternal anemia and Identifying associated factors among pregnant women in Sub-Saharan Africa.Journal of public health research · 2026
- Development and validation of a postpartum hemorrhage risk prediction model for advanced maternal age women undergoing vaginal delivery: a comparison of multiple machine learning algorithms.Frontiers in medicine · 2026
- Predicting Risky Behavior Among Pregnant Women in Eastern African countries using Pooled Demographic and Health Survey (DHS) Data: An Explainable Machine Learning Approach.BMC pregnancy and childbirth · 2026
- Machine learning for early prediction of preterm birth.BMC pregnancy and childbirth · 2026