Infotek : Jurnal Informatika dan Teknologi
Vol. 9 No. 2 (2026): Infotek : Jurnal Informatika dan Teknologi

Perbandingan Algoritma Machine Learning untuk Klasifikasi Diabetes Menggunakan Feature Selection dan Hyperparameter Tuning

Fajar Maula Hidayat (Universitas Yayasan Pendidikan Imam Bonjol Majalengka)
Hafidz Sanjaya (Universitas Yayasan Pendidikan Imam Bonjol Majalengka)



Article Info

Publish Date
21 Jul 2026

Abstract

Diabetes mellitus is a chronic disease with an increasing prevalence worldwide, requiring early detection to support faster and more accurate disease management. This study aims to compare the performance of several machine learning algorithms for diabetes classification using feature selection and hyperparameter tuning. The dataset used was the Pima Indians Diabetes Dataset obtained from the Kaggle platform. The research consisted of data preprocessing, feature selection using SelectKBest, training and testing data splitting, hyperparameter tuning using GridSearchCV, and model evaluation using accuracy, precision, recall, F1-score, ROC-AUC, and cross validation. The evaluated algorithms included Logistic Regression, Support Vector Machine (SVM), Random Forest, K-Nearest Neighbor (KNN), and Naive Bayes. The results showed that the KNN algorithm achieved the best performance with an accuracy of 74.02%, precision of 63.46%, recall of 61.11%, F1-score of 62.26%, and ROC-AUC of 79.60%. The findings indicate that integrating data preprocessing, feature selection, hyperparameter tuning, and cross validation provides a more comprehensive evaluation process for machine learning models in diabetes classification.

Copyrights © 2026






Journal Info

Abbrev

infotek

Publisher

Subject

Computer Science & IT Control & Systems Engineering Engineering

Description

INFOTEK Jurnal Informatika dan Teknologi Fakultas Teknik Universitas Hamzanwadi selanjutnya disebut Jurnal Infotek (e-ISSN: 2614-8773) merupakan Jurnal yang dikelola oleh Fakultas Teknik Universitas Hamzanwadi yang mempublikasikan artikel ilmiah hasil penelitian atau kajian teoritis (invited ...