ORIGINAL RESEARCH article
Front. Med.
Sec. Precision Medicine
Leakage-Aware, Fusion-Enhanced Machine Learning Pipeline for Diabetes Screening: Integrating Resampling Comparison, Model Fusion, Conformal Prediction, and Calibration Diagnostics
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Abstract
Diabetes mellitus is a globally prevalent chronic metabolic disorder whose timely identification is critical to preventing irreversible end-organ damage. Although machine learning (ML) approaches have shown considerable promise for automated diabetes screening, the field is hampered by methodological deficiencies—notably data leakage during preprocessing and oversampler selection performed outside cross-validation folds—that collectively produce overoptimistic and clinically unreliable performance estimates. We present a rigorously leakage-aware, multi-stage ML pipeline evaluated on a large-scale publicly available synthetic clinical dataset comprising 100,000 records and 15 features (prevalence 8.5%). The pipeline explicitly addresses two categories of leakage: (i) preprocessing leakage, by fitting all transformers exclusively on training data; and (ii) resampling leakage, by performing oversampler comparison entirely within cross-validation folds. Other leakage types (temporal, label, feature) are acknowledged as scope limitations. The pipeline encompasses: (i) stratified three-way splitting into training, calibration, and held-out test partitions; (ii) an in-fold cross-validated comparison of seven resampling strategies against a no-resampling class-weighted baseline, with SMOTETomek selected automatically on cross-validated F1; (iii) training of four base classifiers (Logistic Regression, Random Forest, HistGradientBoosting, LightGBM); (iv) six model-fusion strategies; (v) isotonic probability calibration; (vi) decision curve analysis; and (vii) Mondrian class-conditional split-conformal prediction. Among all models, LightGBM, HistGradientBoosting, and the logarithmic pooling fusion ensemble (Fus-LogPool) achieved statistically equivalent top performance: PR-AUC of 0.8807 (Fus-LogPool), 0.8801 (LightGBM), and 0.8798 (HistGB), with pairwise McNemar tests uniformly non-significant (p > 0.5), indicating that a simple well-tuned single gradient-boosted tree is as effective as fusion on this dataset. Mondrian conformal prediction attained 90.39% empirical coverage (target 90%), with 98.82% singleton predictions and singleton accuracy of 91.46%. Decision curve analysis confirmed net clinical benefit over treat-all and treat-none strategies across clinically relevant risk thresholds (5%–20%). SHAP global explanations identified HbA1c level, blood glucose level, BMI, and age as the dominant risk determinants. Importantly, all findings derive from a synthetic or semi-synthetic dataset without a verified clinical source, and must be validated on prospective real-world cohorts before any clinical application. The fully reproducible pipeline is released as an open-source Kaggle notebook.
Summary
Keywords
Calibration, Conformal Prediction, Decision curve analysis, Diabetes Mellitus, Explainable artificial intelligence, Imbalanced classification, Leakage prevention, machine learning
Received
02 September 2026
Accepted
06 October 2026
Copyright
© 2026 Abrar, Samaddar, Al-Bashayreh, Njie, Sadia, Essadik, Muniasamy, Burkhonova and Mochhoury. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Fahim Abrar
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.