Skip to content
Open access

A comparative and interpretable machine learning framework for reliable diabetes risk prediction.

Jul 2026 · Scientific Reports · 0 citations
Medicine

TL;DR

It is indicated that a rigorously conducted methodology and interpretability in machine learning development are crucial in creating machine learning solutions in healthcare decision support, which is the pathway to real applications in diabetes risk assessment.

Abstract

Diabetes mellitus is a common type of metabolic illness that is very common worldwide, and in most cases, it results in serious effects like heart disease, kidney disease, and blindness. Proper and early diagnosis of diabetes is essential to intervene on time and have better patient outcomes. Machine learning (ML) paradigms provide effective predictive modeling solutions to healthcare, but most of the current literature is limited due to imbalanced datasets, using a single training test split, and limited model interpretability, which diminish their clinical usability. This research paper has introduced a powerful and explainable ML model to predict diabetes based on the Pima Indians Diabetes Dataset acquired via Kaggle, which contains 768 patients with eight clinical variables and a binary response. To counter the class imbalance, the Synthetic Minority Over-sampling Technique (SMOTE) is used to create natural synthetic samples of the minority diabetic group that facilitate balanced learning without degrading the correlations between the features. Four classifiers, including Logistic Regression, Naive Bayes, AdaBoost, and XG Boost, are trained and tested. The stratified 10-fold cross-validation is used to provide a stable and generalizable model performance, as opposed to using only one data split. The measurement criteria are accuracy, precision, recall, and F1-score, especially for the minority diabetic class. The interpretation of the model is improved by the use of logistic regression coefficients and SHAP (SHapley Additive exPlanations) values, as they allow transparent identification of clinical features that are critical to making predictions. The results of the experiment show that the suggested framework attains an overall accuracy of approximately 94% on an unseen test set, with strong precision and recall of the minority class, thus proving that the combination of class balancing, cross-validation, and explainable ML results in the outcomes of reliable and clinically credible predictions. All performance results are evaluated on an untouched original test set, while SMOTE is applied strictly within cross-validation folds to prevent data leakage. Unlike many existing studies, the proposed framework ensures leakage-free validation, robust cross-validation, and integrated interpretability for clinically meaningful prediction. Although synthetic sampling improves minority class learning, the model is evaluated carefully to ensure generalization on real-world data. This paper indicates that a rigorously conducted methodology and interpretability in machine learning development are crucial in creating machine learning solutions in healthcare decision support, which is the pathway to real applications in diabetes risk assessment.

Read PDF

Similar papers

Diabetes Prediction Using Machine Learning Model: A comparative Approach

Six supervised learning models were developed and compared for diabetes prediction using a dataset and compared for diabetes prediction using a 100k patients records with eight clinical features including gender, age, hypertension, smoking history, heart disease, BMI, HbA1c level, and blood glucose level.

Akshay Bhardwaj, Rajesh Chauhan, Devansh Khajuria · 0 citations
Open access Jul 2026

An interpretable machine learning framework for early-stage diabetes mellitus prediction using comparative classification models and SHAP

A machine learning-based framework enhanced with explainability is introduced, built around a structured data preparation process that handles categorical encoding, numerical scaling, and minority class oversampling through the SMOTE technique, positioning it as a trustworthy tool for assisting medical professionals in...

N. J, Deekshitha U, K. V · 0 citations
Review Open access Jul 2026

Explainable AI-Based Diabetes Mellitus Risk Prediction Using Naive Bayes and Support Vector Machine

This study aims to develop and compare diabetes risk prediction models using the Naive Bayes and Support Vector Machine (SVM) algorithms with an Explainable Artificial Intelligence (XAI) approach and contributes a prediction model that is not only accurate but also transparent and clinically interpretable.

Putu Hawariyah, Sudin Saepudin, Gina Syabani Yuda · 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 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
Open access Jul 2026

A data-driven machine learning model for effective diabetes diagnosis

The proposed model is intended to serve as a decision-support system for screening and classification tool using routine clinical data to facilitate early diagnosis and treatment planning and investigate the ability to differentiate between types of diabetes through machine learning approach.

T. Shobha, S. Pradeep, Seema Patil et al. · 0 citations

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