A Comparative Analysis of Machine Learning Models for Diabetes Prediction and Early Diagnosis

Diabetes is one of the most widespread and rapidly growing chronic diseases globally, affecting millions of people and posing serious health risks if not diagnosed early. Fortunately, with advancements in technology and the power of machine learning (ML), it is now possible to analyze patient data and predict the likelihood of diabetes with remarkable accuracy. This paper explores the use of five machine learning models—Random Forest, Logistic Regression, Decision Tree, Support Vector Classifier (SVC), and K-Nearest Neighbors (KNN)—to develop an effective diabetes prediction system. The dataset used for this study, sourced from Kaggle, contains 5,000 patient records, including key health indicators such as glucose levels, blood pressure, BMI, and age. The data was first cleaned, then analyzed, and trained on various ML models, which were evaluated based on accuracy, precision, recall, and F1-score. Among the models tested, the Random Forest classifier demonstrated the best performance, achieving an accuracy of 91.2%, surpassing SVM (88.7%) and Decision Tree (85.4%). These findings highlight the growing role of machine learning in healthcare, showcasing how predictive models can improve early diagnosis, enhance patient management, and support clinical decision-making. By leveraging these ML-driven approaches, healthcare systems can transition from traditional practices to data-driven strategies, ensuring timely interventions and reducing the long-term complications associated with diabetes.

Authors

Institutions

Publication Details

Journal
Physical Education Health and Social Sciences
Published
2025-03-02
DOI
https://doi.org/10.63163/jpehss.v3i1.154
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Comparative Analysis of Machine Learning Models for Diabetes Prediction and Early Diagnosis

Sohaib Latif, S. M. Rezaul Karim, Dian Rachmawanti Affandi
Physical Education Health and Social Sciences
Artificial Intelligence in Healthcare
article

A Comparative Analysis of Machine Learning Models for Diabetes Prediction and Early Diagnosis

Sohaib Latif, S. M. Rezaul Karim, Dian Rachmawanti Affandi
article en

Abstract

Diabetes is one of the most widespread and rapidly growing chronic diseases globally, affecting millions of people and posing serious health risks if not diagnosed early. Fortunately, with advancements in technology and the power of machine learning (ML), it is now possible to analyze patient data and predict the likelihood of diabetes with remarkable accuracy. This paper explores the use of five machine learning models—Random Forest, Logistic Regression, Decision Tree, Support Vector Classifier (SVC), and K-Nearest Neighbors (KNN)—to develop an effective diabetes prediction system. The dataset used for this study, sourced from Kaggle, contains 5,000 patient records, including key health indicators such as glucose levels, blood pressure, BMI, and age. The data was first cleaned, then analyzed, and trained on various ML models, which were evaluated based on accuracy, precision, recall, and F1-score. Among the models tested, the Random Forest classifier demonstrated the best performance, achieving an accuracy of 91.2%, surpassing SVM (88.7%) and Decision Tree (85.4%). These findings highlight the growing role of machine learning in healthcare, showcasing how predictive models can improve early diagnosis, enhance patient management, and support clinical decision-making. By leveraging these ML-driven approaches, healthcare systems can transition from traditional practices to data-driven strategies, ensuring timely interventions and reducing the long-term complications associated with diabetes.

Physical Education Health and Social SciencesVol. 3(1)
University of South Asia (PK), University of Gujrat (PK)
Openalex Percentile: Top 94%
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.