Published: 2024-08-01

Predicting Consumer Demand Based on Retail Stock Using the K-Nearest Neighbors Algorithm

DOI: 10.35870/ijsecs.v4i2.2865

Anindya Putri N.A, Wahyu Hadikristanto, Edora

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

K-NN ; Data Mining ; Retail Stock ; Classification

Peer Review Process

This article has undergone a double-blind peer review process to ensure quality and impartiality.

Indexing Information

Discover where this journal is indexed at our indexing page to understand its reach and credibility.

Open Science Badges

This journal supports transparency in research and encourages authors to meet criteria for Open Science Badges by sharing data, materials, or preregistered studies.

Issue Cover

Downloads

Article Metrics

If the link doesn't work, copy the DOI or article title for manual search (API Maintenance).

Share:
Article Information

This article has been peer-reviewed and published in the International Journal Software Engineering and Computer Science (IJSECS). The content is available under the terms of the Creative Commons Attribution 4.0 International License.

  • Issue: Vol. 4 No. 2 (2024)

  • Section: Articles

  • Published: August 1, 2024

AI Research Hub

This article is indexed and available through various AI-powered research tools and citation platforms. Our AI Research Hub ensures that scholarly work is discoverable, accessible, and easily integrated into the global research ecosystem. By leveraging artificial intelligence for indexing, recommendation, and citation analysis, we enhance the visibility and impact of published research.

Semantic Scholar Scite Dimensions Connected Papers

Similar Articles

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)