Retrospective study evaluates machine learning models for classifying glycemic status using routine laboratory tests, indicating fasting glucose drives most predictive accuracy.
Early identification of individuals with abnormal glucose metabolism is essential for timely intervention and prevention of diabetes-related complications. Routine laboratory testing generates large amounts of clinical data that may support automated glycemic classification through machine learning approaches. This study aimed to develop and evaluate a machine learning framework for the classification of HbA1c-defined glycemic status using routinely available clinical laboratory features. A retrospective dataset of 1434 individuals with available glycemic measurements was analyzed. Participants were categorized into HbA1c-defined normoglycemic, prediabetic-range, or diabetic-range groups. Three concurrent classification tasks were examined: HbA1c-defined dysglycemia classification, diabetic-range HbA1c classification, and multiclass HbA1c-defined glycemic-status classification. Demographic, biochemical, and hematological variables were used as predictors. Data preprocessing included missing-value handling, feature filtering, and outlier treatment. Several supervised learning algorithms were evaluated, including Logistic Regression, Random Forest, Gradient Boosting, Support Vector Machine, and Multinomial Logistic Regression. Model performance was assessed using train–test validation and cross-validation with accuracy, precision, recall, F1-score, and area under the receiver operating characteristic curve. For dysglycemia, Gradient Boosting achieved the highest AUC (0.848), while Random Forest achieved the highest accuracy (0.801) and sensitivity (0.908). For diabetic-range HbA1c, Random Forest achieved the highest AUC (0.864), whereas SVM achieved the highest accuracy (0.794). In multiclass classification, Random Forest achieved the highest accuracy (0.610), while Gradient Boosting achieved the highest macro-AUC (0.796) and macro-F1 score (0.603). Pairwise comparisons showed no statistically significant superiority of any classifier after Holm correction. Clinical-baseline and ablation analyses demonstrated that fasting glucose accounted for a substantial proportion of discrimination, with only modest incremental value from additional laboratory variables. These findings support cautious interpretation of routine laboratory-based classification models pending further validation and clinical-utility assessment.
No takes yet. Share an insight, caveat, or question.
Ginoudis et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: