Related Experiment Videos
An XGBoost-based predictive framework for diabetes mellitus multi-classification
Moataz M El Sherbiny1, Mohamed G Abdelfattah2,3, Ali E Takieldeen4
1Department of Electronics and Communication Engineering, Faculty of Engineering, Mansoura University, Mansoura, Egypt. moatazelsherbiny@mans.edu.eg.
Scientific Reports
|August 14, 2026
Summary
This study introduces an Extreme Gradient Boosting (XGBoost) framework for accurate diabetes mellitus prediction. XGBoost achieved 99.60% accuracy in classifying individuals into non-diabetic, pre-diabetic, and diabetic categories.
Area of Science:
- Medical Informatics
- Machine Learning in Healthcare
- Computational Biology
Background:
- Diabetes mellitus is a chronic metabolic disorder requiring early detection to mitigate severe health consequences.
- Accurate multi-class classification (non-diabetic, pre-diabetic, diabetic) is crucial for timely intervention.
- Existing predictive models may lack the precision needed for complex diabetes stratification.
Purpose of the Study:
- To develop and evaluate an Extreme Gradient Boosting (XGBoost)-based predictive framework for multi-class diabetes mellitus prediction.
- To compare the performance of XGBoost against other machine learning algorithms for diabetes classification.
- To assess the impact of different data preprocessing and resampling techniques on predictive accuracy.
Main Methods:
- A dataset of 826 unique clinical records was preprocessed, including standardization and duplicate removal.
- A stratified 70:30 train-test split and five-fold cross-validation were employed.
- Extreme Gradient Boosting (XGBoost) was implemented and benchmarked against Logistic Regression, Random Forest, Support Vector Machine, Decision Tree, and K-Nearest Neighbors.
Main Results:
- The XGBoost model achieved a high accuracy of 99.60% on the original dataset.
- Resampling techniques like Random Over Sampling (ROS) and Synthetic Minority Over-sampling Technique (SMOTE) also yielded 99.60% accuracy, improving generalization but increasing computational cost.
- Under-sampling methods (Random Under Sampling, Cluster Centroids) resulted in lower accuracies (92.74%, 90.32%).
- XGBoost demonstrated superior performance compared to all other benchmarked algorithms, with an average cross-validation accuracy of 98.79% ± 1.13%.
Conclusions:
- The proposed XGBoost framework is highly effective for accurate multi-class diabetes mellitus prediction.
- XGBoost outperforms traditional machine learning algorithms in this classification task.
- The study underscores the importance of robust predictive modeling for early diabetes diagnosis and management.
Related Concept Videos
Classification of Illness
The meaning of illness is individualized to each person who experiences an alteration in health. In contrast, disease is a medical term indicating a pathological change in the structure and function of the body or mind. It is a condition that has specific symptoms and boundaries.
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe and...
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe and...
Diabetes Mellitus: Type 2 and Gestational
Type 2 diabetes, characterized by insulin resistance, arises when the insulin receptors on cells lose responsiveness to insulin, diminishing the cell's capacity to take up glucose, resulting in elevated blood glucose levels. To receive a diagnosis of Type 2 diabetes, a series of blood glucose tests are necessary to assess whether the blood glucose falls within normal parameters. If the result is out of the normal range, a patient may be diagnosed as prediabetic or diabetic, depending on the...
Diabetes Mellitus: Introduction
Diabetes mellitus consists of chronic metabolic disorders characterized by persistent hyperglycemia. This elevated blood glucose results from defects in insulin secretion, impaired insulin action, or both. Insulin, produced by pancreatic β-cells, is essential for maintaining glucose homeostasis by facilitating cellular glucose uptake for energy or storage. Disruptions in insulin production or function lead to glucose accumulation in the bloodstream, causing the clinical features and long-term...
Diabetes Mellitus: Overview and Type I Subtype
Diabetes mellitus is a chronic metabolic disorder characterized by high blood glucose levels due to inadequate insulin production, insulin resistance, or both. The condition affects millions worldwide and can significantly impact their health and quality of life.
Type 1 diabetes is an autoimmune disease in which the immune system mistakenly attacks and destroys the insulin-producing beta cells in the pancreas. As a result, the body is unable to produce sufficient insulin, and individuals with...
Type 1 diabetes is an autoimmune disease in which the immune system mistakenly attacks and destroys the insulin-producing beta cells in the pancreas. As a result, the body is unable to produce sufficient insulin, and individuals with...
Diabetic Nephropathy
Definition Diabetic nephropathy is a chronic kidney complication that results from prolonged hyperglycemia.Prevalence It is the most common cause of chronic kidney disease (CKD) and end-stage renal disease (ESRD) worldwide, affecting up to half of individuals with diabetes.Pathophysiology • Sustained hyperglycemia triggers multiple hemodynamic and metabolic changes in the kidney. • Early in the disease, increased renal blood flow and glomerular hyperfiltration occur due to afferent arteriolar...
Diabetes: Management and Pharmacotherapy
The therapy for diabetes aims to alleviate hyperglycemia-related symptoms, prevent acute metabolic decompensation, and reduce chronic end-organ complications. Glycemic control is evaluated through short-term (self-monitoring, continuous glucose monitoring) and long-term (A1c, fructosamine) metrics, enabling near real-time tracking of blood glucose levels and reflecting glycemic control over specific time frames.
Insulin remains the cornerstone of treatment for most patients with type 1 and many...
Insulin remains the cornerstone of treatment for most patients with type 1 and many...