Implementation of the K-Nearest Neighbor (K-NN) Algorithm for Predicting Bestseller of Religious Books

Alfan Jamil, Hermanto Hermanto, Fajriyanto Fajriyanto

Sari


The development of information technology provides significant opportunities in data management to help make more accurate business decisions. One method used is data mining, especially the K-Nearest Neighbor (K-NN) technique which is quite effective in classification and forecasting based on past data. This study aims to apply the K-NN technique to predict sales of the most popular books and scriptures at the Assyarif Book Store, located at the Salafiyah Syafi'iyah Islamic Boarding School in Sukorejo. It is hoped that this method can help in planning stock and identifying products that are most in demand by customers. This study uses a quantitative approach with observation, interviews, and documentation collection methods. The data used include price, quantity sold, initial stock, and final stock. The results of the analysis using Euclidean Distance show that the K-NN technique is able to predict sales categories (best-selling or not-selling) with an accuracy level of 75% obtained from cross-validation testing, so it can be an effective solution to support sales management and data-based decisions.

Teks Lengkap:

PDF

Referensi


B. Susilo, N. A. Ramdhan, and O. S. Bachri, “Application of the K-Nearest Neighbor Algorithm for Predicting Digital Product Sales Penerapan Algoritma K-Nearest Neighbor untuk Prediksi Penjualan Produk Digital,†vol. 4, no. October, pp. 1466–1476, 2024.

M. Kafil and F. T. Industri, “Penerapan Metode K-Nearest Neighbors,†vol. 3, no. 2, pp. 59–66, 2019.

L. Suryadi, N. Ngajiyanto, N. E. Pratiwi, F. Ardhy, and P. Riswanto, “Penerapan Data Mining Prediksi Penjualan Mebel Terlaris Menggunakan Metode K-Nearest Neighbor(K-Nn) (Studi Kasus : Toko Zerita Meubel),†JUSIM (Jurnal Sist. Inf. Musirawas), vol. 7, no. 2, pp. 174–184, 2022, doi: 10.32767/jusim.v7i2.1697.

S. P. Dewi, N. Nurwati, and E. Rahayu, “Penerapan Data Mining Untuk Prediksi Penjualan Produk Terlaris Menggunakan Metode K-Nearest Neighbor,†Build. Informatics, Technol. Sci., vol. 3, no. 4, pp. 639–648, 2022, doi: 10.47065/bits.v3i4.1408.

A. Azis, A. T. Zy, and A. S. Sunge, “Prediksi Penjualan Obat Dan Alat Kesehatan Terlaris Menggunakan Algoritma K-Nearest Neighbor,†J. Teknol. Dan Sist. Inf. Bisnis, vol. 6, no. 1, pp. 117–124, 2024, doi: 10.47233/jteksis.v6i1.1078.

A. A. Putri, “Penerapan Data Mining Untuk Memprediksi Penjualan Buah Dan Sayur Menggunakan Metode K-Nearest Neighbor ( Studi Kasus : PT . Central Brastagi Utama ),†vol. 1, no. 6, pp. 354–361, 2021.

S. Tri Wijaya, I. Hartami Santi, and Z. Wulansari, “Penerapan Metode K-Nearest Neighbor Untuk Prediksi Harga Jagung Dengan Pengujian Rmse,†JATI (Jurnal Mhs. Tek. Inform., vol. 7, no. 2, pp. 1255–1260, 2023, doi: 10.36040/jati.v7i2.7391.

D. Ojol, “Implementasi Metode K-Nearest Neighbor Dalam Menentukan Waktu Optimal Penarikan Pesanan Driver Ojol 1,2,†vol. 11, no. 2, pp. 255–269, 2024.

A. Yogianto, A. Homaidi, and Z. Fatah, “Implementasi Metode K-Nearest Neighbors (KNN) untuk Klasifikasi Penyakit Jantung,†G-Tech J. Teknol. Terap., vol. 8, no. 3, pp. 1720–1728, 2024, doi: 10.33379/gtech.v8i3.4495.

M. Bakriansyah, A. Subair, and W. Setiawan, “Penerapan Data Mining Untuk Memprediksi Penjualan Produk Terlaris UD Timbul Jaya Menggunakan Metode K-Nearest Neighbor,†vol. 4, no. 2, pp. 327–337, 2025.

Taufik Hidayat, Yuni Handayani, and Ahmad Syaifudin, “Implementasi Algoritma K-Nearest Neighbor Untuk Meningkatkan Penjualan Produk Meuble dan Furniture,†J. Ilm. Rekayasa dan Manaj. Sist. Inf., vol. 9, no. 2, pp. 118–124, 2023.

K. Neighbor, D. Maulida, and Y. R. Nasution, “Prediksi Penjualan Produk Pepsodent Unilever dengan Algoritma,†vol. 5, no. 4, pp. 883–892, 2024, doi: 10.47065/josyc.v5i4.5718.

A. Ghani Muttaqin, K. Auliasari, and F. Santi Wahyuni, “Penerapan Metode K-Nearest Neighbor Untuk Prediksi Penjualan Berbasis Web Pada Pt.Wika Industri Energy,†JATI (Jurnal Mhs. Tek. Inform., vol. 4, no. 2, pp. 1–6, 2020, doi: 10.36040/jati.v4i2.2728.

F. B. Putra, M. T. Chulkamdi, and F. Febrinita, “IMPLEMENTASI DATA MINING UNTUK MEMPREDIKSI DATA STOK FUKUBI OUTFIT MENGGUNAKAN METODE K- NEAREST NEIGHBOR,†vol. 8, no. 5, pp. 9907–9914, 2024.

F. Hasanah, T. Suprapti, N. Rahaningsih, and I. Ali, “Implementasi Algoritma K-Nearest Neighbor dalam Menentukan Buku Berdasarkan Peminatan,†J. Account. Inf. Syst., vol. 5, no. 1, pp. 102–111, 2022, doi: 10.32627/aims.v5i1.467.




DOI: http://dx.doi.org/10.30811/jaise.v5i3.7352

Refbacks

  • Saat ini tidak ada refbacks.


Indexing :

Creative Commons License
Journal of Artificial Intelligence and Software Engineering (JAISE) licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.