Abstract:
Accurate demand forecasting has become extremely important, particularly in the food industry, because many products have a short shelf life, and improper inventory management can result in significant waste and loss for the company. Several machine learning and deep learning techniques recently showed substantial improvements when handling time-dependent data. This paper takes the ‘Food Demand Forecasting’ dataset released by Genpact, compares the effect of various factors on demand, extracts the characteristic features with possible influence, and proposes a comparative study of seven regressors to forecast the number of orders. In this study, we used Random Forest Regressor, Gradient Boosting Regressor (GBR), Light Gradient Boosting Machine Regressor (LightGBM), Extreme Gradient Boosting Regressor (XGBoost), Cat Boost Regressor, Long Short-Term Memory (LSTM), Bidirectional LSTM (BiLSTM) in particular. The results demonstrate the potential of deep learning models in forecasting and highlight the superiority of LSTM over other algorithms. The Root Mean Squared Log Error(RMSLE), Root Mean Square Error(RMSE),Mean Average Percentage Error(MAPE), and Mean Average Error(MAE) reach 0.28, 18.83, 6.56%, and 14.18, respectively.