Main Article Content
Classification is a technique used to build a classification model from a sample of training data. One of the most popular classification techniques is The K-Nearest Neighbor (KNN). The KNN algorithm has important parameter that affect the performance of the KNN Algorithm. The parameter is the value of the K and distance matrix. The distance between two points is determined by the calculation of the distance matrix before classification process by the KNN. The purpose of this study was to analyze and compare performance of the KNN using the distance function. The distance functions are Braycurtis Distance, Canberra Distance and Euclidean Distance based on an accuracy perspective. This study uses the Iris Dataset from the UCI Machine Learning Repository. The evaluation method used id 10-Fold Cross-Validation. The result showed that the Braycurtis distance method had better performance that Canberra Distance and Euclidean Distance methods at K=6, K=7, K=8 ad K=10 with accuracy values of 96 %.
Hu, L.-Y., Huang, M.-W., Ke, S. –W., & Tsai C.-F. (2016). The distance function effect on K-Nearest Neighbor classification for medical datasets. SpringerPlus.
Kaur, D. 2014. A comparative study of various distance measure for software fault prediction. International Journal of Computer Trends and Technology (IJCTT).
Moghtadaiee, V. &Dempster, A. 2015. Vector distance measure comparison in indoor location fingerprinting. International Global Navigation Satellite Systems Society (IGNSS Symposium).
Mulak&Talhar, N. 2015. Analysis of Distance Measurs Using K-Nearest Neighbor Algorithm on KDD Dataset. International Journal of Science and Research (IJSR).
Okfalisa et al. 2017. Comparative Analysis of K-Nearest Neighbor and Modified K-Nearest Neighbor Algorithm for Data Classification. International Conference on Information Technology, Information Systems and Electrical Engineering (ICITISEE).
Vashistha, R., & Nagar, S.2017.An intelligent system for clustering using hybridization of distance function in learning vector quantization algorithm. 2017 Second International Conference on Electrical, Computer and Communication Technologies (ICECCT), pp. 1-7.
Viriyavisuthisakul, S.,et al. 2015. A comparison of similarity measures for online social media Thai text classification. 2015 12th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON), pp. 1-6.
Wurdianarto, S.R., Novianto,S. &Rosyidah, U. 2014. Perbandinganeuclidean distance dengancanberra distance pada face recognition. Techni.COM13(1): 31-37.