Data to Diagnosis: Evaluating Machine Learning Algorithms for Predictive Healthcare in Diabetes

Authors

DOI:

https://doi.org/10.21015/vtse.v13i3.2141

Abstract

Diabetes mellitus, a chronic metabolic disease, presents alarming challenges to world health. It is vital to diagnose it early to prevent serious complications. In this research, eight machine learning algorithms—SVM, XGBoost, Naive Bayes, Logistic Regression, Gradient Boosting, KNN, Decision Tree, and Random Forest—are used on a formatted dataset with clinical and demographic attributes. Normalization and categorical encoding were done for preprocessing. Although no class-balancing methods (e.g., SMOTE or weighting) were used or hyperparameter tuning was performed, models were tested with accuracy, precision, recall, F1-score, and confusion matrices. Interestingly, the dataset is very imbalanced (~10% diabetic cases), and thus may influence sensitivity. Ensemble models, particularly Gradient Boosting and XGBoost, reported more than 91% accuracy. In spite of limitations, findings suggest the promise of ML in early prediction of diabetes.

References

R. A. Goodman, S. F. Posner, E. S. Huang, A. K. Parekh, and H. K. Koh, "Defining and measuring chronic conditions: imperatives for research, policy, program, and practice," Preventing Chronic Disease, vol. 10, p. E66, 2013.

R. Casey and P. O'Connell, "Chronic conditions and multimorbidity," The Irish Longitudinal Study on Ageing (TILDA), Dublin, 2017.

World Health Organization, "Multimorbidity: Technical Series on Safer Primary Care," WHO, Geneva, 2016. [Online]. Available: https://apps.who.int/iris/handle/10665/252275

N. Marengoni et al., "Aging with multimorbidity: A systematic review of the literature," Ageing Research Reviews, vol. 10, no. 4, pp. 430–439, 2011.

T. Islam et al., "Frailty and multimorbidity: A systematic review of the literature," Journal of Comorbidity, vol. 4, no. 1, pp. 1–10, 2014.

S. Salive, "Multimorbidity in older adults," Epidemiologic Reviews, vol. 35, no. 1, pp. 75–83, 2013.

K. S. Kharicha et al., "Health risk appraisal in older people 1: are older people living alone an ‘at-risk’ group?" British Journal of General Practice, vol. 55, no. 510, pp. 271–276, 2005.

V. Stineman and M. Streim, "The biopsychosocial model: Its use in teaching the medical care of the elderly," Journal of the American Geriatrics Society, vol. 55, no. 8, pp. 1458–1465, 2007.

A. Bahat and M. Ilhan, "Frailty and aging," Turkish Journal of Geriatrics, vol. 23, no. 1, pp. 9–17, 2020.

C. E. Comas-Herrera et al., "The long-term care COVID-19 situation in England," International Long-Term Care Policy Network, 2020.

A. Halpern et al., “Metabolic syndrome, dyslipidemia, hypertension and type 2 diabetes in youth: from diagnosis to treatment,” Diabetology & Metabolic Syndrome, vol. 2, no. 1, pp. 1–20, 2010.

A. Chaudhury et al., “Clinical review of antidiabetic drugs: implications for type 2 diabetes mellitus management,” Frontiers in Endocrinology, vol. 8, p. 6, 2017.

T. M. Alam et al., “A model for early prediction of diabetes,” Informatics in Medicine Unlocked, vol. 16, p. 100204, 2019.

M. M. Ahsan and Z. Siddique, “Machine learning-based heart disease diagnosis: a systematic literature review,” Artificial Intelligence in Medicine, vol. 128, p. 102289, 2022.

L. Muhammad, E. A. Algehyne, S. S. Usman, A. Ahmad, C. Chakraborty, and I. A. Mohammed, “Supervised machine learning models for prediction of COVID-19 infection using epidemiology dataset,” SN Computer Science, vol. 2, pp. 1–13, 2021.

T. K. Dash, C. Chakraborty, S. Mahapatra, and G. Panda, “Gradient boosting machine and efficient combination of features for speech-based detection of COVID-19,” IEEE Journal of Biomedical and Health Informatics, vol. 26, no. 11, pp. 5364–5371, 2022.

A. Kishor and C. Chakraborty, “Early and accurate prediction of diabetics based on FCBF feature selection and SMOTE,” International Journal of System Assurance Engineering and Management, pp. 1–9, 2021.

Q. Zou, K. Qu, Y. Luo, D. Yin, Y. Ju, and H. Tang, “Predicting diabetes mellitus with machine learning techniques,” Frontiers in Genetics, vol. 9, p. 515, 2018.

P. Chen and C. Pan, “Diabetes classification model based on boosting algorithms,” BMC Bioinformatics, vol. 19, pp. 1–9, 2018.

C. Zhu, C. U. Idemudia, and W. Feng, “Improved logistic regression model for diabetes prediction by integrating PCA and K-means techniques,” Informatics in Medicine Unlocked, vol. 17, p. 100179, 2019.

R. B. Lukmanto, A. Nugroho, and H. Akbar, “Early detection of diabetes mellitus using feature selection and fuzzy support vector machine,” Procedia Computer Science, vol. 157, pp. 46–54, 2019.

J. B. Raja and S. Pandian, “PSO-FCM based data mining model to predict diabetic disease,” Computer Methods and Programs in Biomedicine, vol. 196, p. 105659, 2020.

J. J. Khanam and S. Foo, “A comparison of machine learning algorithms for diabetes prediction,” ICT Express, vol. 7, no. 4, pp. 432–439, 2021.

P. Rajendra and S. Latif, “Prediction of diabetes using logistic regression and ensemble techniques,” Computer Methods and Programs in Biomedicine Update, vol. 1, p. 100032, 2021.

V. Rawat, S. Joshi, S. Gupta, D. P. Singh, and N. Singh, “Machine learning algorithms for early diagnosis of diabetes mellitus: a comparative study,” Materials Today: Proceedings, vol. 56, pp. 502–506, 2022.

H. Zhou, Y. Xin, and S. Li, “A diabetes prediction model based on Boruta feature selection and ensemble learning,” BMC Bioinformatics, vol. 24, no. 1, pp. 1–34, 2023.

S. Harnal, A. Jain et al., “Comparative approach for early diabetes detection with machine learning,” in 2023 International Conference on Emerging Smart Computing and Informatics (ESCI), pp. 1–6, IEEE, 2023.

A. Rashid (ed.), Diabetes Dataset, 1st ed., Mendeley, 2020.

R. K. Gudivaka, R. L. Gudivaka, B. R. Gudivaka, D. K. R. Basani, S. H. Grandhi, and F. Khan, “Diabetic foot ulcer classification assessment employing an improved machine learning algorithm,” Technology and Health Care, vol. 0, no. 0, 2025, doi: 10.1177/09287329241296417.

M. Anjum, R. Saher, and M. N. Saeed, “Optimizing type 2 diabetes management: AI-enhanced time series analysis of continuous glucose monitoring data for personalized dietary intervention,” PeerJ Computer Science, vol. 10, e1971, 2024, doi: 10.7717/peerj-cs.1971.

U. E. Laila, K. Mahboob, A. W. Khan, F. Khan, and T. Taekeun, “An ensemble approach to predict early-stage diabetes risk using machine learning: An empirical study,” Sensors, vol. 22, no. 5247, 2022, doi: 10.3390/s22145247.

iammustafatz, “Diabetes Prediction Dataset,” Kaggle, 2023. [Online]. Available: https://www.kaggle.com/datasets/iammustafatz/diabetes-prediction-dataset

J. Xue, F. Min, and F. Ma, “Research on diabetes prediction method based on machine learning,” in Journal of Physics: Conference Series, vol. 1684, no. 1, p. 012062, IOP Publishing, 2020.

N. Ahmed, R. Ahammed, M. M. Islam, M. A. Uddin, A. Akhter, M. A. Talukder, and B. K. Paul, “Machine learning based diabetes prediction and development of smart web application,” International Journal of Cognitive Computing in Engineering, vol. 2, pp. 229–241, 2021.

B. F. Wee, S. Sivakumar, K. H. Lim, W. K. Wong, and F. H. Juwono, “Diabetes detection based on machine learning and deep learning approaches,” Multimedia Tools and Applications, vol. 83, no. 8, pp. 24153–24185, 2024.

A. E. S. El-Bashbishy and H. M. El-Bakry, “Pediatric diabetes prediction using deep learning,” Scientific Reports, vol. 14, no. 1, p. 4206, 2024

Downloads

Published

2025-07-31

How to Cite

Talpur, M. A., Asiri, M. A., Laila, U., Talpur, S. R., Khaliq, A., & Saeed, M. N. (2025). Data to Diagnosis: Evaluating Machine Learning Algorithms for Predictive Healthcare in Diabetes. VFAST Transactions on Software Engineering, 13(3), 16–28. https://doi.org/10.21015/vtse.v13i3.2141