Perbandingan Kinerja K-Medoids dan Improved K-Medoids Berbasis Crow Search Algorithm pada Klasterisasi Data Transaksi Penjualan Berdasarkan Silhouette Score dan Efisiensi Komputasi
DOI:
https://doi.org/10.47065/bulletincsr.v6i4.1117Keywords:
K-Medoid; Crow Search Algorithm (CSA); Clustering; Silhouette Score; Transaction DataAbstract
The development of digital transaction systems generates large amounts of data that need to be processed into meaningful information to support decision-making. One approach that can be used to analyze consumer purchasing patterns is clustering. The K-Medoids algorithm is known for its robustness against outliers; however, its iterative medoid search process leads to relatively high computational time. To address this limitation, an improved K-Medoids based on the Crow Search Algorithm (CSA) is employed, utilizing a metaheuristic optimization mechanism to determine optimal medoids. This study aims to compare the performance of the K-Medoids algorithm and the improved K-Medoids based on the CSA in transaction data clustering in terms of cluster quality and computational efficiency. The dataset used was obtained from a Point of Sale (POS) system of a fast-food restaurant and consisted of 18,814 transaction records. The research stages included data preprocessing, clustering using both methods, and performance evaluation based on the Silhouette Score and computation time. The results showed that both methods produced the same optimal number of clusters, namely K = 4. The K-Medoids algorithm achieved the highest Silhouette Score of 0.557791, while the improved K-Medoids based on the CSA obtained a Silhouette Score of 0.537240. In terms of efficiency, the improved K-Medoids based on the CSA required significantly shorter and more stable computation times than the conventional K-Medoids algorithm. These findings indicate a trade-off between clustering quality and computational efficiency, implying that the choice of method can be adjusted according to analytical requirements. The main contribution of this study is providing a comparative analysis of the K-Medoids algorithm and the improved K-Medoids based on the CSA on transaction data by jointly evaluating cluster quality and computational efficiency. The findings provide practical recommendations for selecting clustering methods according to analytical requirements and serve as a reference for future research on transaction data clustering.
Downloads
References
S. Muharni and S. Andriyanto, "Penentuan Pola Penjualan Menggunakan Algoritma Apriori," Digit. Transform. Technol., vol. 4, no. 1, pp. 60–71, Mar. 2024, doi: 10.47709/digitech.v4i1.3679.
M. Marindah and K. Setiawan, "Implementasi Data Mining Menggunakan Algoritma Apriori Terhadap Pola Pembelian Konsumen di Marketplace Shopee Jaktimstore," INTECOMS J. Inf. Technol. Comput. Sci., vol. 7, no. 5, pp. 1473–1481, Sep. 2024, doi: 10.31539/intecoms.v7i5.11644.
R. Hidayati, A. Zubair, A. H. Pratama, and L. Indana, "Analisis Silhouette Coefficient pada 6 Perhitungan Jarak K-Means Clustering," Techno.Com, vol. 20, no. 2, pp. 186–197, May 2021, doi: 10.33633/tc.v20i2.4556.
S. I. Murpratiwi, I. G. Agung Indrawan, and A. Aranta, "Analisis Pemilihan Cluster Optimal dalam Segmentasi Pelanggan Toko Retail," J. Pendidik. Teknol. Dan Kejuru., vol. 18, no. 2, p. 152, Sep. 2021, doi: 10.23887/jptk-undiksha.v18i2.37426.
D. Cheng, Y. Zhang, and R. Jin, "Careful Seeding for K-Medoids Clustering with Incremental K-Means++ Initialization," arXiv, 2024, doi: 10.48550/arXiv.2207.02404.
A. N. Fitriani, K. M. Hindrayani, and T. Trimono, "Enhanced Clustering Using PSO-KMedoids for Government Aid Distribution," Jurnal Sistem Informasi dan Informatika (Simika), vol. 8, no. 2, pp. 294–305, Aug. 2025, doi: 10.47080/simika.v8i2.3930.
S. M. Sabrina and T. H. Setiawan, "Clustering Analysis of Provinces in Indonesia Based on the 2023 Human Development Index Indicators Using the K-Medoids Algorithm," Jurnal Matematika UNAND, vol. 14, no. 1, pp. 93–102, Jan. 2025, doi: 10.25077/jmua.14.1.93-102.2025.
Yosia and B. Siregar, "Comparative Analysis of K-Means and K-Medoids Algorithms for Product Sales Clustering and Customer," Journal of Mathematics and Computer Statistics, vol. 7, no. 2, pp. 360–370, Oct. 2024, doi: 10.35580/jmathcos.v7i2.4053.
N. Sureja, B. Chawda, and A. Vasant, "An Improved K-Medoids Clustering Approach Based on the Crow Search Algorithm," Journal of Computational Mathematics and Data Science, vol. 3, p. 100034, Jun. 2022, doi: 10.1016/j.jcmds.2022.100034.
E. Luthfi and A. W. Wijayanto, "Analisis Perbandingan Metode Hierarchical, K-Means, dan K-Medoids Clustering dalam Pengelompokkan Indeks Pembangunan Manusia Indonesia," INOVASI, vol. 17, no. 4, pp. 761–773, Dec. 2021, doi: 10.30872/jinv.v17i4.10106.
M. R. P. Pratama, M. I. Fieldi, M. S. Albani, M. Al Fachrozi, F. R. Aderiyana, K. D. Tania, and A. Meiriza, "Perbandingan Algoritma K-Means, K-Medoid, dan DBSCAN untuk Clustering Kualitas Hidup Indonesia dalam Perspektif Knowledge Management dan Data Discovery," JATI (Jurnal Mahasiswa Teknik Informatika), vol. 9, no. 4, pp. 5903–5910, Aug. 2025, doi: 10.36040/jati.v9i4.13916.
R. Ranjan and J. Chhabra, "Automatic Data Clustering Using Dynamic Crow Search Algorithm," EAI Endorsed Transactions on Context-Aware Systems and Applications, p. 173982, May 2022, doi: 10.4108/eai.17-5-2022.173982.
A. K. Singh and S. Gupta, "Comparative Study of Feature Scaling Techniques for Distance-Based Machine Learning Algorithms," International Journal of Intelligent Systems and Applications in Engineering, vol. 11, no. 4, pp. 1060–1068, 2023.
G. Erda, R. K. Usdika, R. Pitri, and Z. Erda, "Implementation of the K-Medoids Method in Clustering Human Development Indexes in Indonesia," Parameter: Journal of Statistics, vol. 3, no. 2, pp. 58–67, 2023, doi: 10.22487/27765660.2023.v3.i2.16906.
L. Nigro and P. Fränti, "Two Medoid-Based Algorithms for Clustering Sets," Algorithms, vol. 16, no. 7, p. 349, Jul. 2023, doi: 10.3390/a16070349.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Perbandingan Kinerja K-Medoids dan Improved K-Medoids Berbasis Crow Search Algorithm pada Klasterisasi Data Transaksi Penjualan Berdasarkan Silhouette Score dan Efisiensi Komputasi
ARTICLE HISTORY
How to Cite
Issue
Section
Copyright (c) 2026 Melinda Putri Azzahra, Wahyu Syaifullah J.S., Muhammad Nasrudin

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).













