Application of the K-Means Algorithm for the Grouping of Regional Income Patterns in Kudus Regency

Authors

  • Alif Miftachul Nasikhah Universitas Muhammadiyah Kudus
  • Ade Ima Afifa Himayati Universitas Muhammadiyah Kudus
  • Findasari Findasari Universitas Muhammadiyah Kudus

DOI:

https://doi.org/10.69693/jesa.v3i2.39

Keywords:

K-Means clustering, Regional Revenue, Kudus Regency

Abstract

Regional revenue is one of the indicators of regional financial ability that needs to be analyzed to determine the realization of revenue. Analyses that are still descriptive have not been able to group data based on similar characteristics. This study aims to apply the K-Means algorithm to classify the regional income pattern of Kudus Regency based on monthly income realization data. The research uses a quantitative approach with secondary data in the form of the realization of regional revenue in Kudus Regency in 2020–2024 obtained from the Regional Revenue, Finance, and Asset Management Agency (BPPKAD) of Kudus Regency. Data processing is carried out using the RapidMiner application through the Read Excel, Set Role, Normalize, K-Means Clustering, and Performance stages, The number of clusters is set to three (k = 3). The results of the study showed that the K-Means algorithm succeeded in grouping data into three Cluster 0 clusters consisting of 4 data, namely September, October, November, and December. Cluster 1 consists of 1 data, namely August, while Cluster 2 consists of 7 data, namely January, February, March, April, May, June, and July.  Centroid analysis showed that each cluster had different characteristics, while evaluation using Performance Vector yielded a Davies-Bouldin Index value of -0.444 which showed good grouping results based on the RapidMiner evaluation. The results of this study are expected to be supporting information in the evaluation and planning of regional revenue management in Kudus Regency

Downloads

Download data is not yet available.

References

[1] G. R. Wahyudi, Rahmaddeni, E. Dini, S. Adrianto, and R. Fadila, “Clustering Regencies in Indonesia for Regional Mapping Using the K-Means Algorithm Pengelompokan Kabupaten di Indonesia untuk Pemetaan Daerah Menggunakan Algoritma K-Means,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 5, no. 3, pp. 1143–1151, 2025.

[2] A. D. Sofia, “Pengelompokan Kabupaten / Kota berdasarkan Indikator Indeks Pembangunan Manusia 2022 Menggunakan K-Harmonic Means Clustering,” J. Ris. Statisika, vol. 3, no. 2, pp. 163–172, 2023.

[3] H. Sutrisno, J. Junaedi, and A. Ekowati, “Analisis Kontribusi Pajak Daerah terhadap Pendapatan Asli Daerah Kabupaten Nganjuk,” J. Public Power, vol. 7, no. 2, pp. 101–117, 2023, doi: 10.32492/jpp.v7i2.7206.

[4] N. W. Tyas, L. Kristiyanti, and Darmanto, “Analisis Kontribusi dan Efektivitas Pajak dan Retribusi Daerah terhadap Pendapatan Asli Daerah: Studi Kasus di BPKPAD Kota Sukoharjo,” J. Ilm. Keuang. Akunt. Bisnis, vol. 4, no. 1, pp. 684–690, 2025, doi: 10.53088/jikab.v4i1.117.

[5] M. A. Hakim, A. B. Prasetijo, and D. Eridani, “Penerapan Data Mining Dengan Algoritma K-Means Clustering Penyewaan Alat-Alat Event Pada Studi Kasus Cv. Dipo Rental Creativindo Implementation of Data Mining Using the K-Means Clustering Event Rental Algorithm in a Case Study of Cv. Dipo Rental Creativin,” J. Tek. Komput., vol. 1, no. 4, pp. 148–155, 2023, doi: 10.14710/jtk.v1i4.37011.

[6] N. A. Maori, “METODE ELBOW DALAM OPTIMASI JUMLAH CLUSTER PADA K-MEANS CLUSTERING,” J. SIMETRIS, vol. 14, no. 2, pp. 277–287, 2023.

[7] M. Faisal, J. I. Saputro, W. S. Utami, and S. Suharmanto, “Model Analisis Clustering KMeans Untuk Pengelompokkan Pendapatan Daerah Berdasarkan Jenis Pekerjaan,” ICIT J., vol. 12, no. 1, pp. 13–24, 2026, doi: 10.33050/icit.v12i1.4139.

[8] A. Hasibuan, D. R. Kembuan, C. T. M. Manoppo, and M. T. Hermanto, “Optimization of k-means algorithm in grouping data using the statistical gap method,” J. Intell. Decis. Support Syst., vol. 6, no. 3, pp. 112–120, 2023.

[9] M. Zaki, N. Ibrahim, R. R. Marliana, P. Statistika, F. Matematika, and P. Alam, “Perbandingan K-Means Clustering dan Fuzzy C-Means Clustering untuk Mengelompokkan Kabupaten / Kota Berdasarkan Faktor Tingkat Pengangguran di Jawa Barat Tahun 2023,” Bandung Conf. Ser., vol. 1, no. 5, p. 2, 2023.

[10] M. Amelia, A. Faqih, and A. R. Rinaldi, “Penerapan Metode K-Means Clustering Dalam Pemetaan Kemiskinan Kabupaten/Kota Di Indonesia Untuk Perencanaan Kebijakan Yang Tepat,” J. Inform. dan Tek. Elektro Terap., vol. 13, no. 2, p. 6231, 2025, doi: 10.23960/jitet.v13i2.6231.

[11] N. N. Saragih and R. Kurniawan, “(Journal of Computer Engineering, System and Science),” J. Comput. Eng. Syst. Sci., vol. 10, no. 1, pp. 299–311, 2025.

[12] G. M. M. Sujak, H. N. Rofiq, and F. I. Tawakal, “Implementation of K-Means Clustering for Optimizing Non-Communicable Disease Budgets,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 5, no. 1, pp. 67–74, 2025.

[13] K. P. Sinaga and M. S. Yang, “Unsupervised K-means clustering algorithm,” IEEE Access, vol. 8, pp. 80716–80727, 2020, doi: 10.1109/ACCESS.2020.2988796.

[14] D. J. Tambunan et al., “Analisis Algoritma K-Means untuk Pengelompokan Tingkat Kemisikinan di Kota Medan,” J. Pendidik. Tambusai, vol. 10, no. 1, pp. 3990–3996, 2026.

[15] M. Ahmed, R. Seraj, and S. M. S. Islam, “The k-means algorithm: A comprehensive survey and performance evaluation,” Electron., vol. 9, no. 8, pp. 1–12, 2020, doi: 10.3390/electronics9081295.

[16] B. Hartono, S. Eniyati, and K. Hadiono, “Perbandingan Metode Perhitungan Jarak pada Nilai Centroid dan Pengelompokan Data Menggunakan K-Means Clustering,” J. Sist. Komput. dan Inform., vol. 4, no. 3, p. 503, 2023, doi: 10.30865/json.v4i3.6021.

[17] A. Vouros, S. Langdell, M. Croucher, and E. Vasilaki, “An empirical comparison between stochastic and deterministic centroid initialisation for K ‑ means variations,” Mach. Learn., vol. 110, no. 8, pp. 1975–2003, 2021, doi: 10.1007/s10994-021-06021-7.

[18] M. F. Akbar and L. Zahrotun, “K-Means Centroid Optimization with Genetic Algorithm for Clustering Micro , Small , Medium Enterprises in Yogyakarta,” JUITA J. Inform., vol. 13, no. 2, pp. 87–97, 2025.

Downloads

Published

07-08-2026

How to Cite

Nasikhah , A. M., Himayati, A. I. A., & Findasari, F. (2026). Application of the K-Means Algorithm for the Grouping of Regional Income Patterns in Kudus Regency. Journal of Engineering and Science Application, 3(2), 17–26. https://doi.org/10.69693/jesa.v3i2.39

Issue

Section

Articles