Journal of Technology and Informatics (JoTI)
Vol. 8 No. 1 (2026): Vol. 8 N. 1 (2026)

Comparative Performance of Machine Learning Algorithms for Diabetes Prediction

Sudestra, I Made Ardi (Unknown)
Gama, Adie Wahyudi Oktavia (Unknown)
Prathama, Gede Humaswara (Unknown)
Paramartha, I Gusti Ngurah Darma (Unknown)
Hakimi, Musawer (Unknown)



Article Info

Publish Date
16 Apr 2026

Abstract

Early detection of diabetes mellitus is crucial to prevent severe complications. This study evaluates three machine learning algorithms for diabetes prediction using a quantitative comparative experimental design. The algorithms are k-Nearest Neighbors (k-NN), Support Vector Machine (SVM), and Random Forest. These methods were chosen to compare distinct learning paradigms. k-NN is distance-based, SVM is margin-based, and Random Forest is an ensemble method. The goal is to find the optimal model for clinical use. The Pima Indians Diabetes dataset was used. It includes 390 patients and 15 clinical features. Performance was measured by accuracy, precision, recall, and F1-score. Random Forest had the highest accuracy (89.7%) and F1-score, providing the most balanced classification. SVM followed with 84.6%, and k-NN achieved 76.9%. Although k-NN had the highest recall (0.750), its precision was low (0.375), showing a high false-positive rate. Feature importance analysis pointed to blood glucose levels as the most significant predictor, which matches clinical knowledge. In summary, ensemble techniques like Random Forest offer the most reliable results. This highlights the importance of selecting the right algorithm for early diabetes detection in clinical applications.

Copyrights © 2026






Journal Info

Abbrev

joti

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering Mechanical Engineering

Description

1. Teknologi Informasi : Rekayasaperangkat lunak, Pengetahuan data maining, Mobile Computing, Parallel/Distributed Computing, Kecerdasan Buatan, Tata Kelola dan Manajemen Sistem Informasi, User Interface/ User Experience, Process Management, IT Security, IS Adoption and Evaluation. 2. Sistem ...