
Implementasi Algoritma K-Nearest Neighbor untuk Melakukan Klasifikasi Produk dari beberapa E-marketplace
Author(s) -
Danny Sebastián
Publication year - 2019
Publication title -
jutisi (jurnal teknik informatika dan sistem informasi)
Language(s) - English
Resource type - Journals
ISSN - 2443-2229
DOI - 10.28932/jutisi.v5i1.1581
Subject(s) - k nearest neighbors algorithm , nearest neighbor search , similarity (geometry) , computer science , weighting , product (mathematics) , data mining , value (mathematics) , cosine similarity , class (philosophy) , pattern recognition (psychology) , mathematics , artificial intelligence , machine learning , physics , geometry , acoustics , image (mathematics)
E-marketplace has gained popularity with the Indonesian society resulting in the increment of products offered. Consequently, customers require more effort to search for products. In this study, we classified products from several e-marketplaces. The classification was carried out using TF-IDF method for the weighting, cosine similarity to calculate product similarity distance, and k-nearest neighbor algorithm. Based on the first testing result using 150 product data, the k-nearest neighbor method with k=5 successfully classified 146 data with 4 data classified into the wrong class. This k=5 value gives the best result for this case, with an accuracy of 97.33%. The second testing result using 150 mixed brand product data, the k-nearest neighbor method successfully classified 145 data with 5 data classified into the wrong class. The accuracy of the second testing is 96.67%.