Abstract
Background: Machine learning (ML) models for diabetes prediction frequently emphasise accuracy while overlooking calibration and clinical utility. This study compared logistic regression (LR) with ML approaches and laboratory-based with non-laboratory predictor sets. Methods: The Pima Indians Diabetes Database comprising 768 women aged ≥21 years, including 268 (34.9%) with diabetes, was analysed. Five models were evaluated: glucose-only LR, non-laboratory LR, full LR, random forest and gradient boosting. Missing physiologically implausible values were imputed within training folds. Model performance was assessed using repeated 5-fold cross-validation (10 repetitions), discrimination (AUROC), calibration slope, calibration-in-the-large, Brier score and decision curve analysis. SHapley Additive exPlanations (SHAP) assessed predictor contributions. Reporting followed TRIPOD+AI guidelines. Results: Full LR achieved an AUROC of 0.837 (95% CI 0.809–0.864), comparable to random forest (0.838; 95% CI 0.809–0.865) and gradient boosting (0.831; 95% CI 0.800–0.859). Glucose-only and non-laboratory LR achieved AUROCs of 0.790 and 0.749, respectively. LR and random forest demonstrated acceptable calibration (slopes 0.93 and 1.07), whereas gradient boosting showed overextreme predictions (0.69). All models provided greater net benefit than testing all women across thresholds of 0.10–0.60. Plasma glucose and body mass index were the strongest predictors. Conclusions: ML approaches provided no meaningful discrimination advantage over LR. Gradient boosting required recalibration. Non-laboratory prediction may support screening decisions where laboratory access is limited. External validation in diverse populations is essential before clinical implementation.

This publication has 17 references indexed in Scilit: