Penerapan Algoritma K-Means Untuk Klasterisasi Pasien Berdasarkan Data Penyakit
DOI:
https://doi.org/10.70340/jirsi.v5i3.713Keywords:
Clustering, K-Means, Patients, Puskesmas SibuhuanAbstract
Sibuhuan Community Health Center (Puskesmas Sibuhuan) experiences a continuous increase in patient visit data every month. However, the utilization of these data is still limited to administrative reporting, resulting in the underutilization of information regarding patient group characteristics. This study aims to implement the K-Means algorithm for patient clustering and to identify patient characteristic patterns based on age, gender, and disease variables. This research employed a quantitative method with a data mining approach. The data used were secondary data consisting of 1,000 patient visit records from Puskesmas Sibuhuan during the January 2026 period. Following data cleaning, 104 records containing missing values were removed, resulting in 896 records used for the clustering process. The research stages included data preprocessing, Min-Max normalization, determining the optimal number of clusters using the Elbow Method, clustering using the K-Means algorithm, and evaluating the clustering results using the Silhouette Coefficient. The results showed that the optimal number of clusters was three, Cluster 0 consisted of 423 patients, predominantly diagnosed with diseases of the respiratory, digestive, and circulatory systems. Cluster 1 comprised 320 patients, with the most prevalent diagnoses involving symptoms, signs, and abnormal clinical findings, as well as pregnancy, childbirth, and the puerperium. Cluster 2 consisted of 153 patients, predominantly diagnosed with infectious and parasitic diseases, endocrine, nutritional and metabolic diseases, and mental and behavioral disorders. The evaluation produced a Silhouette Coefficient value of 0.6384, indicating that the clustering results were of good quality. The findings of this study are expected to provide supporting information for Puskesmas Sibuhuan in identifying patient group characteristics and to assist in planning more targeted healthcare services.
Downloads
References
P. Maulaningrum, Siti Mujanah, and Achmad Yanu Alif Fianto, “Transformasi Digital di Sektor Kesehatan Tinjauan Literatur tentang Penerapan Teknologi Informasi dalam Manajemen Pelayanan,” Jurnal Ilmu Manajemen, Ekonomi dan Kewirausahaan, vol. 5, no. 1, pp. 494–503, Jun. 2025, doi: 10.55606/jimek.v5i1.6399.
J. A. Noyari, A. Aprillia, R. Ginting Munthe, A. Sutarman, and E. Kallas, “Optimasi Kinerja Sistem Informasi Manajemen Kampus Menggunakan Teknik Data Mining,” Jurnal MENTARI: Manajemen, Pendidikan dan Teknologi Informasi, vol. 3, no. 1, pp. 52–63, 2024, doi: 10.33050/mentari.v3i1.
World Health Organization, “Toolkit for Analysis and Use of Routine Health Facility Data: Integrated Health Services Analysis: District and Facility Level,” Geneva, 2023.
W. Aulia, A. Putera Utama Siahaan, L. Marlina, and M. Iqbal, “K-Means Clustering Algorithm Analysis For Grouping Patient Medical Record Data Based On Disease Type,” Informatika dan Sains, vol. 14, no. 04, pp. 832–843, 2024, doi: 10.54209/infosains.v14i04.
G. M. M. Sujak, H. N. Rofiq, and F. I. Tawakal, “Implementasi K-Means Clustering untuk Optimalisasi Anggaran Penyakit Tidak Menular,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 5, no. 1, pp. 67–74, Nov. 2024, doi: 10.57152/malcom.v5i1.1597.
K. Aldiyatna, N. Rahaningsih, and R. D. Dana, “Penerapan Data Mining untuk Clustering Penyakit Diare Menggunakan Algoritma K-Means (Studi Kasus: Puskesmas Beber),” Jurnal Mahasiswa Teknik Informatika, vol. 8, no. 3, pp. 3124–3131, 2024.
M. Juleha, R. Limia Budiarti, and N. Kahar, “Analisis Penyakit Menular dan Tidak Menular Berdasarkan Wilayah Tempat Tinggal Menggunakan Metode K-Means dan Fuzzy C-Means (Studi Kasus: Puskesmas Bayung Lencir),” in Seminar Nasional Informatika (SENATIKA), Jambi, 2025, pp. 262–268.
Q. Adawiyah, S. Defit, and Sumijan, “Penerapan Algoritma K-Means Clustering untuk Mengelompokkan Rekomendasi Metode Kontrasepsi Berbasis Machine Learning di Puskesmas,” Jurnal KomtekInfo, vol. 11, no. 4, pp. 300–305, Sep. 2024, doi: 10.35134/komtekinfo.v11i4.563.
W. Rosida and Y. A. Wijaya, “Klasterisasi Penyakit HIV/AIDS di Jawa Barat Menggunakan Algoritma K-Means Clustering,” Blend Sains Jurnal Teknik, vol. 1, no. 4, pp. 306–315, Mar. 2023, doi: 10.56211/blendsains.v1i4.235.
J. Wala and R. Umar, “Implementasi K-Means Clustering pada Pengelompokan Pasien Penyakit Jantung,” Jurnal Informatika Sunan Kalijaga), vol. 9, no. 3, pp. 205–216, 2024
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Ghufron Makmun Lbs, Abdul Halim Hasugian

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.







