Predicting outcomes of expectant and medical management in early pregnancy miscarriage using machine learning to develop and validate multivariable clinical prediction models
File(s) s12884-025-07283-y.pdf (2.59 MB)
Published version
Author(s)
Type
Journal Article
Abstract
Objective
To determine whether readily available patient, ultrasound and treatment outcome data can be used to develop, validate and externally test two machine learning (ML) models for predicting the success of expectant and medical management of miscarriage respectively.
Methods
A retrospective, multi-site study of patients opting for expectant or medical management of miscarriage was undertaken. A total of 1075 patients across two hospital early pregnancy units were eligible for inclusion. Data pre-processing derived 14 features for predictive modelling. A combination of eight linear, Bayesian, neural-net and tree-based machine learning algorithms were applied to ten different feature sets. The area under the receiver operating characteristic curve (AUC) scores were the metrics used to demonstrate the performance of the best performing model and feature selection combination for the training, validation and external data set for expectant and medical management separately.
Results
Parameters were in the majority well matched across training, validation and external test sets. The respective optimum training, validation and external test set AUC scores were as follows in the expectant management cohort: 0.72 (95% CI 0.67,0.77), 0.63 (95% CI 0.53,0.73) and 0.70 (95% CI 0.60,0.79) (Logistic Regression in combination with Least Absolute Shrinkage and Selection Operator (LASSO)). The AUC scores in the medical management cohort were 0.64 (95% CI 0.56,0.72), 0.62 (95% CI 0.45,0.77) and 0.71 (95% CI 0.58,0.83) (Logistic Regression in combination with Recursive Feature Elimination (RFE)).
Conclusions
Performance of our expectant and medical miscarriage management ML models demonstrate consistency across validation and external test sets. These ML methods, validated and externally tested, have the potential to offer personalised prediction outcome of expectant and medical management of miscarriage.
To determine whether readily available patient, ultrasound and treatment outcome data can be used to develop, validate and externally test two machine learning (ML) models for predicting the success of expectant and medical management of miscarriage respectively.
Methods
A retrospective, multi-site study of patients opting for expectant or medical management of miscarriage was undertaken. A total of 1075 patients across two hospital early pregnancy units were eligible for inclusion. Data pre-processing derived 14 features for predictive modelling. A combination of eight linear, Bayesian, neural-net and tree-based machine learning algorithms were applied to ten different feature sets. The area under the receiver operating characteristic curve (AUC) scores were the metrics used to demonstrate the performance of the best performing model and feature selection combination for the training, validation and external data set for expectant and medical management separately.
Results
Parameters were in the majority well matched across training, validation and external test sets. The respective optimum training, validation and external test set AUC scores were as follows in the expectant management cohort: 0.72 (95% CI 0.67,0.77), 0.63 (95% CI 0.53,0.73) and 0.70 (95% CI 0.60,0.79) (Logistic Regression in combination with Least Absolute Shrinkage and Selection Operator (LASSO)). The AUC scores in the medical management cohort were 0.64 (95% CI 0.56,0.72), 0.62 (95% CI 0.45,0.77) and 0.71 (95% CI 0.58,0.83) (Logistic Regression in combination with Recursive Feature Elimination (RFE)).
Conclusions
Performance of our expectant and medical miscarriage management ML models demonstrate consistency across validation and external test sets. These ML methods, validated and externally tested, have the potential to offer personalised prediction outcome of expectant and medical management of miscarriage.
Date Issued
2025-02-28
Date Acceptance
2025-02-04
Citation
BMC Pregnancy and Childbirth, 2025, 25
ISSN
1471-2393
Publisher
BMC
Journal / Book Title
BMC Pregnancy and Childbirth
Volume
25
Copyright Statement
© The Author(s) 2025. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
Identifier
10.1186/s12884-025-07283-y
Subjects
Miscarriage
Expectant management
Medical management
Machine learning
Publication Status
Published
Article Number
225
Date Publish Online
2025-02-28
