E-Commerce Customer Segmentation using the CLARANS Algorithm
DOI:
https://doi.org/10.55537/cosie.v5i2.1656Keywords:
Segmentasi Pelanggan, E-Commerce, CLARANS, Clustering, Evaluasi ClusterAbstract
Customer segmentation is an important step in supporting marketing strategies on E-Commerce platforms. This study aims to cluster customers based on their characteristics and transaction behavior using the CLARANS (Clustering Large Applications based upon Randomized Search) algorithm. The dataset used consists of E-Commerce customer attributes, including age, average transaction value, total orders, customer loyalty, and churn risk. The research stages include data collection, data cleaning, feature engineering, exploratory data analysis (EDA), algorithm implementation, and clustering evaluation. The evaluation was conducted using Silhouette Score, Davies–Bouldin Index, and Calinski–Harabasz Index, and benchmarked against K-Means and Hierarchical Clustering methods. The results show that the CLARANS algorithm provides the best performance with a Silhouette Score of 0.381991, Davies–Bouldin Index of 1.061123, and Calinski–Harabasz Index of 3458.564. These findings indicate that CLARANS is capable of producing more compact and well-separated clusters, making it effective for customer segmentation in E-Commerce data
Downloads
References
[1] A. Saputra and R. Yusuf, “Perbandingan Algoritma DBSCAN dan K-MEANS dalam Segmentasi Pelanggan Pengguna Transportasi Publik Transjakarta Menggunakan Metode RFM: Comparison of the DBSCAN and K-MEANS Algorithms in Segmenting Customers Using Public Transportation of Transjakarta Using the RFM Method,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 4, no. 4, pp. 1346–1361, 2024.
[2] M. Yusuf, S. Sutrisno, P. A. A. N. Putri, M. Asir, and P. A. Cakranegara, “Prospek Penggunaan E-Commerce Terhadap Profitabilitas Dan Kemudahan Pelayanan Konsumen: Literature Review,” J. Darma Agung, vol. 30, no. 3, pp. 786–801, 2024.
[3] I. S. Riphat, Pajak E-Commerce: Sebuah Pengertian Awal. PT Elex Media Komputindo, 2022.
[4] G. B. Sulistyo, N. Hasan, S. Kiswati, E. Muningsih, and others, “Segmentasi pelanggan dan optimalisasi penjualan pada data retail online berbasis model RFM,” CONTEN Comput. Netw. Technol., vol. 5, no. 1, pp. 16–22, 2025.
[5] B. Apriyanto and S. L. M. Sitio, “Penerapan k-means dalam menganalisis pola pembelian pelanggan pada data transaksi e-commerce,” bit-Tech, vol. 7, no. 3, pp. 790–797, 2025.
[6] S. Wulansari, “Analisis Segmentasi Pelanggan di Tiga E-Commerce Yang Paling Banyak Dikunjungi di Indonesia Pada Tahun 2023 Menggunakan RFM Model dan Teknik Clustering,” Universitas Bakrie, 2024.
[7] A. J. Wijaya, “Peran Dan Implementasi Teknologi Kecerdasan Buatan Dalam Pengalaman Konsumen E-Commerce: Sebuah Tinjauan Sistematis,” AIRA (Artificial Intell. Res. Appl. Learn., vol. 1, no. 1, pp. 18–32, 2022.
[8] E. F. L. Awalina and W. I. Rahayu, “Optimalisasi strategi pemasaran dengan segmentasi pelanggan menggunakan penerapan K-means clustering pada transaksi online retail,” J. Teknol. Dan Inf., vol. 13, no. 2, pp. 122–137, 2023.
[9] M. A. Pakpahan, S. Sahid, M. M. F. Simanullang, and R. P. Winanda, “Analisis Hierarchical Clustering untuk Segmentasi Pelanggan pada Dataset Mall Customers,” J. Sist. Inf. Dan Inform., vol. 4, no. 1, pp. 58–63, 2026.
[10] N. H. Darmawan, “Segmentasi Loyalitas Pelanggan dengan Model RFM Menggunakan Algoritma Clarans,” Pros. Sains Nas. dan Teknol., vol. 12, no. 1, pp. 362–368, 2022.
[11] P. Sarang, “CLARANS: Clustering Large Datasets with Randomized Search,” in Thinking Data Science: A Data Science Practitioner’s Guide, Springer, 2023, pp. 237–242.
[12] R. Narasati, R. Lestari, R. Herdiana, R. Hamonangan, and S. Anawar, “Penerapan Algoritma K-Medoid Pada Penjualan Kerudung E-Commerce Shopee: Fifau Hijab,” JATI (Jurnal Mhs. Tek. Inform., vol. 8, no. 2, pp. 1815–1819, 2024.
[13] M. Mazziotta and A. Pareto, “Normalization methods for spatio-temporal analysis of environmental performance: Revisiting the Min--Max method,” Environmetrics, vol. 33, no. 5, p. e2730, 2022.
[14] N. Ekbote, P. Dhanshetti, and S. Sakhrekar, “Techniques of exploratory data analysis,” Madhya Pradesh J. Soc. Sci., vol. 28, no. 2, pp. 10–14, 2023.
[15] A. H. Lubis and E. Ramayana, “A review on appropriateness of partitional clustering algorithms in handling transactional data,” Int J Res Rev, vol. 10, no. 9, pp. 162–169, 2023.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Elimiana Berutu, Andre Hasudungan Lubis

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



