Research Article

Estimating diabetes risk using Naïve Bayes classifiers

Juntong Li*
Northeastern University

* Corresponding author: [email protected]

Abstract

Diabetes is now a common disease for modern people. Diabetes will cause some serious symptoms. Diabetes patients will face a painful life, high cure cost, and even death. So, it is necessary to correctly diagnose diabetes and analyze the factors that mainly cause diabetes to prevent the happen of diabetes. This essay mainly focuses on training the computer to help the doctor to train the computer. Three Naive Bayes classifications will be used to train the computer to do the prediction, including the Gaussian Naïve Bayes, Bernoulli Naïve Bayes, and Multinomial Naïve Bayes. To compare each method’s result, accuracy will be the main index to measure whether a method is good enough to put into use. Not only the accuracy, classification report, and confusion matrix also assist to measure the prediction. Finally, the Gaussian Naïve Bayes has the highest accuracy and when combined with the confusion matrix and the classification report, the Gaussian Naïve Bayes has a huge advantage over the other two models. The accuracy of these models still does not satisfy medical demand. Some deep learning and high-level model are expected to optimize this project.

Keywords: diabetes; machine learning; Naïve Bayes; classification
Published: October 23, 2023
DOI: 10.54254/2755-2721/21/20231113
Volume: ACE Vol.21
pp. 28-35
Download PDF

References

  1. Forouhi, N. G., & Wareham, N. J. (2010). Epidemiology of diabetes. Medicine, 38(11), 602-606.
  2. Tao, Z., Shi, A., & Zhao, J. (2015). Epidemiological perspectives of diabetes. Cell biochemistry and biophysics, 73(1), 181-185.
  3. Leahy, J. L. (2005). Pathogenesis of type 2 diabetes mellitus. Archives of medical research, 36(3), 197-209.
  4. Nathan, D. M. (2015). Diabetes: advances in diagnosis and treatment. Jama, 314(10), 1052-1062.
  5. Faiz, I., Mukhtar, H., & Khan, S. (2014). An integrated approach of diet and exercise recommendations for diabetes patients. In 2014 IEEE 16th International Conference on e-Health Networking, Applications and Services, 537-542.
  6. Emerging Risk Factors Collaboration. (2011). Diabetes mellitus, fasting glucose, and risk of cause-specific death. New England Journal of Medicine, 364(9), 829-841.
  7. Webb, G. I., Keogh, E., & Miikkulainen, R. (2010). Naïve Bayes. Encyclopedia of machine learning, 15, 713-714.
  8. Mehmet, A., (2020). Diabetes Dataset. URL: https://www.kaggle.com/datasets/mathchi/diabetes-data-set
  9. Perez, A., Larranaga, P., & Inza, I. (2006). Supervised classification with conditional Gaussian networks: Increasing the structure complexity from naive Bayes. International Journal of Approximate Reasoning, 43(1), 1-25.
  10. Artur, M. (2021). Review the performance of the Bernoulli Naïve Bayes Classifier in Intrusion Detection Systems using Recursive Feature Elimination with Cross-validated selection of the best number of features. Procedia Computer Science, 190, 564-570.
  11. Jiang, L., Wang, S., Li, C., & Zhang, L. (2016). Structure extended multinomial naive Bayes. Information Sciences, 329, 346-356.