BPG is committed to discovery and dissemination of knowledge
Retrospective Cohort Study
Copyright: ©Author(s) 2026.
World J Diabetes. Sep 15, 2026; 17(9): 123276
Published online Sep 15, 2026. doi: 10.4239/wjd.123276
Table 1 Comparison of previous machine learning studies for gestational diabetes mellitus prediction[17-28]
Ref.
Sample size
Key predictors
Class imbalance
ML algorithms
Best ML performance
ML explainability
External validation
Calibration analysis
Wu et al[17]31811Clinical, biochemical, lipid, thyroid, and obstetric variables; 73-variable model and simplified 7-variable LR modelNot reportedDNN, SVM, KNN, and LRDNN using 73 variables, AUC: 80%; 7-variable LR, AUC: 77%Not reportedNoNo
Xiong et al[18]490Routine blood tests, hepatic and renal function markers, and coagulation markers, particularly PT and aPTTNot reportedSVM and LightGBMSVM using PT and aPTT, sensitivity: 88.3%, specificity: 99.47%, and AUC: 94.2%Not reportedNoNo
Kaya et al[19]97First-visit venous plasma glucose level, maternal BMI, family history of DM, smoking, and obstetric historyNot reportedExtra trees, average blender, LightGBM, XGBoost, LR, and RFXGBoost, AUC: 55.0%, accuracy: 66.7%, sensitivity: 80.0%, and specificity: 50.0% in nulliparous women; AUC: 73.3%, accuracy: 72.7%, sensitivity: 40.0%, and specificity: 100.0% in primiparous womenSHAPNoNo
Li et al[20]7594Forty-five first-trimester features; top predictors included pre-pregnancy BMI and maternal abdominal circumference at pregnancy initiation, and FPG and HbA1c at the end of the first trimesterNot reportedLR, XGBoost, RF, and other ML algorithmsXGBoost, AUC: 75% at pregnancy initiation and 99% at the end of the first trimester in the XHCM cohort; external validation AUC: 83% in the SPNPH cohortFeature importance analysisYesNo
Zorlu et al[21]400Maternal characteristics, BMI, PAPP-A, and free β-hCGNot reportedRF, GradBoost, and LRGradBoost, AUC: 71.5% and accuracy: 71.3%Not reportedNoNo
Ni et al[22]956Common first-trimester clinical and laboratory variables selected by Spearman correlation analysis and Boruta algorithm, including pre-pregnancy BMI, SBP, and HDL-CNot reportedLR, RF, XGBoost, LightGBM, MLP, KNN, and SVMLR, AUC: 78.7% (95%CI: 72.3%-85.0%); RF, AUC: 77.6% (95%CI: 71.1%-84.1%)Not reportedNoYes
Zaky et al[23]138History of high glucose/diabetes, insulin, HOMA-IR, uric acid, cholesterol, urea, PT, NT-proBNP, thyroid markers, and routine blood markersNot reportedRF, GradBoost, AdaBoost, DT, LR, SVM, Gaussian NB, KNN, CatBoost, XGBoost, LightGBM, and stacking ensembleStacking ensemble, accuracy: 88.8%, precision: 87.3%, sensitivity: 92.1%, and F1 score: 89.6%SHAPNoNo
Bigdeli et al[24]106Age, BMI, previous abortion history, FPG, demographic variables, medical history, and clinical findingsSMOTEDT, MLP, KNN, NB, RF, and XGBoostRF, accuracy: 89%, precision: 86%, sensitivity: 92%, and AUC: 94%Not reportedNoNo
Pazaras et al[25]797Maternal demographics, obstetric history, lifestyle factors, and FFQ-derived dietary micronutrient intakeSMOTE, borderline SMOTE, adaptive synthetic sampling, and SMOTE-TomekLR, RF, extra trees, XGBoost, LightGBM, CatBoost, GradBoost, AdaBoost, and MLPLR without resampling, AUC: 66.4% (95%CI: 54.2%-77.7%), sensitivity: 78.3%, and NPV: 93.2%; reduced 9-feature model, AUC: 71.2% (95%CI: 58.9%-82.5%)SHAPNoYes
Prashanthan and Prashanthan[26]10000Synthetic demographic characteristics, clinical risk factors, and first-trimester laboratory parameters including random blood sugar, post-prandial blood sugar, HbA1c, and OGTT valuesSMOTEMultiple ML algorithmsBest model, accuracy: 71.7% and AUC: 76.9%SHAPNoNo
Zhai et al[27]534BMI, SAT, VAT, maternal clinical characteristics, and first-trimester ultrasonographic indicatorsIPWXGBoost, ANN, SVM, MLR, and RFXGBoost with GA-selected features, internal test AUC: 96.2%; external validation AUC: 87.8%, sensitivity: 70.0%, and specificity: 93.5%GA-based feature selection and heatmapsYesNo
Louzoun et al[28]596 twin pregnanciesWBC count, platelet levels, BMI, and previous GDMNot reportedLightGBM, XGBoost, and LRLightGBM, AUC: 72% (95%CI: 69%-75%); detection rates: 28% and 42% at false-positive rates of 10% and 20%, respectivelyNot reportedNoNo
Present study2756Maternal age, MAP, pregestational weight, PAPP-A, and PlGFSMOTE, ROS, and RUSLR, GradBoost, XGBoost, AdaBoost, LightGBM, SVM, RF, and MLPGradBoost + ROS, AUC: 76.8%, sensitivity: 64.7%, specificity: 77.7%, PPV: 28.9%, NPV: 94.0%, and F1 score: 40.0%SHAP and patient-level heatmapsNoYes
Table 2 Baseline characteristics of the study population, n (%)/median (interquartile range)
Variables
GDM (n = 352)
Non-GDM (n = 2404)
P value
Age (years)34.0 (31.0-37.0)33.0 (30.0-35.0)< 0.001a
Pregestational BMI (kg/m2)22.9 (20.7-27.1)21.5 (19.6-23.9)< 0.001a
Previous GDM30 (8.5)19 (0.8)< 0.001a
Previous gestational hypertension2 (0.6)11 (0.5)0.671
Previous preeclampsia5 (1.4)17 (0.7)0.181
Family history of diabetes mellitus30 (8.5)182 (7.6)0.561
Previous macrosomia6 (1.7)7 (0.3)0.004a
PCOS history0 (0)9 (0.4)0.613
IVF48 (13.6)221 (9.2)0.013a
Chronic hypertension11 (3.1)17 (0.7)< 0.001a
Cardiovascular disease4 (1.1)1 (< 0.1)0.001a
Table 3 First-trimester clinical, ultrasound, and biochemical parameters of the study population, median (interquartile range)
Variables
GDM (n = 352)
Non-GDM (n = 2404)
P value
GA at scan (weeks)12.7 (12.4-13.0)12.7 (12.4-13.0)0.277
CRL (mm)66.6 (62.4-70.5)66.6 (62.9-70.4)0.385
NT (mm)1.8 (1.7-2.0)1.8 (1.7-2.0)0.879
MAP (mmHg)84.7 (77.3-93.0)81.7 (75.7-88.0)< 0.001a
PAPP-A (IU/L)5.07 (3.26-6.96)5.80 (4.04-8.11)< 0.001a
PlGF (pg/mL)41.80 (29.66-53.26)43.00 (31.31-57.00)0.049a
Free β-hCG (IU/L)38.60 (25.80-58.80)41.40 (28.60-61.00)0.020a
Uterine artery PI1.60 (1.32-1.97)1.58 (1.31-1.89)0.072
Table 4 Performance metrics of different machine learning models
Sampler
Model
AUC-ROC
Sensitivity
Specificity
PPV
NPV
F1 score
Accuracy
OriginalLogReg0.676 (0.565-0.784)0.1470.9920.7140.8920.2440.888
XGBoost0.720 (0.618-0.808)0.1180.9880.5710.8880.1950.880
AdaBoost0.674 (0.548-0.792)0.1470.9750.4550.8910.2220.873
GradBoost0.731 (0.621-0.832)0.1470.9830.5560.8910.2330.880
LightGBM0.702 (0.600-0.795)0.1180.9880.5710.8880.1950.880
SVM0.703 (0.592-0.808)0.0881.0001.0000.8860.1620.888
RandForest0.713 (0.605-0.813)0.0290.9960.5000.8800.0560.877
MLP0.639 (0.531-0.740)0.1470.9380.2500.8870.1850.841
SMOTELogReg0.675 (0.562-0.787)0.5590.5910.1610.9050.2500.587
XGBoost0.694 (0.588-0.795)0.2350.9790.6150.9010.3400.888
AdaBoost0.674 (0.564-0.783)0.3530.9010.3330.9080.3430.833
GradBoost0.659 (0.553-0.762)0.2060.9710.5000.8970.2920.877
LightGBM0.696 (0.597-0.783)0.0590.9790.2860.8810.0980.866
SVM0.675 (0.564-0.777)0.6180.7110.2310.9300.3360.699
RandForest0.708 (0.611-0.803)0.1470.9830.5560.8910.2330.880
MLP0.632 (0.531-0.736)0.2650.9050.2810.8980.2730.826
ROSLogReg0.677 (0.565-0.789)0.5880.5870.1670.9100.2600.587
XGBoost0.701 (0.605-0.790)0.1760.9260.2500.8890.2070.833
AdaBoost0.715 (0.602-0.819)0.5880.7520.2500.9290.3510.732
GradBoost0.768 (0.679-0.849)0.6470.7770.2890.9400.4000.761
LightGBM0.720 (0.620-0.811)0.2060.9750.5380.8970.2980.880
SVM0.707 (0.591-0.813)0.6180.7230.2390.9310.3440.710
RandForest0.724 (0.618-0.823)0.0880.9960.7500.8860.1580.884
MLP0.610 (0.504-0.723)0.2350.9090.2670.8940.2500.826
RUSLogReg0.680 (0.567-0.789)0.5590.6240.1730.9100.2640.616
XGBoost0.736 (0.642-0.821)0.7060.6400.2160.9390.3310.649
AdaBoost0.662 (0.565-0.761)0.6470.6120.1900.9250.2930.616
GradBoost0.717 (0.614-0.816)0.7060.6280.2110.9380.3240.638
LightGBM0.737 (0.629-0.826)0.7350.5700.1940.9390.3070.591
SVM0.708 (0.594-0.805)0.7060.6070.2020.9360.3140.620
RandForest0.740 (0.640-0.828)0.7060.6160.2050.9370.3180.627
MLP0.643 (0.524-0.753)0.6760.5250.1670.9200.2670.543


Write to the Help Desk