JURNAL TEKNOLOGI DAN ILMU KOMPUTER PRIMA (JUTIKOMP)
Vol. 9 No. 1 (2026): Jurnal Teknologi dan Ilmu Komputer Prima (JUTIKOMP)

Development of a Web-Based Diabetes Risk Monitoring System Prototype Using K-Means for Risk Segmentation

Hansen Kusumah Atmaja (Universitas Widya Dharma Pontianak)
Thommy Willay (Universitas Widya Dharma Pontianak)



Article Info

Publish Date
30 Apr 2026

Abstract

Diabetes risk monitoring often focuses on data recording and visualization, with limited analytical support for identifying interpretable risk patterns from health-related data. This study developed a web-based diabetes risk monitoring prototype that integrates K-Means clustering for analytical risk segmentation. Using the Pima Indians Diabetes Database with 768 records, this study applied invalid zero handling, median imputation, Min-Max scaling, K-Means clustering, internal validation, cluster profiling, and artifact preparation. Two preprocessing scenarios and candidate values of k were evaluated. The final model was selected under the Extended Scenario at k = 2 and produced two analytical risk segments: Higher Risk and Lower Risk. Cluster 0 contained 270 records (35.16%) and was labeled Higher Risk, while Cluster 1 contained 498 records (64.84%) and was labeled Lower Risk. The prototype was implemented using Flask, SQLite, HTML/CSS, Chart.js, and a saved model bundle. It supported data input, result display, prediction history, edit and delete functions, CSV export, and dashboard visualization. Black-box testing across 27 functional test cases showed that all tested features operated successfully. The main contribution is the integration of K-Means-based segmentation into an operational web prototype for structured monitoring, not clinical diagnosis.

Copyrights © 2026






Journal Info

Abbrev

JUTIKOMP

Publisher

Subject

Computer Science & IT

Description

JuTIKom PRIMA(Jurnal Teknologi dan Ilmu Komputer Prima) adalah jurnal yang di fokuskan Terhadap bidang ilmu Teknologi dan Ilmu Komputer. Tujuan jurnal adalah untuk mengakomodir para dosen dan mahasiswa baik dalam lingkungan kampus Universitas Prima Indonesia maupun dari kampus berbeda jurnal ini ...