Walmart Sales Forecasting using Different Models

Authors

  • Chenghao Yu

DOI:

https://doi.org/10.54097/kqf76062

Keywords:

Walmart sales, forecast, linear regression, random forest, lasso regression.

Abstract

This research study compares three regression models, namely Random Forest, Linear Regression, and Lasso Regression, to determine which model has better performance on predicting Walmart sales. Through the analysis of historical sales data, including factors such as time, unemployment rate, CPI, and temperature, the dataset have training and testing sets. Random Forest is implemented and compared with Linear Regression, a traditional statistical method, as well as Lasso Regression, which includes a regularization term for feature selection and prediction accuracy improvement. Performance evaluation is conducted using mean squared error,and R-squared score. The results consistently show that Random Forest outperforms both Linear Regression and Lasso Regression in predicting Walmart sales, demonstrating its accuracy and robustness. This research offers insights into predictive modeling in retail sales forecasting and highlights the potential for using Random Forest as a reliable tool for inventory control, demand forecasting, and strategic planning at Walmart and similar retailers. Overall, this study contributes to the understanding of sales prediction in the retail industry, suggesting avenues for future research in exploring advanced machine learning algorithms and data preprocessing techniques to further improve accuracy.

Downloads

Download data is not yet available.

References

Wikipedia contributors. Walmart. Wikipedia. 2023.

Crown, M. Weekly sales forecasts using non-seasonal arima models. 2016. Retrieved on December 12 2023.Retrieved from http://mxcrown.com/walmart-sales-forecasting/.

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.

Jeswani R. Predicting Walmart Sales, Exploratory Data Analysis, and Walmart Sales Dashboard. Rochester Institute of Technology, 2021.

Glen, S. Elementary statistics for the rest of us. 2016.

Mean Squared Error (MSE)". 2023.

Ho, T K. “The Random Subspace Method for Constructing Decision Forests.” IEEE Trans. Pattern Anal. Mach. Intell. 1998, 20: 832 - 844.

Tibshirani, Rt. “Regression Shrinkage and Selection via the Lasso.” Journal of the Royal Statistical Society. Series B (Methodological), 1996, 58 (1): 267 – 88.

Downloads

Published

10-04-2024

How to Cite

Yu, C. (2024). Walmart Sales Forecasting using Different Models. Highlights in Science, Engineering and Technology, 92, 302-307. https://doi.org/10.54097/kqf76062