Walmart Sales Prediction Based on Decision Tree, Random Forest, and K Neighbors Regressor
DOI:
https://doi.org/10.54097/hbem.v5i.5100Keywords:
Sales prediction, Machine learning, Random Forest Regressor.Abstract
Sales forecasting is a very important research direction in the business and academic fields, and sales forecasting methods are also in full bloom, such as time series model, machine learning model and deep neural network model. This paper will use three machine learning models: Decision Tree Regressor, Random Forest Regressor, and K Neighbors Regressor to predict Walmart Recruiting - Store Sales data. Using correlation, mean absolute error, and mean square error to evaluate the prediction results of these three models, it is found that the prediction effect of Random Forest Registrar performs the best of these three models. The R2 value between the predicted sales volume of Random Forest Regressor and the sales volume of the test set is 0.937, the average absolute error is 1937.810, and the mean square error is 32993323.634. Therefore, Walmart can use Random Forest Regressor when forecasting the weekly sales of its own stores. At the same time, this paper provides a good model reference value (especially Random Forest Regressor) for other industries when researching the sales forecast, as well as methods for evaluating different model predictions. Overall, these results shed light on guiding further exploration of Sales forecasts for supermarkets.
Downloads
References
Hu W, Zhang X. Commodity sales forecast based on ARIMA model residual optimization. 2020 5th International Conference on Communication, Image and Signal Processing (CCISP). IEEE, 2020: 229 - 233.
Wu L, Yan, J. Y., Fan Y. J. Data Mining Algorithms and Statistical Analysis for Sales Data Forecast. Proceedings of the 2012 Fifth International Joint Conference on Computational Sciences and Optimization June 2012, pp. 577 – 581.
Comlan M, Koulo E. Sales Forecast and Design Generation for Textile Products Using Machine Learning. Future of Information and Communication Conference. Springer, Cham, 2022: 183 - 197.
Zhou M, Wang Q. The on-line electronic commerce forecast based on least square support vector machine. 2009 Second International Conference on Information and Computing Science. IEEE, 2009, 2: 75 - 78.
Li Z, Li R, Shang Z, et al. Application of bp neural network to sale forecast for H company. Proceedings of the 2012 IEEE 16th International Conference on Computer Supported Cooperative Work in Design (CSCWD). IEEE, 2012: 304 - 307.
Singh M, Ghutla B, Jnr R L, et al. Walmart's Sales Data Analysis-A Big Data Analytics Perspective. 2017 4th Asia-Pacific World Congress on Computer Science and Engineering (APWC on CSE). IEEE, 2017: 114 - 119.
de Rezende R, Egert K, Marin I, et al. A white-boxed ISSM approach to estimate uncertainty distributions of Walmart sales. International Journal of Forecasting, 2021.
Harsoor A S, Patil A. Forecast of sales of Walmart store using big data applications. International Journal of Research in Engineering and Technology, 2015, 4 (6): 51 - 59.
Thornley D J, Zverev M, Petridis S. Machine learned regression for abductive DNA sequencing. Sixth International Conference on Machine Learning and Applications (ICMLA 2007). IEEE, 2007: 254 - 259.
Aruna M, Anjana M, Chauhan H, et al. Optimized Hyperparameter Tuned Random Forest Regressor Algorithm in Predicting Resale Car Value based on Grid Search Method. ResearchGate 2021.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
 
						 
							 
            
         
             
             
                






 
  
