Skip to content
Open access

An XGBoost-based predictive framework for diabetes mellitus multi-classification

Aug 2026 · Scientific Reports · Vol 16 · 1 citation · 27 references
Medicine

TL;DR

benchmarking against Logistic Regression, Random Forest, Support Vector Machine, Decision Tree, and K-Nearest Neighbors showed that XGBoost provided the strongest performance, highlighting the effectiveness of XGBoost while emphasizing classification accuracy in multiclass diabetes prediction systems.

Abstract

Diabetes mellitus is a persistent metabolic condition that requires accurate and early diagnosis to prevent severe complications. This paper proposes an Extreme Gradient Boosting (XGBoost)-based predictive framework for multi-classification of diabetes mellitus into non-diabetic, pre-diabetic, and diabetic classes. After standardization and exclusion of non-clinical identifiers, Duplicate clinical records were removed from the original dataset, leaving 826 unique records. Comprehensive preprocessing pipeline used a stratified 70:30 train-test split and five-fold cross-validation; scaling and resampling were performed only within training partitions. Experimental results on the original dataset XGBoost achieved an accuracy of 99.60%. Both Random Over Sampling (ROS) and Syntenic minority over sampling technique (SMOTE) have also achieved 99.60% accuracy but provided improved generalization at the expense of higher computational cost. In contrast, Random Under Sampling (RUS) and Cluster Centroids (CC) reduced accuracy to 92.74% and 90.32%, respectively due to information loss. Across five folds, the original XGBoost model achieved 98.79 ± 1.13% accuracy. Benchmarking against Logistic Regression, Random Forest, Support Vector Machine, Decision Tree, and K-Nearest Neighbors showed that XGBoost provided the strongest performance. These findings highlight the effectiveness of XGBoost while emphasizing classification accuracy in multiclass diabetes prediction systems.

Read PDF

Similar papers

Open access 2026

An Interpretable XGBoost Model for Diabetes Prediction: Nested Cross-Validation, Calibration, and SHAP Analysis

Under a leakage-controlled, unbiased evaluation, XGBoost provided moderate but trustworthy discrimination together with well-calibrated probabilities for diabetes prediction, while SHAP confirmed clinically plausible predictors.

Z. Kucukakcali, I. Cicek · 0 citations
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 Aug 2026

Optimization of Diabetes Mellitus Classification Using the Random Forest and SMOTE-ENN Methods

The Random Forest algorithm, when backed by suitable data preprocessing, is very efficient and could be utilized in clinical decision support systems as an early tool for diabetes screening.

Imam Fadhur Rahman, Egia Rosi Subhiyakto, Cinantya Paramita · 0 citations
Open access Sep 2026

Evaluating the performance of ensemble learning methods in diabetes disease classification

Diabetes mellitus is a widespread metabolic disorder marked by chronic hyperglycemia and severe complications. Early and accurate detection is crucial for effective management and preventing disease progression. This study systematically evaluates the performance of three ensemble learning strategies Bagging, Boostin...

Sajjad Aghasi Javid, Aliasghar Khakpaki · 0 citations
Open access Sep 2026

Optimization of the Decision Tree Algorithm Using SMOTE for the Classification of Diabetes Mellitus Types Based on Clinical Medical Record Data

Diabetes mellitus is a chronic metabolic disorder characterized by elevated blood glucose levels. Accurate early classification of diabetes types is crucial for determining appropriate clinical interventions. However, clinical datasets often suffer from severe class imbalance, leading to model bias toward the majority...

Ia Riham Nurrahma, Nuk Ghuroh Setyoningrum · 0 citations
Open access Sep 2026

Implementation of the Random Forest Algorithm for Website-Based Diabetes Mellitus Risk Prediction

Diabetes mellitus is a chronic health condition that continues to increase worldwide and may lead to various severe complications when early risk identification is not performed. This study addresses the limited implementation of machine learning models in practical web-based applications that can assist users in analy...

M. Ardiansyah, S. Supriyadi · 0 citations

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