PEMODELAN RFM & K-MEANS CLUSTERING UNTUK SEGMENTASI PELANGGAN DALAM PENJUALAN ONLINE

Authors

  • Ivander Lukas Universitas Riau
  • Finanta Okmayura Universitas Riau
  • Aidha Tita Irani Universitas Riau
  • Ernia Juliastuti Universitas Riau
  • Muhammad Amirulhaq Universitas Riau
  • Rizky Ardiansyah Universitas Riau
  • Sherly Fillia Universitas Riau

DOI:

https://doi.org/10.37859/seis.v5i2.9556
Keywords: RFM Modeling, K-Means Clustering, Online Sales, Customer Segmentation, Customer Analytics

Abstract

The exponential growth of e-commerce platforms necessitates sophisticated customer analytics to maintain competitive advantage and optimize revenue streams. This study addresses the critical challenge of understanding heterogeneous customer purchasing behaviors in online retail environments through advanced data mining techniques. The research implements RFM (Recency, Frequency, Monetary) modeling integrated with K-Means clustering algorithm to achieve comprehensive customer segmentation for strategic marketing optimization. A quantitative-exploratory methodology was employed, utilizing a comprehensive online sales dataset comprising over 40,000 transactional records. The analytical framework involved systematic data preprocessing using Python libraries (Pandas, NumPy), followed by RFM parameter calculation and standardization through StandardScaler normalization. K-Means clustering was subsequently applied with optimal cluster determination via Elbow Method validation, yielding three distinct customer segments. Visualization and interpretation were conducted using Tableau, Matplotlib, and Seaborn for comprehensive segment characterization. Results demonstrate successful identification of strategically significant customer clusters: high-value loyal customers, moderate-engagement prospects, and potential churn-risk segments, each exhibiting distinctive RFM behavioral patterns. The segmentation framework enables targeted marketing strategy formulation, personalized customer retention programs, and optimized resource allocation. This research contributes valuable insights for e-commerce practitioners seeking data-driven approaches to enhance customer relationship management and sustain long-term business profitability in competitive online marketplaces.

Downloads

Download data is not yet available.

References

Akande, O., Asani, E. O., & Dautare, B. (2024). Customer Segmentation Through RFM Analysis and K-Means Clustering: Leveraging Data-Driven Insights for Effective Marketing Strategy. Ceddi Journal of Information System and Technology (JST), 3(1), 14–25. https://doi.org/10.56134/jst.v3i1.81

Ananda, D. P., & Monalisa, S. (2023). Segmentasi Pelanggan B2B dengan Model LRFM Menggunakan Algoritma Fuzzy C-Means pada Rotte Bakery. Jurnal Teknologi Informasi Dan Ilmu Komputer, 10(5), 1139–1148. https://doi.org/10.25126/jtiik.20231056569

Dr. Bilal Hassan. (2023). Understanding Consumer Behavior in the Digital Age: Insights, Trends, and Implications. Journal for Social Science Archives, 1(1), 19–28. https://doi.org/10.59075/jssa.v1i1.3

Fadhillah, M. F., Lovely, A., Suyoso, A., & Puspitasari, I. (2025). Customer Segmentation with Clustering Algorithm Based on Recency , Frequency , and Monetary ( RFM ) Attributes Segmentasi Pelanggan dengan Algoritma Clustering Berdasarkan Atribut Recency , Frequency dan Monetary ( RFM ). 5(January), 48–56.

Febriani, A., & Putri, S. A. (2020). Segmentasi Konsumen Berdasarkan Model Recency, Frequency, Monetary dengan Metode K-Means. JIEMS (Journal of Industrial Engineering and Management Systems), 13(2), 52–57. https://doi.org/10.30813/jiems.v13i2.2274

Husnah, M., & Vinarti, R. A. (2023). Customer Segmentation Analysis Using LRFM Based Product and Brand Dimensions. 2023 2nd International Conference for Innovation in Technology (INOCON), 1–6. https://doi.org/10.1109/INOCON57975.2023.10100974

Imanuel, D. A., Alfian, G., Vokasi, S., Mada, U. G., Korespondensi, P., & Index, C. (2025). VISUALISASI SEGMENTASI PELANGGAN BERDASARKAN ATRIBUT RFM MENGGUNAKAN ALGORITMA K-MEANS UNTUK MEMAHAMI KARAKTERISTIK PELANGGAN PADA TOKO RETAIL ONLINE VISUALIZATION OF CUSTOMER SEGMENTATION BASED ON RFM ATTRIBUTES USING K-MEANS ALGORITHM TO COMPREHEND CUST. 12(2), 283–292. https://doi.org/10.25126/jtiik.2025128619

Indraputra, R. A., & Fitriana, R. (2020). K-Means Clustering Data COVID-19. Jurnal Teknik Industri, 10(3), 275–282. https://doi.org/10.25105/jti.v10i3.8428

Ishak, R., & Bengnga, A. (2022). Clustering Tingkat Pemahaman Mahasiswa Pada Perkuliahan Probabilitas Statistika Dengan Metode K-Means. Jambura Journal of Electrical and Electronics Engineering, 4(1), 65–69. https://doi.org/10.37905/jjeee.v4i1.11997

Jiménez-Partearroyo, M., & Medina-López, A. (2024). Leveraging Business Intelligence Systems for Enhanced Corporate Competitiveness: Strategy and Evolution. Systems, 12(3). https://doi.org/10.3390/systems12030094

Kurniawan, R., Surya, N., Fatayat, Mahdiyah, E., Husti, I., & Arisman. (2024). Clustering Preachers and Mosques for Effective Religious Outreach in Kampar Using DHC-PCA Algorithm. 342–347. https://doi.org/10.1109/ICEECIT63698.2024.10860079

Nugraha, R., Suarna, N., Ali, I., & Rohman, D. (2025). OPTIMASI PENGELOLAAN SAMPAH MELALUI MODEL PENGELOMPOKAN DENGAN ALGORITMA K-MEANS. 13(1), 646–652.

Nuryati, T., Malik, A. F., Ernawati, F. A., & ... (2023). Increase Bussines Profits by Utilizing Bussiness Inteligence Functions. Journal Economi …, 4(5), 901–910. https://dinastirev.org/JEMSI/article/view/1513%0Ahttps://dinastirev.org/JEMSI/article/download/1513/940

Prahendratno, A., Mahendra, G. S., Zebua, R. S. Y., Tahir, R., Sepriano, S., Handika, I. P. S., Rahayu, P. W., Sudipa, I. G. I., & Efitra, E. (2023). Businnes Intelegent: Pengantar Business Intelligence dalam Bisnis (Issue June). https://www.researchgate.net/publication/371608098_BUSINESS_INTELEGENT_Pengantar_Business_Intelligence_dalam_Bisnis

Putra Aryadi, B., & Hendrastuty, N. (2024). Penerapan Algoritma K-Means Untuk Melakukan Klasterisasi Pada Varietas Padi. Jurnal Informatika & Rekayasa Elektronika), 7(1), 124–129. http://e-journal.stmiklombok.ac.id/index.php/jireISSN.2620-6900

Widiyanto, A. T., & Witanti, A. (2021). Segmentasi Pelanggan Berdasarkan Analisis RFM Menggunakan Algoritma K-Means Sebagai Dasar Strategi Pemasaran (Studi Kasus PT Coversuper Indonesia Global). KONSTELASI: Konvergensi Teknologi Dan Sistem Informasi, 1(1), 204–215. https://doi.org/10.24002/konstelasi.v1i1.4293

Zuhdi, M. R., Syihabuddin, H., Jauhar, A., Achmad, A., & Fernandes, R. (2025). COMPARISON OF DBSCAN AND K-MEANS CLUSTER ANALYSIS WITH PATH- ANOVA IN CLUSTERING WASTE MANAGEMENT BEHAVIOUR PATTERNS PERBANDINGAN ANALISIS CLUSTER DBSCAN DAN K-MEANS DENGAN PATH-ANOVA DALAM PENGELOMPOKAN POLA PERILAKU PENGELOLAAN. 6(1), 105–112.

Downloads

Published

2025-08-20

How to Cite

Lukas, I., Finanta Okmayura, Aidha Tita Irani, Ernia Juliastuti, Muhammad Amirulhaq, Rizky Ardiansyah, & Sherly Fillia. (2025). PEMODELAN RFM & K-MEANS CLUSTERING UNTUK SEGMENTASI PELANGGAN DALAM PENJUALAN ONLINE . Journal of Software Engineering and Information System (SEIS), 5(2), 49–58. https://doi.org/10.37859/seis.v5i2.9556

Issue

Section

Articles