{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,17]],"date-time":"2026-09-17T06:03:42Z","timestamp":1789625022332,"version":"build-2803163510"},"reference-count":41,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2026,9,17]],"date-time":"2026-09-17T00:00:00Z","timestamp":1789603200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Glob. Women\u2019s Health"],"abstract":"<jats:sec>\n                    <jats:title>Background<\/jats:title>\n                    <jats:p>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.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Methods<\/jats:title>\n                    <jats:p>\n                      The study utilized sociodemographic, clinical and laboratory variables collected at baseline from an ongoing cohort study titled \u201cFuture maternal cardiovascular health after pre-eclampsia in an indigenous African population\u201d. 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                      <jats:italic>n<\/jats:italic>\n                      \u2009=\u2009655). 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.\n                    <\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Results<\/jats:title>\n                    <jats:p>Random Forest achieved the highest discrimination (MCC 0.36, 95% CI 0.25\u20130.47; ROC-AUC 0.74, 95% CI 0.63\u20130.83), followed closely by CatBoost (MCC 0.35, 95% CI 0.18\u20130.46; ROC-AUC 0.71, 95% CI 0.61\u20130.77); confidence intervals for the two ensemble models overlapped substantially. Both outperformed logistic regression (MCC 0.22, 95% CI 0.08\u20130.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.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Conclusion<\/jats:title>\n                    <jats:p>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.<\/jats:p>\n                  <\/jats:sec>","DOI":"10.3389\/fgwh.2026.1803064","type":"journal-article","created":{"date-parts":[[2026,9,17]],"date-time":"2026-09-17T05:31:45Z","timestamp":1789623105000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Factors associated with prior pregnancy loss among multigravid women: a retrospective machine learning analysis from an African population cohort"],"prefix":"10.3389","volume":"7","author":[{"given":"Patricia","family":"Nabisubi","sequence":"first","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]},{"name":"The Infectious Diseases Institute, Makerere University","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Timothy Mwanje","family":"Kintu","sequence":"additional","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]},{"name":"The Infectious Diseases Institute, Makerere University","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mugume Twinamatsiko","family":"Atwine","sequence":"additional","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]},{"name":"The Infectious Diseases Institute, Makerere University","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"James","family":"Bumba","sequence":"additional","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lawrence","family":"Muwonge","sequence":"additional","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]},{"name":"The Infectious Diseases Institute, Makerere University","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Herbert","family":"Agasi","sequence":"additional","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Davis","family":"Kiberu","sequence":"additional","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Julius","family":"Okwir","sequence":"additional","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Fredrick Elishama","family":"Kakembo","sequence":"additional","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Daudi","family":"Jjingo","sequence":"additional","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]},{"name":"The Infectious Diseases Institute, Makerere University","place":["Kampala, Uganda"]},{"name":"Department of Computer Science, College of Computing and Information Sciences, Makerere University","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Annettee","family":"Nakimuli","sequence":"additional","affiliation":[{"name":"Department of Obstetrics and Gynaecology, Makerere University and Mulago National Referral Hospital","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ronald","family":"Galiwango","sequence":"additional","affiliation":[{"name":"The African Center of Excellence in Bioinformatics and Data Intensive Sciences","place":["Kampala, Uganda"]},{"name":"The Infectious Diseases Institute, Makerere University","place":["Kampala, Uganda"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2026,9,17]]},"reference":[{"key":"B1","doi-asserted-by":"publisher","first-page":"e98","DOI":"10.1016\/S2214-109X(15)00275-2","article-title":"National, regional, and worldwide estimates of stillbirth rates in 2015, with trends from 2000: a systematic analysis","volume":"4","author":"Blencowe","year":"2016","journal-title":"Lancet Glob Health"},{"key":"B2","doi-asserted-by":"publisher","first-page":"279","DOI":"10.1186\/s12884-015-0708-8","article-title":"Adverse pregnancy outcomes in rural Uganda (1996\u20132013): trends and associated factors from serial cross sectional surveys","volume":"15","author":"Asiki","year":"2015","journal-title":"BMC Pregnancy Childbirth"},{"key":"B3","doi-asserted-by":"publisher","first-page":"1032212","DOI":"10.3389\/fgwh.2022.1032212","article-title":"Pregnancy loss: consequences for mental health","volume":"3","author":"Cuenca","year":"2023","journal-title":"Front. Glob. Womens Health"},{"key":"B4","doi-asserted-by":"publisher","first-page":"1722","DOI":"10.1097\/MS9.0000000000000610","article-title":"Knowledge of danger signs of pregnancy and health-seeking action among pregnant women: a health facility-based cross-sectional study","volume":"85","author":"Gesese","year":"2023","journal-title":"Ann. Med. Surg."},{"key":"B5","doi-asserted-by":"publisher","first-page":"3597","DOI":"10.1007\/s43032-023-01323-8","article-title":"A novel approach to predicting early pregnancy outcomes dynamically in a prospective cohort using repeated ultrasound and serum biomarkers","volume":"30","author":"Petersen","year":"2023","journal-title":"Res Sq"},{"key":"B6","doi-asserted-by":"publisher","first-page":"105624","DOI":"10.1016\/j.cmpb.2020.105624","article-title":"Machine learning algorithms to predict early pregnancy loss after in vitro fertilization-embryo transfer with fetal heart rate as a strong predictor","volume":"196","author":"Liu","year":"2020","journal-title":"Comput Methods Programs Biomed"},{"key":"B7","doi-asserted-by":"publisher","first-page":"348","DOI":"10.1186\/s12884-022-04594-2","article-title":"Machine learning to predict pregnancy outcomes: a systematic review, synthesizing framework and future research agenda","volume":"22","author":"Islam","year":"2022","journal-title":"BMC Pregnancy Childbirth"},{"key":"B8","doi-asserted-by":"publisher","first-page":"1319","DOI":"10.1111\/1471-0528.18192","article-title":"Postpartum cardiovascular health in African women following pre-eclampsia: a prospective cohort study","volume":"132","author":"Nakimuli","year":"2025","journal-title":"BJOG Int. J. Obstet. Gynaecol."},{"key":"B9","first-page":"1","article-title":"Mice: multivariate imputation by chained equations in R","volume":"45","author":"Van Buuren","year":"2011","journal-title":"J Stat Softw"},{"key":"B10","doi-asserted-by":"publisher","first-page":"5","DOI":"10.1023\/A:1010933404324","article-title":"Random forests","volume":"45","author":"Breiman","year":"2001","journal-title":"Mach Learn"},{"key":"B11","author":"Prokhorenkova","year":"2018"},{"key":"B12","doi-asserted-by":"crossref","DOI":"10.1002\/9781118548387","volume-title":"Applied Logistic Regression","author":"Hosmer","year":"2013"},{"key":"B13","doi-asserted-by":"publisher","first-page":"12","DOI":"10.1016\/j.jclinepi.2019.02.004","article-title":"A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models","volume":"110","author":"Christodoulou","year":"2019","journal-title":"J Clin Epidemiol"},{"key":"B14","doi-asserted-by":"publisher","first-page":"29","DOI":"10.1148\/radiology.143.1.7063747","article-title":"The meaning and use of the area under a receiver operating characteristic (ROC) curve","volume":"143","author":"Hanley","year":"1982","journal-title":"Radiology"},{"key":"B15","doi-asserted-by":"crossref","DOI":"10.1007\/978-1-4899-4541-9","volume-title":"An Introduction to the Bootstrap","author":"Efron","year":"1993"},{"key":"B16","doi-asserted-by":"crossref","first-page":"361","DOI":"10.1002\/(SICI)1097-0258(19960229)15:4<361::AID-SIM168>3.0.CO;2-4","article-title":"Multivariable prognostic models: issues in developing models, evaluating assumptions and adequacy, and measuring and reducing errors","volume":"15","author":"Harrell","year":"1996","journal-title":"Stat Med"},{"key":"B17","first-page":"233","article-title":"The relationship between precision-recall and ROC curves","author":"Davis","year":"2006"},{"key":"B18","doi-asserted-by":"publisher","first-page":"230","DOI":"10.1186\/s12916-019-1466-7","article-title":"Calibration: the achilles heel of predictive analytics","volume":"17","author":"Van Calster","year":"2019","journal-title":"BMC Med"},{"key":"B19","doi-asserted-by":"publisher","first-page":"565","DOI":"10.1177\/0272989X06295361","article-title":"Decision curve analysis: a novel method for evaluating prediction models","volume":"26","author":"Vickers","year":"2006","journal-title":"Med Deciz Making"},{"key":"B20","author":"Lundberg","year":"2017"},{"key":"B21","doi-asserted-by":"publisher","first-page":"1340","DOI":"10.1093\/bioinformatics\/btq134","article-title":"Permutation importance: a corrected feature importance measure","volume":"26","author":"Altmann","year":"2010","journal-title":"Bioinformatics"},{"key":"B22","doi-asserted-by":"publisher","first-page":"886","DOI":"10.1002\/ijgo.70401","article-title":"Effects of maternal education on maternal and perinatal outcomes: an individual participant data meta-analysis of 2 356 402 pregnancies","volume":"172","author":"Bello-\u00c1lvarez","year":"2026","journal-title":"Int J Gynaecol Obstet"},{"key":"B23","doi-asserted-by":"publisher","first-page":"839","DOI":"10.1007\/s10995-018-02704-1","article-title":"Educational attainment and pregnancy outcomes: a Danish register-based study of the influence of childhood social disadvantage on later socioeconomic disparities in induced abortion, spontaneous abortion, stillbirth and preterm delivery","volume":"23","author":"Hegelund","year":"2019","journal-title":"Matern Child Health J"},{"key":"B24","doi-asserted-by":"publisher","first-page":"100030","DOI":"10.1016\/j.gloepi.2020.100030","article-title":"Associated factors of pregnancy loss in two urban slums of Nairobi: a generalized estimation equations approach","volume":"2","author":"Iddi","year":"2020","journal-title":"Glob. Epidemiol."},{"key":"B25","doi-asserted-by":"publisher","first-page":"9","DOI":"10.1080\/19485565.1989.9988716","article-title":"Do gravidity and age affect pregnancy outcome?","volume":"36","author":"Santow","year":"1989","journal-title":"Soc Biol"},{"key":"B26","doi-asserted-by":"publisher","first-page":"30047","DOI":"10.1038\/s41598-024-81197-1","article-title":"Employing machine learning models to predict pregnancy termination among adolescent and young women aged 15\u201324 years in east Africa","volume":"14","author":"Tesfa","year":"2024","journal-title":"Sci Rep"},{"key":"B27","doi-asserted-by":"publisher","first-page":"1456238","DOI":"10.3389\/fgwh.2025.1456238","article-title":"Predicting pregnancy loss and its determinants among reproductive-aged women using supervised machine learning algorithms in Sub-Saharan Africa","volume":"6","author":"Yehuala","year":"2025","journal-title":"Front. Glob. Womens Health"},{"key":"B28","doi-asserted-by":"publisher","first-page":"e0312447","DOI":"10.1371\/journal.pone.0312447","article-title":"Predicting adverse pregnancy outcome in Rwanda using machine learning techniques","volume":"19","author":"Kubahoniyesu","year":"2024","journal-title":"PLoS One"},{"key":"B29","doi-asserted-by":"publisher","first-page":"140","DOI":"10.1016\/j.fertnstert.2024.04.007","article-title":"Predictive models of miscarriage based on data from a preconception cohort study","volume":"122","author":"Yland","year":"2024","journal-title":"Fertil Steril"},{"key":"B30","doi-asserted-by":"publisher","first-page":"5191","DOI":"10.3390\/ijms26115191","article-title":"The construction of a molecular model for the ternary protein Complex of intrinsic coagulation pathway factors provides novel insights for the pathogenesis of cross-reactive material positive coagulation factor mutations","volume":"26","author":"Jiang","year":"2025","journal-title":"Int J Mol Sci"},{"key":"B31","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1186\/s41043-023-00479-y","article-title":"Mother\u2013child dyads of overnutrition and undernutrition in Sub-Saharan Africa","volume":"43","author":"Okyere","year":"2024","journal-title":"J Health Popul Nutr"},{"key":"B32","doi-asserted-by":"publisher","first-page":"e221","DOI":"10.1016\/S2589-7500(20)30065-0","article-title":"Ethical limitations of algorithmic fairness solutions in health care machine learning","volume":"2","author":"McCradden","year":"2020","journal-title":"Lancet Digit. Health"},{"key":"B33","doi-asserted-by":"publisher","DOI":"10.3389\/fphar.2024.1366529","article-title":"Risk prediction model based on machine learning for predicting miscarriage among pregnant patients with immune abnormalities","volume":"15","author":"Wu","year":"2024","journal-title":"Front Pharmacol"},{"key":"B34","doi-asserted-by":"publisher","first-page":"697","DOI":"10.1186\/s12884-022-05025-y","article-title":"Construction of machine learning tools to predict threatened miscarriage in the first trimester based on AEA, progesterone and \u03b2-hCG in China: a multicentre, observational, case-control study","volume":"22","author":"Huang","year":"2022","journal-title":"BMC Pregnancy Childbirth"},{"key":"B35","doi-asserted-by":"publisher","first-page":"l869","DOI":"10.1136\/bmj.l869","article-title":"Role of maternal age and pregnancy history in risk of miscarriage: prospective register based study","volume":"364","author":"Magnus","year":"2019","journal-title":"Br Med J"},{"key":"B36","doi-asserted-by":"publisher","first-page":"650","DOI":"10.1093\/humupd\/dmaa010","article-title":"Advanced paternal age is associated with an increased risk of spontaneous miscarriage: a systematic review and meta-analysis","volume":"26","author":"Du Foss\u00e9","year":"2020","journal-title":"Hum Reprod Update"},{"key":"B37","doi-asserted-by":"publisher","first-page":"e2014031","DOI":"10.4178\/epih\/e2014031","article-title":"Predictors of miscarriage: a matched case-control study","volume":"36","author":"Poorolajal","year":"2014","journal-title":"Epidemiol. Health"},{"key":"B38","doi-asserted-by":"publisher","first-page":"100700","DOI":"10.1016\/j.srhc.2022.100700","article-title":"Socio-demographic associations with pregnancy loss among bakiga and Indigenous batwa women in southwestern Uganda","volume":"32","author":"Patterson","year":"2022","journal-title":"Sex Reprod Healthc"},{"key":"B39","doi-asserted-by":"publisher","first-page":"142","DOI":"10.1186\/s12978-022-01432-8","article-title":"Female education and maternal health care utilization: evidence from Uganda","volume":"19","author":"Amwonya","year":"2022","journal-title":"Reprod. Health"},{"key":"B40","doi-asserted-by":"publisher","first-page":"575","DOI":"10.1016\/j.cjca.2017.12.005","article-title":"Diabetes, hypertension, and cardiovascular disease: clinical insights and vascular mechanisms","volume":"34","author":"Petrie","year":"2018","journal-title":"Can J Cardiol"},{"key":"B41","doi-asserted-by":"publisher","first-page":"113","DOI":"10.1186\/s12911-026-03395-3","article-title":"Machine learning for predictive risk stratification in recurrent miscarriage: a systematic review","volume":"26","author":"Imani","year":"2026","journal-title":"BMC Med Inform Decis Mak"}],"container-title":["Frontiers in Global Women's Health"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fgwh.2026.1803064\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,17]],"date-time":"2026-09-17T05:31:46Z","timestamp":1789623106000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fgwh.2026.1803064\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,9,17]]},"references-count":41,"alternative-id":["10.3389\/fgwh.2026.1803064"],"URL":"https:\/\/doi.org\/10.3389\/fgwh.2026.1803064","relation":{},"ISSN":["2673-5059"],"issn-type":[{"value":"2673-5059","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,9,17]]},"article-number":"1803064"}}