Skip to content
Open access

Evaluation and Comparison of Machine Learning Methods for Type 2 Diabetes Classification and Associated Factors

Jul 2026 · Healthcare Informatics Research · Vol 32, pp. 214 - 223 · 0 citations · 12 references
Medicine

TL;DR

XGBoost was the most effective algorithm for identifying individuals with T2DM and provided insights into the relative importance of clinical features, supporting more precise classification, however, results should be interpreted with caution until validated in independent cohorts.

Abstract

Objectives Type 2 diabetes mellitus (T2DM) is a prevalent chronic metabolic disorder associated with serious complications, including nephropathy, cardiovascular disease, retinopathy, and neuropathy. Given its increasing incidence and the complexity of associated factors—such as obesity, metabolic syndrome, and sedentary lifestyle—accurate identification is essential. This study aimed to evaluate and compare the performance of several machine learning algorithms to identify key associated factors and detect individuals with T2DM within this dataset. Methods A publicly available dataset from Kaggle, comprising health records of 99,982 individuals, was used. Five supervised machine learning models were evaluated: Bayesian ridge regression, logistic regression, extreme gradient boosting (XGBoost), artificial neural networks, and random forest. Each model was trained and evaluated to assess classification performance. Performance was measured using the area under the receiver operating characteristic curve (AUC–ROC) and accuracy. SHapley Additive Explanations (SHAP) values were used to interpret model outputs and identify the most influential features. Results Among the five models, XGBoost demonstrated the highest performance, achieving an accuracy of 96% and an AUC–ROC of 0.98. SHAP analysis identified hemoglobin A1c, blood glucose, age, body mass index, and sex as the most influential predictors of T2DM. Conclusion: XGBoost was the most effective algorithm for identifying individuals with T2DM in this dataset. It also provided insights into the relative importance of clinical features, supporting more precise classification. However, results should be interpreted with caution until validated in independent cohorts.

Read PDF

Similar papers

Open access Aug 2026

A Comparative Evaluation of Machine Learning Algorithms for Diabetes Risk Prediction

Evaluated machine learning algorithms for predicting diabetes risk from routinely available clinical and lifestyle variables confirm that ensemble tree-based methods, particularly Random Forest, provide a reliable, interpretable, and deployable basis for diabetes risk screening, especially in resource-constrained setti...

T. Olayinka · 0 citations
Open access 2026

A Comparative Evaluation of Various Machine Learning Techniques for Prediction of Type 2 Diabetes Mellitus

This research uses Machine Learning algorithms to evaluate the likelihood of Type 2 Diabetes Mellitus (T2DM) using lifestyle and family history data and presents a performance assessment of seven ML classifiers, showing that SVM achieved the highest accuracy and AUC, while LR, RF, and XGBoost also performed competitive...

Rizwan Akhtar, Muhammad Kalamuddin Ahamad · 0 citations
Review Open access Jul 2026

A Comparative Evaluation of Three-Class Diabetes Classification Using Machine Learning Algorithms

Random Forest provided the best overall performance for three-class diabetes classification in this analytical sample, however, modest agreement, low prediabetes sensitivity, potential label leakage from fasting glucose, and the absence of external validation indicate that further evaluation is required before clinical...

Ayeni Taiwo Michael, Odukoya Ayooluwa, Ilesanmi Opeyemi · 0 citations
Open access Jul 2026

Predictive modeling of early diabetes diagnosis: An evaluation of XGBoost, support vector machine, and random forest classifiers

It is recommended that healthcare systems adopt XGBoost-based predictive models in clinical decision support tools for early screening, while future studies should validate these models using real-world clinical data to enhance reliability and generalizability.

Idehen Emmanuel Imafidon, Chikere Obinna Munachiso, Dominic Evans Onyebuchi et al. · 0 citations
Open access Jul 2026

Analysis of the Accuracy of Machine Learning Models Using the Confusion Matrix Method for the Naive Bayes and CatBoost Algorithms in Diagnosing Diabetes

Diabetes is a chronic metabolic disease characterized by high blood glucose levels that can lead to severe complications affecting various organs. The increasing prevalence of diabetes requires an accurate and efficient diagnostic approach to support early detection and medical decision-making. The development of machi...

Basyach Aryodito Tranggono Heryanto, Onny Marleen · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.