Application of RFM Model and K-Means Algorithm in Customer Loyalty Segmentation of Indonesian Regional Water Utility Company (PDAM)
DOI:
https://doi.org/10.30812/ijecsa.v5i1.6087Keywords:
Customer loyalty, RFM, K-Means, PDAMAbstract
Customer loyalty is an important factor in maintaining the sustainability of the Regional Drinking Water Company (PDAM) business, because it directly affects customer retention and company revenue. However, PDAM faces challenges in understanding the diverse patterns of customer loyalty. Therefore, this study aims to group customer loyalty based on using Recency, Frequency, Monetary (RFM) analysis and the K-Means clustering method. The methods used are RFM and K-Means which use 20,000 PDAM customer transaction data. Based on the results of the RFM analysis which was then clustered with K-Means, three customer loyalty clusters were obtained, namely High Value customers (Cluster 0) with 4900 data, Medium Value (Cluster 2) with 10,600 data, and Low Value (Cluster 1) with 4500 data. The results of the analysis show that the High Value cluster consists of customers who have recently made transactions, have a high purchase frequency, and spend large purchase values. On the other hand, the Low Value cluster includes customers with low recency, frequency, and monetary values, indicating a low level of loyalty. The implication of this study is that PDAM customer segmentation using RFM analysis and the K-Means algorithm produces three loyalty clusters, namely High Value, Medium Value, and Low Value, which allow the company to design more targeted service and marketing strategies according to the characteristics of each customer group.
Downloads
References
[1] D. Hadiwijaya and E. Mintarsih, “Pengaruh Penilaian Kerja Dan Motivasi Kerja Terhadap Kinerja Karyawan Pada Perusahaan Daerah Air Minum Tirta Kerta Raharja Kabupaten Tangerang,” JMB J. Manaj. dan Bisnis, vol. 10, no. 2, pp. 269–273, 2021, doi: 10.31000/jmb.v10i2.5133.
[2] Fetni, Sudirman Baso, and Anis Ribcalia Septiana, “Analisis Kualitas Layanan Perusahaan Daerah Air Minum Pada Pelayanan Air Bersih Di Kecamatan Tirawuta Kabupaten Kolaka Timur,” J. Publicuho, vol. 6, no. 4, pp. 1496–1510, 2023, doi: 10.35817/publicuho.v6i4.293.
[3] A. Nugraha, Y. A. Effendi, Z. Tao, M. Afifuddin, and N. Nuzulita, “K-Means clustering interpretation using recency , frequency , and monetary factor for retail customers segmentation,” TELKOMNIKA Telecommun. Comput. Electron. Control, vol. 23, no. 2, pp. 435–446, 2025, doi: 10.12928/TELKOMNIKA.v23i2.26044.
[4] R. Cristover, H. Toba, and B. R. Suteja, “Segmentation and Formation of Customer Regression Model Based on Recency, Frequency and Monetary Analysis,” J. Tek. Inform. dan Sist. Inf., vol. 8, no. 2, pp. 474–484, 2022, doi: 10.28932/jutisi.v8i2.5075.
[5] B. E. Adiana, I. Soesanti, and A. E. Permanasari, “Analisis Segmentasi Pelanggan Menggunakan Kombinasi Rfm Model Dan Teknik Clustering,” J. Terap. Teknol. Inf., vol. 2, no. 1, pp. 23–32, 2018, doi: 10.21460/jutei.2018.21.76.
[6] H. Yusa, M. Sudarma, and N. Pramaita, “HR Potensi Pelanggan Tunggakan PDAM Menggunakan Metode K-Medoids dengan Optimasi Ant Colony Optimization (ACO),” Maj. Ilm. Teknol. Elektro, vol. 17, no. 3, p. 353, 2018, doi: 10.24843/mite.2018.v17i03.p08.
[7] A. Supriyadi, A. Triayudi, and I. D. Sholihati, “Perbandingan Algoritma K-Means Dengan K-Medoids Pada Pengelompokan Armada Kendaraan Truk Berdasarkan Produktivitas,” JIPI (Jurnal Ilm. Penelit. dan Pembelajaran Inform., vol. 6, no. 2, pp. 229–240, 2021, doi: 10.29100/jipi.v6i2.2008.
[8] A. R. Siregar, S. R. Andani, and W. Saputra, “Clustering Pada Pelanggan Perusahaan Air Bersih Dengan Algoritma K-Means,” BRAHMANA J. Penerapan Kecerdasan Buatan, vol. 1, no. 1, pp. 7–14, 2020, doi: 10.30645/brahmana.v1i1.2.
[9] A. P. Pramudiansyah, “Segmentasi Pelanggan Menggunakan Algoritma K-Means Berdasarkan Model Recency Frequency Monetary,” J. Ilm. Ilmu Komput., vol. 7, no. 2, pp. 06–19, 2021, doi: 10.35329/jiik.v7i2.201.
[10] I. Maskanah, “Segmentasi Pelanggan Toko Purnama dengan Algoritma K-Means dan Model RFM untuk Perancangan Strategi Pemasaran,” INOVTEK Polbeng - Seri Inform., vol. 5, no. 2, p. 218, 2020, doi: 10.35314/isi.v5i2.1443.
[11] M. H. Anshary and O. Soesanto, “Segmentasi Pelanggan Menggunakan Metode K-Means Clustering Berdasarkan Model RFM (Recency, Frequency, Monetary),” RAGAM J. Stat. Its Appl., vol. 01, pp. 1–10, 2022.
[12] I. M. D. P. Asana and N. P. D. T. Yanti, “Sistem Klasifikasi Pengajuan Kredit Dengan Metode Support Vector Machine (SVM),” J. Sist. Cerdas, vol. 6, no. 2, pp. 123–133, 2023.
[13] Y. A. Singgalen, “Penerapan Metode CRISP-DM untuk Optimalisasi Strategi Pemasaran STP (Segmenting, Targeting, Positioning) Layanan Akomodasi Hotel, Homestay, dan Resort,” J. Media Inform. Budidarma, vol. 7, no. 4, p. 1980, 2023, doi: 10.30865/mib.v7i4.6896.
[14] R. Hesananda and P. Apriliga, “Customer Segmentation of Cash Management System Using K- Means Clustering,” J. Appl. Res. Comput. Sci. Inf. Syst., vol. 2, no. 2, pp. 191–202, 2024, doi: 10.61098/jarcis.v2i2.188.
[15] H. Rizkyanto and F. L. Gaol, “Customer Segmentation of Personal Credit using Recency, Frequency, Monetary (RFM) and K-means on Financial Industry,” Int. J. Adv. Comput. Sci. Appl., vol. 14, no. 4, pp. 152–162, 2023, doi: 10.14569/IJACSA.2023.0140417.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Hairani Hairani, Rizki Wahyudi, Gede Yogi Pratama, M.Khaerul Ihsan

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









