Prediksi Barang Keluar TB. Wijaya Bangunan Menggunakan Algoritma KNN Regression dengan RStudio

Abstract

TB. Wijaya Bangunan is a business entity that has weaknesses in managing inventories. This study aims to help TB. Wijaya Bangunan in managing inventory based on existing data reduce the difference between the number of incoming goods and the number of outgoing goods. The methods used are data collection, data preparation, data selection, preprocessing, data transformation, distance calculation, calculation of predictions, evaluation, and display of prediction results using a Shiny framework. This study uses the Time Series KNN Regression algorithm to predict the number of outgoing goods based on time series data with existing data. The most predicted results came out in the 9th week period as much as 22.40%. Based on the process that has been done, it can be concluded that the evaluation value of Root Mean Square Error (RMSE) is at least 3.55, which means it has the best predictive accuracy results.