Evaluasi Kinerja Algoritma K-Means dan K-Medoids untuk Klasterisasi Destinasi Wisata Bali
DOI:
https://doi.org/10.29408/jit.v9i2.34958Keywords:
Clustering, K-Means, K-Medoids, Elbow, Silhouette Score, DBI, TourismAbstract
This study aims to compare the performance of the K-Means and K-Medoids algorithms in clustering tourist destinations in Bali Province based on multidimensional characteristics, including rating, number of reviews, latitude, longitude, category, and district/city. The dataset used comes from Kaggle with 1,000 tourist destination data that have gone through a preprocessing process in the form of data cleaning, feature selection, normalization, and logarithmic transformation. The optimal number of clusters is determined using the Elbow Method in the range of K = 2 to K = 10, while the quality of the clusters is evaluated using the Silhouette Score, Davies-Bouldin Index (DBI), and Mean Squared Error (MSE). The results show that the optimal number of clusters is K = 10. K-Means produces a Silhouette Score of 0.2078, a DBI of 1.2714, and an MSE of 2.2764, thus showing better performance than K-Medoids. This study contributes in the form of a comparative evaluation of the two algorithms and recommendations for clustering methods that are more suitable for Bali tourist destination data. The research results can also support decision making in the management and development of the tourism sector.
References
[1] U. Alngatiq, H. Wamulkan, N. W. Utami, and I. N. Y. Anggara, “Bali Tourist Visits Clustered Via Tripadvisor Reviews Using K-Means Algorithm,” vol. 19, no. 2, 2023, doi: 10.33480/pilar.v19i2.4571.
[2] A. S. Muhammad Qusyairi, Zul Hidayatullah, “Penerapan K-Means Clustering Dalam Pengelompokan Prestasi Siswa Dengan Optimasi Metode Elbow,” vol. 7, no. 2, pp. 500–510, 2024, doi:https://dx.doi.org/10.29408/jit.v7i2.26375
[3] A. Fauzan, A. Novianti, R. Rara, and M. Ayu, “Analysis of Hotels Spatial Clustering in Bali : Density- Based Spatial Clustering of Application Noise (DBSCAN) Algorithm Approach,” vol. 3, no. 1, pp. 25–38, 2022, doi: 10.20885/EKSAKTA.vol3.iss1.art.
[4] M. A. J. Amri Muliawan Nur, Hariman Bahtiar, “Implementasi Algoritma K-Means Clustering Dalam Mengelompokkan Kepatuhan Wajib Pajak Bumi dan Bangunan Dengan Optimasi Elbow,” vol. 8, no. 1, 2025, doi:https://dx.doi.org/10.29408/jit.v8i1.27975
[5] E. Xiao, “Comprehensive K-Means Clustering,” pp. 146–159, 2024, doi: 10.4236/jcc.2024.123009.
[6] F. M. Siregar, U. Juhardi, and A. K. Hidayah, “Comparative Analysis Of K Means And K Medoids Algorithms In Determining Social Assistance In Padang Sidimpuan City , North Sumatra,” no. 1, pp. 1–7, 2024, doi:https://doi.org/10.53697/jkomitek.v4i1.1795
[7] F. R. Sucahyo, I. H. Santi, M. F. Rahmat, and D. Fahrizal, “Comparing K-Means and K-medoids algorithms for clustering hamlet regions by tax liabilities in tax determination documents,” 2025, doi:https://doi.org/10.53771/ijstra.2025.8.1.0023
[8] A. S. Yaro, H. Bello, E. E. Agbon, A. D. Usman, and A. Abdulaziz, “Comparative Analysis of K-Means and K-Medoids Clustering for Improved Audio-Based Time Difference of Arrival Fingerprinting Systems,” vol. 32, no. 1, 2025.
[9] S. F. Intan, W. Elvira, S. Rahayu, and N. Nurfadilla, “Comparison of the K-Means and K-Medoids Algorithms for Grouping Student Expenditures” pp. 35–40, 2023.
[10] N. T. Luchia, H. Handayani, and F. S. Hamdi, “Comparison of K-Means and K-Medoids on Poor Data Clustering in Indonesia” vol. 2, no. October, pp. 35–41, 2022.
[11] A. A. Wani, “Comprehensive analysis of clustering algorithms : exploring limitations and innovative solutions,” 2024, doi: 10.7717/peerj-cs.2286.
[12] N. W. Wardani, P. Gede, S. Cipta, and G. S. Mahendra, “Implementasi Naïve Bayes Pada Data Mining Untuk Mengklasifikasikan Penjualan Barang Terlaris Pada Perusahaan Ritel,” vol. 12, no. 3, pp. 656–668, 2023, doi:https://doi.org/10.23887/jstundiksha.v12i3.38605
[13] P. J. R. Leonard Kaufman, “Clusturing By Means Of Medoids.”
[14] Y. Hasan, “Pengukuran Silhouette Score dan Davies-Bouldin Index pada Hasil Cluster K-means Dbscan,” vol. 06, no. 01, pp. 60–74, 2024.
[15] R. Indra Herdiana, M Alfin Kamal, Triyani, Mutia Nur Estri, “A more precise elbow method for optimum k-means clustering,” pp. 1–22.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Infotek: Jurnal Informatika dan Teknologi

This work is licensed under a Creative Commons Attribution 4.0 International License.
Semua tulisan pada jurnal ini menjadi tanggung jawab penuh penulis. Jurnal Infotek memberikan akses terbuka terhadap siapapun agar informasi dan temuan pada artikel tersebut bermanfaat bagi semua orang. Jurnal Infotek ini dapat diakses dan diunduh secara gratis, tanpa dipungut biaya sesuai dengan lisense creative commons yang digunakan.
Jurnal Infotek is licensed under a Creative Commons Attribution 4.0 International License.
Statistik Pengunjung


