Skip to content
Review Open access

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

Jul 2026 · International Journal of Health Engineering and Technology · Vol 5 · 0 citations · 16 references

TL;DR

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.

Abstract

Diabetes Mellitus (DM) is a chronic metabolic disease that continues to increase globally and requires effective early detection to reduce the risk of serious complications. Machine learning has been widely adopted as an approach for predicting diabetes risk; however, most existing models are still black-box in nature, making them difficult to interpret and less useful for clinical decision-making. In addition, the problem of class imbalance in medical datasets often causes models to be biased toward the majority class, reducing their sensitivity in detecting high-risk patients. 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. Class imbalance was addressed using the Synthetic Minority Over-sampling Technique (SMOTE) applied to the training data. Interpretability was analyzed using SHAP (SHapley Additive exPlanations) for global feature importance and LIME (Local Interpretable Model-agnostic Explanations) for local instance-level explanations. The dataset used was the Diabetes Health Indicators Dataset from the BRFSS 2015 survey, publicly available on Kaggle, with a sample of 50,000 records and 22 variables. Evaluation results showed that SVM achieved an accuracy of 84.17%, while Naive Bayes achieved a higher recall of 77.76%, indicating better sensitivity in detecting diabetes cases. SHAP analysis identified GenHlth, HighBP, BMI, HighChol, and Age as the most influential risk factors globally, while LIME provided individual-level explanations. This research contributes a prediction model that is not only accurate but also transparent and clinically interpretable.

Read PDF

Similar papers

Open access Sep 2026

Explainable diabetes prediction using a stacked ensemble framework

A robust and explainable machine learning framework based on a stacked ensemble model that uses Random Forest, Support Vector Machine, and Gradient Boosting as base learners and Catboost as the meta-learner to support more informed and trustworthy decision-making in healthcare applications is presented.

Saher Fatima Awan, Kainat Irfan, Umair Muneer Butt et al. · 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 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 Analysis of Machine Learning Algorithms for the Early Prediction of Diabetes with an Evaluation of Class-Imbalance Handling

The study comes to the conclusion that headline accuracy is an unreliable guide in imbalanced medical prediction, that imbalance handling can change a model's practical usefulness, and that this benefit is strongly algorithm-dependent, meaning that the decision to resample should be based on the algorithm and the scree...

Ayorinde P. Oduroye, Temilade Opanuga, Esther Tosin Akanbi 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.