E-Commerce Customer Segmentation Application Based on the K-Means Algorithm

Authors

  • Nehemia Universitas Bina Sarana Informatika Pontianak
  • Jekoniah Nahum Pakage Universitas Bina Sarana Informatika
  • Veronica Lois Universitas Bina Sarana Informatika
  • Regina Arieskha Universitas Bina Sarana Informatika

DOI:

https://doi.org/10.59934/jaiea.v5i2.1922

Keywords:

Customer Segmentation, E-commerce, K-Means Algorithm, RFM Analysis, Streamlit

Abstract

Ineffective e-commerce marketing serves as the background for this research, which aims to develop a customer segmentation application for targeted marketing. The K-Means Clustering method with RFM (Recency, Frequency, Monetary) analysis is applied to data from 178 customers. The research methodology includes data preprocessing, feature transformation, and the determination of the optimal K using the Elbow Method. The results indicate that K=3 is the optimal number of clusters. Three segments were successfully identified: 'Champions' (18.5%, 33 customers) with the highest Frequency/Monetary values, 'Active & Potential' (41%, 73 customers) with the lowest Recency (most recent), and 'At Risk' (40.5%, 72 customers) with the highest Recency (longest duration since last transaction). The study concludes that the developed Streamlit-based application successfully visualizes these segments interactively to support strategic decision-making in marketing.

Downloads

Download data is not yet available.

References

F. Nur Wahidah, “The Role of Social Media for E‑Commerce in Indonesia.pdf,” J. Econ. Bus. Horiz., vol. 3, pp. 90–95, 2024.

C. W. Prasetyandari, “E-Commerce as Indonesia’s Economic Development Effort,” Indones. J. Econ. Manag., vol. 3, no. 1, pp. 70–78, 2022, doi: 10.35313/ijem.v3i1.4456.

A. K. Fikri, A. U. Hamdani, and P. Hayati, “PENERAPAN E-COMMERCE BERBASIS CONTENT MANAGEMENT SYSTEM DENGAN METODE WATERFALL UNTUK PROMOSI,” vol. 06, no. 01, 2025.

Yoesoep Edhie Rachmad, “Social Media Marketing Mediated Changes In Consumer Behavior From E-Commerce To Social Commerce,” Int. J. Econ. Manag. Res., vol. 1, no. 3, pp. 227–242, 2022, doi: 10.55606/ijemr.v1i3.152.

D. Mubarok et al., “BIG DATA ANALYTICS DAN MACHINE LEARNING UNTUK MEMPREDIKSI PERILAKU KONSUMEN DI E-COMMERCE,” 2025. [Online]. Available: http://e-journal.stmiklombok.ac.id/index.php/jireISSN.2620-6900

C. H. Ardana, A. A. A. A. A. Khoyum, and M. Faisal, “Segmentasi Pelanggan Penjualan Online Menggunakan Metode K-means Clustering,” JISKA (Jurnal Inform. Sunan Kalijaga), vol. 9, no. 1, pp. 1–9, 2024, doi: 10.14421/jiska.2024.9.1.1-9.

N. Hendrastuty, “Penerapan Data Mining MenggunakanAlgoritma K-Means ClusteringDalam Evaluasi HasilPembelajaran Siswa,” J. Ilm. Inform. Dan Ilmu Komput., vol. 3, no. 1, pp. 46–56, 2024, [Online]. Available: https://doi.org/10.58602/jima-ilkom.v3i1.26

F. Amalia Maresti, G. Mustika Anugraheni, R. A. Hargiyanto, and K. Mustaqim, “Penerapan Exploratory Data Analysis (Eda) Dan Analisis Recency, Frequency, and Monetary (Rfm) Untuk Segmentasi Pelanggan E-Commerce,” Competitive, vol. 19, no. 1, pp. 14–25, 2024, doi: 10.36618/competitive.v19i1.4059.

R. M. Fauzan and G. Alfian, “Segmentasi Pelanggan E-Commerce Menggunakan Fitur Recency, Frequency, Monetary (RFM) dan Algoritma Klasterisasi K-Means,” 2024.

R. Artikel, R. C. Octavianus, H. Toba, and B. R. Suteja, “Segmentasi dan Pembentukan Model Regresi Nasabah Berbasis Analisis Recency , Frequency dan Monetary Segmentation and Formation of Customer Regression Model Based on Recency , Frequency and Monetary Analysis,” vol. 8, pp. 474–484, 2022.

T. K. Amarya, R. Firliana, and A. Ristyawan, “Aplikasi Deteksi Dini Penyakit Stroke Menggunakan Stramlit,” INOTEK, Vol. 9, vol. 9, pp. 453–462, 2025.

D. K. Dan and M. Rfm, “SEGMENTASI PELANGGAN MAJALAH PADA SITUS WEB E-COMMERCE SEGMENTATION OF MAGAZINE SUBSCRIBERS ON E-COMMERCE WEBSITE USING K-MEANS ++ AND RFM METHOD,” vol. 11, no. 6, pp. 1243–1252, 2024, doi: 10.25126/jtiik.2024118208.

D. Agustina, “FITUR SOCIAL COMMERCE DALAM WEBSITE E-COMMERCE DI INDONESIA,” J. Inform. Mulawarman, vol. 12, no. 1, 2017.

Downloads

Published

2026-02-15

How to Cite

Nehemia, Jekoniah Nahum Pakage, Veronica Lois, & Regina Arieskha. (2026). E-Commerce Customer Segmentation Application Based on the K-Means Algorithm. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 5(2), 2546–2550. https://doi.org/10.59934/jaiea.v5i2.1922