Key points are not available for this paper at this time.
In contemporary society, the proliferation of supermarkets in densely populated urban areas is providing consumers with an abundance of choices and at the same time put supermarket companies into a highly competitive environment. In order to thrive in this market environment, it is of great importance for supermarket corporations to trace, record, and analyse their sales data so that they could have a better understanding of their customer behaviours. And machine learning is commonly applied in this sort of scenarios. By leveraging the insights generated through predictive analysis, machine-learning models can help companies to optimize inventory management, refine pricing strategies, and create effective marketing campaigns. This article applies three machine-learning algorithms to train and test the same data in order to find the model generating the best prediction of quantity sold for the target dataset. Linear Regression, Random Forest, and XGBoost are the three methods used to create three different machine-learning models. After evaluating the R-squared scores generated by three models, it turns out that the Random Forest Model displays the most precise prediction of the target variable, which generates an R-squared score of 99.27%. Thus, the Random Forest Model is the best model for sales prediction in this case.
Yining Ma (Fri,) studied this question.