Related Experiment Video
Updated: Sep 9, 2025

A Novel Use of Three-dimensional High-frequency Ultrasonography for Early Pregnancy Characterization in the Mouse
Published on: October 24, 2017
Predicting the risk of threatened abortion using machine learning methods: a comparative study
Zhenning Zhu1, Na Wei1, Junjie Guo2
1The Second Affiliated Hospital of Shaanxi University of Chinese Medicine, Gynecology Department, Xianyang, 712000, China.
Background And Objective:
Threatened abortion, a common pregnancy complication that often leading to abortion, is hard to predict due to its non-specific symptoms and difficulty in differentiating from other early pregnancy bleeding causes. Current diagnostic methods like serial ultrasounds and clinical monitoring are time-consuming and lack timeliness. To fill the gap in using advanced analytics for early detection and risk stratification, this study develops a machine learning (ML) model based on routine blood data to better predict threatened abortion, providing a reference for early detection and intervention.
Methods:
In this study, we collected medical records from January 2022 to March 2024. We analyzed data from 1764 patients with threatened abortion and 1489 healthy controls. Blood test data of all participants were gathered. The Z-score normalization technique was applied to standardize blood routine indicators. This reduced the influence of outliers and noise. During hyperparameter optimization, 'class_weight="balanced"' was set to handle sample imbalance. The screening data was partitioned into a training set of 2928 cases (including the validation set) and a test set of 325 cases at an 8:1:1 ratio. Python was used to facilitate data transformation. Eight different ML algorithms-Logistic Regression (LR), Random Forest (RF), Support Vector Machine (SVM), Gradient Boosting (GBM), Extreme Gradient Boosting (XGB), Deep Neural Network (DNN), Decision Tree (DT) and Naive Bayes (NB)-were used to construct a threatened abortion prediction model. The prediction performances of the ML models were evaluated by calculating the area under the curve (AUC) values. We used the SHapley Additive exPlanation (SHAP) method to explain the models.
Results:
Comparatively, the DNN model showed the highest predictive performance among the eight models, with the highest AUC value of 96.76% and top metrics for accuracy (91.88%), specificity (91.62%), sensitivity (92.11%), and F1 score (92.48%). SHAP analysis identified Red Cell Distribution Width - Standard Deviation (RDW-SD), Platelet Distribution Width (PDW), Mean Platelet Volume (MPV), Red Cell Distribution Width - Coefficient of Variation (RDW-CV), Absolute Basophil Count (BAS#), Platelet Count (PLT), Mean Corpuscular Hemoglobin Concentration (MCHC) and Lymphocyte Percentage (LYM) as the most influential features in predicting threatened abortion, with PDW, RDW-CV, BAS#, PLT, MCHC and LYM positively contributing to the prediction, whereas RDW-SD and MPV had negative contributions.
Conclusions:
Our research on constructing a prediction model for threatened abortion through routine blood tests has revealed the great potential of ML algorithms in detecting threatened abortion. This algorithm is expected to analyse routine blood data to identify at-risk pregnancies at an early stage, significantly improving the early detection of this common pregnancy complication. It will assist healthcare providers in intervening earlier and reducing the incidence of abortion. However, before the model can be translated into routine clinical applications, more extensive validation studies are still needed.
More Related Videos
07:15Machine Learning Algorithms for Early Detection of Bone Metastases in an Experimental Rat Model
Published on: August 16, 2020
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
Related Concept Videos
Steps in Outbreak Investigation
Regression Toward the Mean