Implementasi Metode K-Means Clustering Untuk Menganalisis Pola Pembelian Pelanggan Di E-Commerce (Studi Kasus: Pitapita Accessories)

Authors

  • Soleh Damarudin Universitas Pamulang
  • Muhamad Santoso Universitas Pamulang

DOI:

https://doi.org/10.55606/teknik.v6i1.10329

Keywords:

K-Means Clustering, RFM, customer segmentation, e-commerce, purchasing patterns

Abstract

This study discusses the implementation of the K-Means Clustering method to analyze customer purchasing patterns in the PitaPita Accessories e-commerce. The main problem addressed is the absence of a structured customer segmentation, causing marketing strategies to remain generic and less targeted. This research aims to apply the K-Means algorithm to group customers based on their purchasing behavior, process transaction data into numerical attributes, and present the segmentation results as a basis for developing more personalized and effective marketing strategies. The dataset used in this study consists of 571 customer records and 571 transaction records. The analysis was conducted by constructing Recency, Frequency, and Monetary (RFM) attributes, where recency represents the time difference between the most recent transaction and a reference date, frequency represents the total number of transactions per customer, and monetary represents the total purchase value per customer. The RFM data were then clustered using the K-Means algorithm with K = 3 clusters. The results indicate that K-Means was successfully implemented in a web-based system and was able to generate customer segmentation into three clusters with distinct purchasing characteristics, reflected by the number of members and the average RFM values in each cluster. This segmentation can support decision-making for more targeted promotions, customer retention, and product offering strategies according to the characteristics of each customer group.

References

Abdurahman, F. R., Hurriyati, R., & Dirgantari, P. D. (2024). E-Customer Behavior Mediates Promotion on E-Commerce Purchase Decision MSME Industry. 2(01), 268–275.

Ahmed, M., Seraj, R., & Islam, S. M. S. (2020). The k-means algorithm: A comprehensive survey and performance evaluation. Electronics (Switzerland), 9(8), 1–12. https://doi.org/10.3390/electronics9081295

Amin, F., Anggraeni, D. S., & Aini, Q. (2022). Penerapan Metode K-Means dalam Penjualan Produk Souq.Com. Applied Information System and Management (AISM), 5(1), 7–14. https://doi.org/10.15408/aism.v5i1.22534

Andriyadi, A., Fikri, R. R. N., & Saputri, E. F. (2022). Evaluasi Sistem Informasi Perpustakaan Institut Informatika Darmajaya Dengan Whitebox Testing. Journal of Innovation …, 3471(8), 743–746.

Anggun Fergina, M. K., Syahid Abdullah, S. S. M. K., & Zaenal Alamsyah, S. K. (2021). Buku Ajar Basis Data. Nusa Putra Press.

Anwar, M. A. H., & Kurniawan, Y. (2019). Dokumentasi Software Testing Berstandar Ieee 829-2008 Untuk Sistem Informasi Terintegrasi Universitas. Kurawal - Jurnal Teknologi, Informasi Dan Industri, 2(2), 118–125. https://doi.org/10.33479/kurawal.v2i2.261

Ceder, N. (2025). The Quick Python Book, Fourth Edition. Manning.

Darni, R., Anwar, M., & Hadi, A. (n.d.). KARIR DAN DASAR-DASAR PENGEMBANGAN WEB. UNP PRESS.

Destriana, R., Husain, S. M., Handayani, N., & Siswanto, A. T. P. (2022). Diagram UML Dalam Membuat Aplikasi Android Firebase “Studi Kasus Aplikasi Bank Sampah.” Deepublish.

Dina, D. F. M. (2024). Normalisasi Database Rancangan Sistem Penyewaan Buku Berbayar. Computing Insight : Journal of Computer Science, 4(1), 56–61. https://doi.org/10.30651/comp_insight.v4i1.15814

Dr. Enjang Yusup Ali, M. K., Prof. Dr. Munir, M. I. T., A, P. D. J. P. M., Dr. Dedy Achmad Kurniady, M. P., Dr. H. Diding Nurdin, M. P., & Dr. Rahmat Fadhli, E. M. (2024). Model Enterprise Architecture (EA) Untuk Perguruan Tinggi Bermutu. Indonesia Emas Group.

Dwi Krisbiantoro, M. K., & Prih Diantono Abda’u, M. K. (2021). DASAR PEMROGRAMAN WEB dengan bahasa HTML, PHP, dan Database MySQL. Zahira Media Publisher.

Enterprise, J. (2023). HTML, PHP, dan MySQL untuk Pemula (Update Version). Elex Media Komputindo.

Fauzan, M. N., & Nurhidayah, S. (2020). Membuat Sistem Approval Anggaran Pelatihan Dengan Php, Codeigniter, Dan Bootstrap. Kreatif.

Gillenson, M. L. (2023). Fundamentals of Database Management Systems. Wiley.

Han, J., Pei, J., & Tong, H. (2022). Data Mining: Concepts and Techniques. Morgan Kaufmann.

Kurniawan, H., Apriliah, W., Kurnia, I., & Firmansyah, D. (2021). Penerapan Metode Waterfall Dalam Perancangan Sistem Informasi Penggajian Pada Smk Bina Karya Karawang. Jurnal Interkom: Jurnal Publikasi Ilmiah Bidang Teknologi Informasi Dan Komunikasi, 14(4), 13–23. https://doi.org/10.35969/interkom.v14i4.78

Miftakul Amin, S. K. M. E. (2022). Bahasa Query Menggunakan MySQL. Penerbit Ahatek.

Mujiarto, W., & Adiguna, M. A. (2023). Perancangan Sistem Informasi Inventory Barang Stroomnet Berbasis Website Menggunakan Metode Rapid Application Development. Scientia Sacra: Jurnal Sains, 3(1), 26–43.

Namruddin, R., Basalamah, A., Ali, M. Z. A., Syarifuddin, A., Alam, S., Wardhani, N., & Abdurrahman, T. S. D. (2023). BELAJAR DATABASE DENGAN MUDAH MENGGUNAKAN MYSQL. TOHAR MEDIA.

Neighbors, P. K. D. K., Ramadhani, R. A., & Wahyuniar, L. S. (n.d.). Implementasi Data Mining Untuk Menentukan Pelanggan Potensial Menggunakan Algoritma. 9, 1173–1182.

No, V., Artiarno, A. M., Setiaji, P., & Nugraha, F. (2025). Edumatic : Jurnal Pendidikan Informatika K-Means Clustering untuk Segmentasi Pelanggan : Mengungkap Pola Pembelian Strategi Pemasaran pada Sektor Ritel. 9(2), 442–451. https://doi.org/10.29408/edumatic.v9i2.30336

Novi, Y., Cuhwanto, A., & R, D. A. (2022). Implementasi Data Mining Pemilihan Pelanggan Potensial Menggunakan Algoritma K-Means. 15(1), 48–56.

Nur, S. A., & S.R. Candra, N. (2022). Pengujian Kesetaraan Partisi pada White Box (Studi Kasus : Electronic City). Journal of Informatics and Advanced Computing (JIAC), 3(2), 97–102.

Nurshadrina, N., & Voutama, A. (2022). Penerapan Unified Modeling Language (UML) dalam membangun sistem pengenalan UMKM (Studi Kasus: Rafa Laundry). Information Management for Educators and Professionals: Journal of Information Management, 7(1), 21–30.

Oracle Corporation. (2025). MySQL 8.0 Reference Manual.

Perkasa, I. B., & Komputer, I. (2024). STRATEGI DATA MINING UNTUK IDENTIFIKASI POLA. 1(6), 1–16.

Permana, Y., & Romadlon, P. (2019). PERANCANGAN SISTEM INFORMASI PENJUALAN PERUMAHAN MENGUNAKAN METODE SDLC PADA PT. MANDIRI LAND PROSPEROUS BERBASIS MOBILE. SIGMA – Jurnal Teknologi Pelita Bangsa, 84(10), 1511–1518. https://doi.org/10.1134/s0320972519100129

Pratiwi, B. (2024). PELANGGAN. 1(5), 1–18.

Putra, A. P., Andriyanto, F., Karisman, K., Harti, T. D. M., & Sari, W. P. (2020). Pengujian Aplikasi Point of Sale Menggunakan Blackbox Testing. Jurnal Bina Komputer, 2(1), 74–78. https://doi.org/10.33557/binakomputer.v2i1.757

Rizky Pangestu, P., & Voutama, A. (2024). Pemanfaatan Uml (Unified Modelling Language) Pada Sistem Pengelolaan Aspirasi Mahasiswa Berbasis Website. JATI (Jurnal Mahasiswa Teknik Informatika), 8(6), 11846–11851. https://doi.org/10.36040/jati.v8i6.11732

Sutedi, S., Widyawati, D. K., Farkhan, M., Akhsa, A. T. P. D., Sesunan, M. F., Purwandari, N., Mukminna, H., Ariana, A. A. G. B., Efitra, E., & Sari, I. K. (2024). Buku Ajar Sistem Basis Data. PT. Sonpedia Publishing Indonesia.

Tabianan, K., & Velu, S. (2022). K-Means Clustering Approach for Intelligent Customer Segmentation Using Customer Purchase Behavior Data. 1–15.

Trisnawati, L., & Setiawan, D. (2022). Sistem Monitoring Kegiatan Kemahasiswaan Menggunakan Metode Agile Development. JOISIE Journal Of Information System And Informatics Engineering, 6(1), 49–57.

Uminingsih, Nur Ichsanudin, M., Yusuf, M., & Suraya, S. (2022). Pengujian Fungsional Perangkat Lunak Sistem Informasi Perpustakaan Dengan Metode Black Box Testing Bagi Pemula. STORAGE: Jurnal Ilmiah Teknik Dan Ilmu Komputer, 1(2), 1–8. https://doi.org/10.55123/storage.v1i2.270

Uska, M., Wirasasmita, R., Usuluddin, U., & Arianti, B. (2020). Evaluation of Rapidminer-Aplication in Data Mining Learning using PeRSIVA Model. Edumatic: Jurnal Pendidikan Informatika, 4(2), 164–171. https://doi.org/10.29408/edumatic.v4i2.2688

Widia, D. M., & Asriningtias, S. R. (2021). Cara Cepat dan Praktis Membangun Web Dinamis dengan PHP dan MySQL. Universitas Brawijaya Press.

Widyatmoko, W., & Pamungkas, N. (2022). Pemodelan Unified Modeling Language pada Sistem Aplikasi Pariwisata (SiAP). Jurnal Bumigora Information Technology (BITe), 4(1), 73–84. https://doi.org/10.30812/bite.v4i1.1871

Wu, Z., Jin, L., Zhao, J., Jing, L., & Chen, L. (2022). Research on Segmenting E-Commerce Customer through an Improved K-Medoids Clustering Algorithm. 2022.

Downloads

Published

2026-03-30

How to Cite

Soleh Damarudin, & Muhamad Santoso. (2026). Implementasi Metode K-Means Clustering Untuk Menganalisis Pola Pembelian Pelanggan Di E-Commerce (Studi Kasus: Pitapita Accessories). Jurnal Teknik Mesin, Elektro Dan Ilmu Komputer, 6(1), 382–401. https://doi.org/10.55606/teknik.v6i1.10329

Similar Articles

1 2 > >> 

You may also start an advanced similarity search for this article.