Journal of Advanced Computer Knowledge and Algorithms
Vol 1, No 4 (2024): Journal of Advanced Computer Knowledge and Algorithms - October 2024

Implement the Analytical Hierarchy Process (AHP) and K-Nearest Neighbor (KNN) Algorithms for Sales Classification

Husna, Asmaul (Unknown)
Retno, Sujacka (Unknown)
Rijal, Himmatur (Unknown)



Article Info

Publish Date
01 Oct 2024

Abstract

The Analytical Hierarchy Process (AHP) and K-Nearest Neighbor (KNN) algorithms are two algorithms that have proven efficient in various classification and prediction applications. This research examines the application of these two algorithms in the context of selling goods in PIM supermarkets. In this research, AHP and KNN are used to classify goods sold based on various criteria such as price, number of stock items sold, total sales amount. The research results show that KNN outperforms AHP in predicting the best-selling, best-selling and least-selling items based on sales in 2022 at PIM supermarkets. Based on this research, it can be concluded that the KNN algorithm is suitable for predicting the classification of goods sales in PIM Supermarkets. This research classifies sales of goods using the Analytical Hierarchy Process (AHP) and K-Nearest Neighbor (KNN) methods. This research uses 3 criteria. By using the value K=1, the experimental results show that the highest KNN has an accuracy of 38%, while AHP has an accuracy of 32%. Differences in accuracy results can be influenced by parameter settings and characteristics of the dataset used. Therefore, further analysis of these factors is needed to understand the performance differences between the two methods.

Copyrights © 2024






Journal Info

Abbrev

jacka

Publisher

Subject

Computer Science & IT

Description

JACKA journal published by the Informatics Engineering Program, Faculty of Engineering, Universitas Malikussaleh to accommodate the scientific writings of the ideas or studies related to informatics science. JACKA journal published many related subjects on informatics science such as (but not ...