Skip to main content
. 2025 Aug 21;13:e72938. doi: 10.2196/72938

Table 3. Comparison of ROC AUCa and average precision for machine learning models predicting GDMb trained on the EHRc data and VALd data, and validated against the VAL data.

Model ROC AUC Average precision Intercept Slope
EHR-GDM VAL-GDM EHR-GDM VAL-GDM EHR-GDM VAL-GDM EHR-GDM VAL-GDM
Logistic regression 0.817 0.817 0.451 0.450 0.093 −0.027 0.984 0.955
Random forest 0.797 0.801 0.418 0.419 −0.747 −0.618 0.553 0.638
XGBooste 0.780 0.782 0.389 0.393 −0.427 −0.507 0.619 0.608
EBMf 0.818 0.816 0.456 0.450 0.078 −0.047 0.975 0.940
a

ROC AUC: area under the receiver operating characteristic curve.

b

GDM: gestational diabetes mellitus.

c

EHR: electronic health record.

d

VAL: validated.

e

XGBoost: Extreme Gradient Boosting.

f

EBM: Explainable Boosting Machine.