An Experimental Comparison of Different Machine Learning Algorithms for Detecting Type 2 Diabetes

Artificial intelligence (AI) is transforming healthcare, with (ML) offering significant potential for early disease diagnosis and personalized treatment, particularly in diabetes management. This capability is crucial for enhancing diagnostic accuracy. However, accurately predicting type 2 diabetes remains challenging due to diverse patient populations and complex data, as traditional methods can be slow and miss subtle early indicators, leading to delayed interventions. There is a clear need for robust predictive models. This paper proposes and evaluates various ML algorithms and data mining techniques for effective type 2 diabetes prediction. We utilized a unique Iraqi dataset with comprehensive features including HbA1c, lipid profiles, age, and BMI. Our methodology involved rigorous data preprocessing, including cleaning and handling class imbalance with SMOTE. Eight ML algorithms were compared: Decision Tree (DT), Naïve Bayes (NB), Random Forest (RF), Gradient Boosting (GB), K-Nearest Neighbor (KNN), Logistic Regression (LR), and Artificial Neural Networks (ANN). Model performance was assessed using accuracy, precision, recall, F1-score, MAE, RMSE, and AVE, with cross-validation ensuring robustness. The DT algorithm achieved the highest performance, with an accuracy of 99.44%, outperforming all other models. This highlights DT’s effectiveness and its potential for accurate early diagnosis, confirming HbA1c, age, and BMI as key predictors. Future work should establish a national health database in Iraq and explore advanced deep learning techniques, such as Convolutional Neural Network and Recurrent Neural Network.

Authors

Institutions

Publication Details

Journal
DOAJ (DOAJ: Directory of Open Access Journals)
Published
2026-05-01
DOI
https://doi.org/10.32441/kjps.10.01.10
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

An Experimental Comparison of Different Machine Learning Algorithms for Detecting Type 2 Diabetes

Farhan Naqee AlBayati, Ahmad AlBayati, Shnoo Abdul Aziz Zangana
DOAJ (DOAJ: Directory of Open Access Journals)
Artificial Intelligence in Healthcare
article

An Experimental Comparison of Different Machine Learning Algorithms for Detecting Type 2 Diabetes

Farhan Naqee AlBayati, Ahmad AlBayati, Shnoo Abdul Aziz Zangana
article en

Abstract

Artificial intelligence (AI) is transforming healthcare, with (ML) offering significant potential for early disease diagnosis and personalized treatment, particularly in diabetes management. This capability is crucial for enhancing diagnostic accuracy. However, accurately predicting type 2 diabetes remains challenging due to diverse patient populations and complex data, as traditional methods can be slow and miss subtle early indicators, leading to delayed interventions. There is a clear need for robust predictive models. This paper proposes and evaluates various ML algorithms and data mining techniques for effective type 2 diabetes prediction. We utilized a unique Iraqi dataset with comprehensive features including HbA1c, lipid profiles, age, and BMI. Our methodology involved rigorous data preprocessing, including cleaning and handling class imbalance with SMOTE. Eight ML algorithms were compared: Decision Tree (DT), Naïve Bayes (NB), Random Forest (RF), Gradient Boosting (GB), K-Nearest Neighbor (KNN), Logistic Regression (LR), and Artificial Neural Networks (ANN). Model performance was assessed using accuracy, precision, recall, F1-score, MAE, RMSE, and AVE, with cross-validation ensuring robustness. The DT algorithm achieved the highest performance, with an accuracy of 99.44%, outperforming all other models. This highlights DT’s effectiveness and its potential for accurate early diagnosis, confirming HbA1c, age, and BMI as key predictors. Future work should establish a national health database in Iraq and explore advanced deep learning techniques, such as Convolutional Neural Network and Recurrent Neural Network.

DOAJ (DOAJ: Directory of Open Access Journals)
University of Kirkuk (IQ)
Openalex Percentile: Top 4%
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.

An Experimental Comparison of Different Machine Learning Algorithms for Detecting Type 2 Diabetes — Farhan Naqee AlBayati, Ahmad AlBayati, et al. · DOAJ (DOAJ: Directory of Open Access Journals) (2026) | TGRS Research Map | TGRS