Abstract
Inefficient stock management, such as improper stock management, will result in excess or shortage of goods. Excess stock can cause high storage costs and the risk of unsold goods. Predict consumer needs based on stock. Analyze inefficient stock to improve shortages. One effective method for making this prediction is using the K-Nearest Neighbors (K-NN) algorithm. The K-NN algorithm is a simple but powerful machine-learning technique that can be used for classification and regression. The model scenario results show 24 objects in the Low-needs group and 14 in the High-needs group. Evaluation and performance testing using the Rapid Miner tool can also produce a relevant picture of the modelled scenario. The model implemented using the K-NN algorithm has an Accuracy value of 97.50% with a Standard Deviation of +/- 750%, then a Precision value of 100%, and a Recall value of 950%. By measuring model performance with cross-validation, the resulting accuracy has a standard deviation value, which aims to see the distance between the average accuracy and the accuracy of each experiment (iteration)
Keywords
Article Details
How to Cite
Citation FormatReferences
20 References- Darmi, Y., & Setiawan, A. (2016). Penerapan Metode Clustering K-Means Dalam Pengelompokan Penjualan Produk. Jurnal Media Infotama, Universitas Muhammadiyah Bengkulu, 12(2), 148–157.
- Hasanah, H., Larasati, W., & Komputer, F. I. (2019). Pemanfaatan Data Mining Untuk Mengelompokkan. Universitas Duta Bangsa Surakarta, 292–300.
- Fahlevi, R. (2020). Penerapan Genetic Modified K-Nearest Neighbor Dalam Klasifikasi Penerima Beras Sejahtera.
- Muttaqin, A. G., Auliasari, K., & Wahyuni, F. S. (2020). Penerapan Metode K-Nearest Neighbor Untuk Prediksi Penjualan Berbasis Web Pada PT Wika Industri Energy. Jati (Jurnal Mahasiswa Teknik Informatika), 4(2), 1–6. https://doi.org/10.36040/Jati.V4i2.2728
- Mujilahwati, S., & Windasari, L. D. (2024). Implementasi Metode K-Nearest Neighbor (K-Nn) Untuk Memprediksi Penjualan Buah Di Indonesia Berbasis Website. Seminar Nasional Teknologi Sains, 3(1), 7–14. https://doi.org/10.29407/Stains.V3i1.4077
- Iku, M. H., Mustofa, Y. A., & Kumala, I. S. (2019). Metode K-Nearest Neighbor Untuk Memprediksi Harga Eceran Beras Di Pasar Tradisional Gorontalo. Jurnal Cosphi, 3(2), 50–53.
- Hamdani, R. (2020). Pengelompokkan Loyalitas Pelanggan Dengan Menggunakan Kombinasi Rfm Dan Algoritma K-Means. Journal Of Informatic Pelita Nusantara, 5(1), 7-13.
- Pramana, I., & Sudiarsa, I. W. (2023). Penerapan Algoritma Naive Bayes Untuk Prediksi Penjualan Produk Terlaris Pada Cv Akusara Jaya Abadi. Jatisi (Jurnal Teknik Informatika), 10(4), 518–534.
- Prastiwi, H., Pricilia, J., & Rasywir, E. (2022). Implementasi Data Mining Untuk Menentukan Persediaan Stok Barang Di Mini Market Menggunakan Metode K-Means Clustering. Jurnal Informasi dan Rekayasa Komputer (Jakakom), 2(1), 141–148. https://doi.org/10.33998/Jakakom.2022.2.1.34
- Febriyanti, A., Bancin, P. V., & Amanda, S. (2022). Penerapan Metode K-Means Clustering Dalam Pengelompokan Data Penjualan Barang Pada PT Swasti Tunggal Mandiri. J-Com (Journal of Computer Science), 2(3), 205–210. https://doi.org/10.33330/J-Com.V2i3.1936
- Sallaby, A. F., Alinse, R. T., Sari, V. N., & Ramadani, T. (2022). Pengelompokan Barang Menggunakan Metode K-Means Clustering Berdasarkan Hasil Penjualan Di Toko Widya Bengkulu. Jurnal Media Infotama, 18(1).
- Fakhriza, M. H., & Umam, K. (2021). Analisis Produk Terlaris Menggunakan Metode K-Means Clustering Pada PT Sukanda Djaya. Jika (Jurnal Informasi dan Komputer Akuntansi), 5(1), 8. https://doi.org/10.31000/Jika.V5i1.3236
- Alfani, W. P. R., Rozi, F., & Sukmana, F. (2021). Prediksi Penjualan Produk Unilever Menggunakan Metode K-Nearest Neighbor. Jipi (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika), 6(1), 155–160. https://doi.org/10.29100/Jipi.V6i1.1910
- Rismala, R., Ali, I., & Rinaldi, A. R. (2023). Penerapan Metode K-Nearest Neighbor Untuk Prediksi Penjualan Sepeda Motor Terlaris. Jati (Jurnal Mahasiswa Teknik Informatika), 7(1), 585–590. https://doi.org/10.36040/Jati.V7i1.6419
- Irfayanti, Y., & Satria, M. I. (2020). Implementasi Metode K-Nearest Neighbor Untuk Prediksi Penjualan Beton Instan Pada PT Decon Multi Industri. Sentinel, 3(2), 288–300. https://doi.org/10.56622/Sentineljournal.V3i2.25
- Saepudin, A., Aryanti, R., Fitriani, E., & Dahlia, D. (2020). Optimasi Algoritma SVM Dan k-NN Berbasis Particle Swarm Optimization Pada Analisis Sentimen Fenomena Tagar# 2019GantiPresiden. Jurnal Khatulistiwa Informatika, 6(1), 95-102.
- Assistance, V. D. (2021). Optimasi Parameter K Pada Algoritma K-Nn Untuk Klasifikasi Prioritas Bantuan Pembangunan Desa. Jurnal Teknik Informatika, 20(1), 83–96.
- Roni, S., Crysdian, C., & History, A. (2022). Jurnal Teknologi Dan Manajemen Informatika Studi Literature Analisis Potensi Pasar Marketplace Terhadap Penjualan. Jurnal Teknologi dan Manajemen Informatika, 8(2), 134–142.
- Imron, M. A. (2020). Peningkatan Akurasi Algoritma K-Nearest Neighbor Menggunakan Normalisasi Z-Score dan Particle Swarm Optimization untuk Prediksi Customer Churn.
- Desyanti, D., & Wulandari, D. (2022). Implementasi Algoritma K-Nearest Neighbour Dalam Memprediksi Stok Sepeda Motor. Building Informatics Technology Science, 4(3), 1576–1581. https://doi.org/10.47065/Bits.V4i3.2579.
License
Copyright (c) 2024 Anindya Putri N.A, Wahyu Hadikristanto, Edora

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
This is an open-access journal distributed under the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, reproduction, and adaptation in any medium (even commercially), provided appropriate credit is given to the original author(s), a link to the license is provided, and any changes made are indicated. Authors retain copyright without restrictions and grant the journal the right of first publication as well as non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.
Downloads
OJS UsageStats PluginSimilar Articles
- K-Nearest Neighbor for Gorontalo City Chili Price Prediction Using Feature Selection, Backward Elimination, and Forward Selection Abdul Yunus Labolo, Siti Andini Utiarahman, Mohamad Efendi Lasulika, Ivo Colanus Rally Drajana, Andi Bode · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 3 No. 3 (2023): DECEMBER 2023
- Classification of Production Machine Spare Part Stock Data Request Needs Using The K-Nearest Neighbor Method Hamdi Yansyah, Sifa Fauziah, Donny Maulana · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 3 No. 3 (2023): DECEMBER 2023
You may also start an advanced similarity search for this article.
Most read articles by the same author(s)
- Estimating Distributor Demand for Fishing Gear Products Using Linear Regression Algorithm Keswanto, Wahyu Hadikristanto, Edora · Vol. 4 No. 2 (2024): AUGUST 2024
- Grouping Production Goods Requirements Using the K-Means Clustering Method Dani Yuda Dwi Setiawan, Wahyu Hadikristanto, Edora · Vol. 4 No. 2 (2024): AUGUST 2024
Recommended Articles
Journal Transparency
Additional InformationLearn more about how this journal ensures quality, ethics, and transparency.