Research Article

Design of a Multi-Model Diabetes Risk Prediction System for Clinical Application

Xuyang Li*
College of Science, Mathematics and Technology, Wenzhou-Kean University, Wenzhou, China

* Corresponding author: [email protected]

Abstract

Early diabetes prediction is significant for reducing the medical burden. This study aims to build a high-precision diabetes prediction model using machine learning methods to provide a reliable tool for clinical screening. Based on the Kaggle diabetes prediction dataset, which contains 100,000 patient records, four algorithms of random forest (RF), logistic regression (LR), support vector machine (SVM), and decision tree (DT) were used in this study. It adopted feature engineering such as gender coding, smoking history processing, and model optimization like default parameter comparison, grid search and 5-fold cross-validation. The prediction model is constructed. The results showed that the RF model had the best overall performance (accuracy 96.4%, F1 85.7%), SVM had the best recall rate (89.1%), and LR had high accuracy (95.3%) and interpretability. In comparison, DT achieved 94.6% accuracy with millisecond-level inference speed. Characteristic analysis further confirmed that blood glucose level, Body Mass Index (BMI), and age were the key predictors. This study can provide algorithm support for the hierarchical diagnosis and treatment of diabetes and optimize the early screening process.

Keywords: Diabetes Prediction; Machine Learning; Feature Engineering; BMI
Published: May 30, 2025
DOI: 10.54254/2755-2721/2025.GL23415
Volume: ACE Vol.155
pp. 125-136
Download PDF

References

  1. Yedjou, C.G., Grigsby, J., Mbemi, A., Nelson, D., Mildort, B., Lekan Latinwo, & Tchounwou, P. B. (2023). The Management of Diabetes Mellitus Using Medicinal Plants and Vitamins. International Journal of Molecular Sciences, 24(10), 9085–9085.
  2. Liu, J., Liu, M., Chai, Z., Li, C., Wang, Y., Shen, M., Zhuang, G., & Zhang, L. (2023). Projected rapid growth in diabetes disease burden and economic burden in China: a spatio-temporal study from 2020 to 2030. The Lancet Regional Health - Western Pacific, 33, 100700.
  3. Jacobs, P.G., Herrero, P., Facchinetti, A., et al. (2023). Artificial intelligence and machine learning for improving glycemic control in diabetes: Best practices, pitfalls, and opportunities. IEEE reviews in biomedical engineering, 2023, 17: 19-41.
  4. Palimkar, P., Shaw, R.N., & Ghosh, A. (2021). Machine Learning Technique to Prognosis Diabetes Disease: Random Forest Classifier Approach. Advanced Computing and Intelligent Technologies, 219–244.
  5. Feng, Y., Liu, S., Wang, J., Yang, J., Jao, Y.-L., & Wang, N. (2022). Data-driven personal thermal comfort prediction: A literature review. Renewable and Sustainable Energy Reviews, 161, 112357.
  6. Computational Intelligence for Machine Learning and Healthcare Informatics. (2020). In De Gruyter eBooks. De Gruyter.
  7. Yao, Z., Lum, Y., Johnston, A., Mejia-Mendoza, L. M., Zhou, X., Wen, Y., Aspuru-Guzik, A., Sargent, E. H., & Seh, Z. W. (2022). Machine learning for a sustainable energy future. Nature Reviews Materials, 8(3), 202–215.
  8. Jayatilake, S. M. D. A. C., & Ganegoda, G. U. (2021). Involvement of Machine Learning Tools in Healthcare Decision Making. Journal of Healthcare Engineering, 2021(1), 1–20.
  9. Naz, H., & Ahuja, S. (2020). Deep learning approach for diabetes prediction using PIMA Indian dataset. Journal of Diabetes & Metabolic Disorders, 19(1), 391–403.
  10. Lorkowski, J., Kolaszyńska, O., & Pokorski, M. (2021). Artificial Intelligence and Precision Medicine: A Perspective. Advances in Experimental Medicine and Biology, 1–11.