Application of Machine Learning Models for Early Detection and Accurate Classification of Type 2 Diabetes

Orlando Iparraguirre-Villanueva, Karina Espinola-Linares, Rosalynn Ornella Flores Castañeda, Michael Cabanillas-Carbonell

Research output: Contribution to journalArticlepeer-review

33 Scopus citations

Abstract

Early detection of diabetes is essential to prevent serious complications in patients. The purpose of this work is to detect and classify type 2 diabetes in patients using machine learning (ML) models, and to select the most optimal model to predict the risk of diabetes. In this paper, five ML models, including K-nearest neighbor (K-NN), Bernoulli Naïve Bayes (BNB), decision tree (DT), logistic regression (LR), and support vector machine (SVM), are investigated to predict diabetic patients. A Kaggle-hosted Pima Indian dataset containing 768 patients with and without diabetes was used, including variables such as number of pregnancies the patient has had, blood glucose concentration, diastolic blood pressure, skinfold thickness, body insulin levels, body mass index (BMI), genetic background, diabetes in the family tree, age, and outcome (with/without diabetes). The results show that the K-NN and BNB models outperform the other models. The K-NN model obtained the best accuracy in detecting diabetes, with 79.6% accuracy, while the BNB model obtained 77.2% accuracy in detecting diabetes. Finally, it can be stated that the use of ML models for the early detection of diabetes is very promising.

Original languageEnglish
Article number2383
JournalDiagnostics
Volume13
Issue number14
DOIs
StatePublished - Jul 2023

Keywords

  • analysis
  • classification
  • diabetes
  • machine learning
  • modeling

Fingerprint

Dive into the research topics of 'Application of Machine Learning Models for Early Detection and Accurate Classification of Type 2 Diabetes'. Together they form a unique fingerprint.

Cite this