Comparison and Evaluation of Euclidean and Canberra Distances in the Adaptive K-Means Algorithm for Classifying the Food Security Status of Indonesian Provinces
DOI:
https://doi.org/10.58471/ju-komi.v3i02.752Keywords:
K-Means Adaptive, Classification, Food Security Status, Euclidean Distance. Canberra DistanceAbstract
Food security issues in Indonesia are a major concern because they affect the sustainability of people's livelihoods and regional disparities. This study was conducted to classify food security conditions between provinces based on two main indicators, namely the Food Security Index and the Percentage of Adequate Food Consumption. The method used is the K-Means Adaptive algorithm with a comparison of two types of distance measurements, namely Euclidean and Canberra. The selection of centroids is done gradually using a probabilistic approach to improve the stability of the clustering results. Before conducting a comprehensive test, the method is first tested using sample data to see the characteristics of each distance function. Subsequently, all data were analyzed using Python programming, and the results were evaluated using the Silhouette Score metric. The analysis results showed that the Canberra distance function provided better clustering quality than the Euclidean function with a value of 0.415. This approach is expected to serve as a reference for more accurate and informative regional-based food security analysis.
References
Aditya, Agil, Ivan Jovian, and Betha Nurina Sari. 2020. “Implementasi K-Means Clustering Ujian Nasional Sekolah Menengah Pertama Di Indonesia Tahun 2018/2019.” Jurnal Media Informatika Budidarma 4(1): 51. doi:10.30865/mib.v4i1.1784.
Agus Lestari, Wiwit, Kurnia Paranita Kartika, and Saiful Nur Budiman. 2021. “Klasterisasi Siswa Berdasarkan Hasil Belajar Menggunakan K-Means Berbasis Web (Studi Kasus : Tk. Prima Insan Sholeh Talun).” JATI (Jurnal Mahasiswa Teknik Informatika) 6(1): 9–16. doi:10.36040/jati.v6i1.4261.
Anto, Andri, Tri Susilo, Novi Lestari, Program Studi Informatika, Universitas Bina Insan, Program Studi, Rekayasa Sistem, et al. 2024. “IMPLEMENTASI ALGORITMA K-MEANS CLUSTERING UNTUK ANALISIS.” 16(2): 84–93.
Azhar, Anisa Laila, Suliyanto Suliyanto, Nur Chamidah, Elly Ana, and Dita Amelia. 2023. “Pemodelan Indeks Ketahanan Pangan Di Indonesia Berdasarkan Pendekatan Regresi Logistik Ordinal Data Panel Efek Acak.” Jurnal Ketahanan Nasional 29(2): 166. doi:10.22146/jkn.86511.
Cadavid, Luis, Vivek Arulnathan, and Nathan Pelletier. 2024. “Food Security and Food Sovereignty: A Review of Commonly Used Indicators and Consideration of Environmental Sustainability Aspects.” Sustainability (Switzerland) 16(24). doi:10.3390/su162411034.
Desa, D I, and Bapinang Hulu. 2024. “Model Klasterisasi Data Penduduk Menggunakan Algoritma K-Means Untuk Mengetahui Prioritas Penerima Bantuan Sosial Di Desa Bapinang Hulu.” 7: 774–84. doi:10.37600/tekinkom.v7i2.1588.
Informasi, Fakultas Teknologi. 2017. “IMPLEMENTASI CLUSTERING K-MEANS DALAM DOMAIN WAVELET MENGGUNAKAN ADAPTIF SOFT-THRESHOLDING UNTUK DENOISING.”
Kurniawan, Deny, Dedi Triyanto, Mochamad Wahyudi, Sistem Informasi, Teknik Informatika, Universitas Bina, Sarana Informatika, Jl Kramat, and Raya No. 2022. “Comparison of Euclidean Distance, Camberra Distance, and Chebychev Distance in K-Means Algorithm Based on Dbi Evaluation.” Jurnal Mantik 5(36): 2830–38.
Mulyani, Heti, Ricak Agus Setiawan, and Halimil Fathi. 2023. “Optimization of K Value in Clustering Using Silhouette Score (Case Study: Mall Customers Data).” Journal of Information Technology and Its Utilization 6(2): 45–50. doi:10.56873/jitu.6.2.5243.
Salasa, Andi Rachman. 2021. “Paradigma Dan Dimensi Strategi Ketahanan Pangan Indonesia.” Jejaring Administrasi Publik 13(1): 35–48. doi:10.20473/jap.v13i1.29357.
Sulistiyawati, Ari, and Eko Supriyanto. 2021. “Implementasi Algoritma K-Means Clustring Dalam Penetuan Siswa Kelas Unggulan.” Jurnal Tekno Kompak 15(2): 25. doi:10.33365/jtk.v15i2.1162.
Syam, Febrizal Alfarasy. 2017. “Jurnal Ilmu Komputer Dan Bisnis, Volume 8, Nomor 1, Mei 2017.” Jurnal Ilmu Komputer dan Bisnis 8(Sunjana 2010): 1841–46.
Yulisasih, Baiq Nikum, Herman Herman, Sunardi Sunardi, and Herman Yuliansyah. 2024. “Evaluation of K-Means Clustering Using Silhouette Score Method on Customer Segmentation.” ILKOM Jurnal Ilmiah 16(3): 330–42. doi:10.33096/ilkom.v16i3.2325.330-342.








