K-Nearest Neighbors Approach to Classify Diabetes Risk Categories

The prevalence of diabetes as a chronic disease poses significant challenges worldwide, necessitating accurate and early detection of risk categories to improve management and prevention strategies. This research evaluates the application of the K-Nearest Neighbors (KNN) algorithm to classify diabetes risk categories using the Pima Indian Diabetes dataset. The study implements rigorous preprocessing steps, including handling missing values, normalization, and feature engineering, to optimize the dataset for KNN’s distance-based calculations. Hyperparameter tuning and the exploration of various distance metrics, such as Euclidean and Manhattan, are conducted to enhance model accuracy. The KNN model achieves a moderate accuracy of 66%, with a precision of 0.52 and a recall of 0.58 for the diabetic class, highlighting its effectiveness in general pattern recognition but limited ability to handle imbalanced datasets. The research identifies glucose levels and BMI as key predictors and emphasizes the importance of balanced datasets and advanced feature selection techniques. Future recommendations include integrating additional clinical features and hybrid models to improve diagnostic accuracy and applicability in clinical settings. This study underscores KNN's potential as a foundational tool in machine learning for medical diagnostics, contributing to the broader effort to enhance healthcare outcomes through data-driven decision-making.

Authors

Institutions

Publication Details

Journal
Jurnal Sistem Informasi dan Komputer Terapan Indonesia (JSIKTI)
Published
2025-02-04
DOI
https://doi.org/10.33173/jsikti.197
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

K-Nearest Neighbors Approach to Classify Diabetes Risk Categories

Gemilang Santiyuda
Jurnal Sistem Informasi dan Komputer Terapan Indonesia (JSIKTI)
Artificial Intelligence in Healthcare
article

K-Nearest Neighbors Approach to Classify Diabetes Risk Categories

Gemilang Santiyuda
article en

Abstract

The prevalence of diabetes as a chronic disease poses significant challenges worldwide, necessitating accurate and early detection of risk categories to improve management and prevention strategies. This research evaluates the application of the K-Nearest Neighbors (KNN) algorithm to classify diabetes risk categories using the Pima Indian Diabetes dataset. The study implements rigorous preprocessing steps, including handling missing values, normalization, and feature engineering, to optimize the dataset for KNN’s distance-based calculations. Hyperparameter tuning and the exploration of various distance metrics, such as Euclidean and Manhattan, are conducted to enhance model accuracy. The KNN model achieves a moderate accuracy of 66%, with a precision of 0.52 and a recall of 0.58 for the diabetic class, highlighting its effectiveness in general pattern recognition but limited ability to handle imbalanced datasets. The research identifies glucose levels and BMI as key predictors and emphasizes the importance of balanced datasets and advanced feature selection techniques. Future recommendations include integrating additional clinical features and hybrid models to improve diagnostic accuracy and applicability in clinical settings. This study underscores KNN's potential as a foundational tool in machine learning for medical diagnostics, contributing to the broader effort to enhance healthcare outcomes through data-driven decision-making.

Jurnal Sistem Informasi dan Komputer Terapan Indonesia (JSIKTI)Vol. 7(2)
National Taiwan University of Science and Technology (TW)
Openalex Percentile: Top 80%
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.