Related Experiment Video
Updated: May 6, 2026

Assessment of Maternal Vascular Remodeling During Pregnancy in the Mouse Uterus
Published on: December 5, 2015
Machine Learning Prediction of Short Cervix in Mid-Pregnancy Based on Multimodal Data from the First-Trimester
Shengyu Wu1, Jiaqi Dong1, Jifan Shi2,3,4
1Department of Obstetrics, Shanghai First Maternity and Infant Hospital, School of Medicine, Tongji University; Shanghai Key Laboratory of Maternal Fetal Medicine, Shanghai Institute of Maternal-Fetal Medicine and Gynecologic Oncology, Shanghai 200092, China.
Background: A short cervix in the second trimester significantly increases preterm birth risk, yet no reliable first-trimester prediction method exists. Current guidelines lack consensus on which women should undergo transvaginal ultrasound (TVUS) screening for cost-effective prevention. Therefore, it is vital to establish a highly accurate and economical method for use in the early stages of pregnancy to predict short cervix in mid-pregnancy. Methods: A total of 1480 pregnant women with singleton pregnancies and at least one risk factor for spontaneous preterm birth (<37 weeks) were recruited from January 2020 to December 2020 at the Shanghai First Maternity and Infant Hospital, Tongji University School of Medicine. Cervical length was assessed at 20-24 weeks of gestation, with a short cervix defined as <25 mm. Feature selection employed tree models, regularization, and recursive feature elimination (RFE). Seven machine learning models (logistic regression, linear discriminant analysis, k-nearest neighbors, support vector machine, decision tree, random forest, XGBoost) were trained to predict mid-trimester short cervix. The XGBoost model-an ensemble method leveraging sequential decision trees-was analyzed using Shapley Additive Explanation (SHAP) values to assess feature importance, revealing consistent associations between clinical predictors and outcomes that align with known clinical patterns. Results: Among 1480 participants, 376 (25.4%) developed mid-trimester short cervix. The XGBoost-based prediction model demonstrated high predictive performance in the training set (Recall = 0.838, F1 score = 0.848), test set (Recall = 0.850, F1 score = 0.910), and an independent dataset collected in January 2025 (Recall = 0.708, F1 score = 0.791), with SHAP analysis revealing pre-pregnancy BMI as the strongest predictor, followed by second-trimester pregnancy loss history, peripheral blood leukocyte count (WBC), and positive vaginal microbiological culture results (≥105 CFU/mL, measured between 11+0 and 13+6 weeks). Conclusions: The XGBoost model accurately predicts mid-trimester short cervix using first-trimester clinical data, providing a 6-week window for targeted interventions before the 20-24-week gestational assessment. This early prediction could help guide timely preventive measures, potentially reducing the risk of spontaneous preterm birth (sPTB).
Background: A short cervix in the second trimester significantly increases preterm birth risk, yet no reliable first-trimester prediction method exists. Current guidelines lack consensus on which women should undergo transvaginal ultrasound (TVUS) screening for cost-effective prevention. Therefore, it is vital to establish a highly accurate and economical method for use in the early stages of pregnancy to predict short cervix in mid-pregnancy. Methods: A total of 1480 pregnant women with singleton pregnancies and at least one risk factor for spontaneous preterm birth (<37 weeks) were recruited from January 2020 to December 2020 at the Shanghai First Maternity and Infant Hospital, Tongji University School of Medicine. Cervical length was assessed at 20-24 weeks of gestation, with a short cervix defined as <25 mm. Feature selection employed tree models, regularization, and recursive feature elimination (RFE). Seven machine learning models (logistic regression, linear discriminant analysis, k-nearest neighbors, support vector machine, decision tree, random forest, XGBoost) were trained to predict mid-trimester short cervix. The XGBoost model-an ensemble method leveraging sequential decision trees-was analyzed using Shapley Additive Explanation (SHAP) values to assess feature importance, revealing consistent associations between clinical predictors and outcomes that align with known clinical patterns. Results: Among 1480 participants, 376 (25.4%) developed mid-trimester short cervix. The XGBoost-based prediction model demonstrated high predictive performance in the training set (Recall = 0.838, F1 score = 0.848), test set (Recall = 0.850, F1 score = 0.910), and an independent dataset collected in January 2025 (Recall = 0.708, F1 score = 0.791), with SHAP analysis revealing pre-pregnancy BMI as the strongest predictor, followed by second-trimester pregnancy loss history, peripheral blood leukocyte count (WBC), and positive vaginal microbiological culture results (≥105 CFU/mL, measured between 11+0 and 13+6 weeks). Conclusions: The XGBoost model accurately predicts mid-trimester short cervix using first-trimester clinical data, providing a 6-week window for targeted interventions before the 20-24-week gestational assessment. This early prediction could help guide timely preventive measures, potentially reducing the risk of spontaneous preterm birth (sPTB).
More Related Videos
07:04A Novel Use of Three-dimensional High-frequency Ultrasonography for Early Pregnancy Characterization in the Mouse
Published on: October 24, 2017
07:31Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Related Concept Videos
Regression Toward the Mean
Steps in Outbreak Investigation