Submitted:
10 September 2025
Posted:
11 September 2025
You are already at the latest version
Abstract

Keywords:
1. Introduction
2. Materials and Methods
2.1. Data Preprocessing
2.2. Modeling
2.2.1. SARIMAX
2.2.2. Holt-Winters
2.2.3. LSTM
2.2.4. XGBoost
2.2.5. Hybrid Model
2.3. Experimental procedure
3. Results
4. Discussion
5. Conclusions
Abbreviations
| ACF | Autocorrelation function |
| ADAM | Adaptive Moment Estimation |
| ADF | Augmented Dickey-Fuller test |
| AI | Artificial Intelligence |
| ARIMA | AutoRegressive Integrated Moving Average |
| IL | Inference latency |
| kB | Kilobytes |
| LSTM | Long Short-Term Memory |
| MAPE | Mean absolute percentage error |
| ME | Margins of error |
| MiB | Mebibytes |
| MS | Milliseconds |
| MTS | Make-to-stock |
| PACF | Partial autocorrelation function |
| RAM | Random Access Memory |
| ReLU | Rectified Linear Unit |
| SARIMAX | Seasonal AutoRegressive Integrated Moving Average with eXogenous variables |
| sMAPE | Symmetric mean absolute percentage error |
| TL | Training latency |
| XGBoost | Extreme Gradient Boosting |
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
References
- Kumar, R. A Comprehensive Study on Demand Forecasting Methods and Algorithms for Retail Industries. J. Univ. Shanghai Sci. Technol 2021, 23, 409–420. [Google Scholar]
- Ackermann, A.E.; Sellitto, M.A. Métodos de previsão de demanda: uma revisão da literatura. Innovar 2022, 32, 83–99. [Google Scholar] [CrossRef]
- Tanizaki, T.; Hoshino, T.; Shimmura, T.; Takenaka, T. Restaurants store management based on demand forecasting. Procedia CIRP 2020, 88, 580–583. [Google Scholar] [CrossRef]
- Arunkumar, O.; Divya, D. Deep learning techniques for demand forecasting: review and future research opportunities. Information Resources Management Journal (IRMJ) 2022, 35, 1–24. [Google Scholar] [CrossRef]
- Zhang, L.; Bian, W.; Qu, W.; Tuo, L.; Wang, Y. Time series forecast of sales volume based on XGBoost. In Proceedings of the Journal of Physics: Conference Series. IOP Publishing, Vol. 1873; 2021; p. 012067. [Google Scholar]
- Hahn, Y.; Langer, T.; Meyes, R.; Meisen, T. Time series dataset survey for forecasting with deep learning. Forecasting 2023, 5, 315–335. [Google Scholar] [CrossRef]
- Feizabadi, J. Machine learning demand forecasting and supply chain performance. International Journal of Logistics Research and Applications 2022, 25, 119–142. [Google Scholar] [CrossRef]
- Bernal Lara, I.I.; Lorenzo Diaz, R.J.; Sánchez Galván, M.d.l.Á.; Robles García, J.; Badaoui, M.; Romero Romero, D.; Moreno Flores, R.A. Probabilistic Demand Forecasting in the Southeast Region of the Mexican Power System Using Machine Learning Methods. Forecasting 2025, 7, 39. [Google Scholar] [CrossRef]
- Fourkiotis, K.P.; Tsadiras, A. Applying machine learning and statistical forecasting methods for enhancing pharmaceutical sales predictions. Forecasting 2024, 6, 170–186. [Google Scholar] [CrossRef]
- Schmid, L.; Roidl, M.; Kirchheim, A.; Pauly, M. Comparing statistical and machine learning methods for time series forecasting in data-driven logistics—A simulation study. Entropy 2024, 27, 25. [Google Scholar] [CrossRef] [PubMed]
- Wang, X.; Hyndman, R.J.; Li, F.; Kang, Y. Forecast combinations: An over 50-year review. International Journal of Forecasting 2023, 39, 1518–1547. [Google Scholar] [CrossRef]
- Makridakis, S.; Spiliotis, E.; Assimakopoulos, V.; Semenoglou, A.A.; Mulder, G.; Nikolopoulos, K. Statistical, machine learning and deep learning forecasting methods: Comparisons and ways forward. Journal of the Operational Research Society 2023, 74, 840–859. [Google Scholar] [CrossRef]
- Inversion. Store Item Demand Forecasting Challenge. https://kaggle.com/competitions/demand-forecasting-kernels-only, 2018. Kaggle.
- McKinney, W.; et al. Data structures for statistical computing in Python. scipy 2010, 445, 51–56. [Google Scholar]
- Oliphant, T.E. Python for scientific computing. Computing in science & engineering 2007, 9, 10–20. [Google Scholar]
- Hunter, J.D. Matplotlib: A 2D graphics environment. Computing in science & engineering 2007, 9, 90–95. [Google Scholar]
- Waskom, M.L. Seaborn: statistical data visualization. Journal of open source software 2021, 6, 3021. [Google Scholar] [CrossRef]
- Seabold, S.; Perktold, J.; et al. Statsmodels: econometric and statistical modeling with python. SciPy 2010, 7, 92–96. [Google Scholar]
- Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine learning in Python. the Journal of machine Learning research 2011, 12, 2825–2830. [Google Scholar]
- Abadi, M.; Barham, P.; Chen, J.; Chen, Z.; Davis, A.; Dean, J.; Devin, M.; Ghemawat, S.; Irving, G.; Isard, M.; et al. {TensorFlow}: a system for {Large-Scale} machine learning. In Proceedings of the 12th USENIX symposium on operating systems design and implementation (OSDI 16); 2016; pp. 265–283. [Google Scholar]
- Carbonneau, R.; Laframboise, K.; Vahidov, R. Application of machine learning techniques for supply chain demand forecasting. European journal of operational research 2008, 184, 1140–1154. [Google Scholar] [CrossRef]
- Makridakis, S.; Spiliotis, E.; Assimakopoulos, V. Statistical and Machine Learning forecasting methods: Concerns and ways forward. PloS one 2018, 13, e0194889. [Google Scholar] [CrossRef]
- Abbasimehr, H.; Shabani, M.; Yousefi, M. An optimized model using LSTM network for demand forecasting. Computers & industrial engineering 2020, 143, 106435. [Google Scholar]
- Islam, B.u.; Ahmed, S.F. Short-term electrical load demand forecasting based on LSTM and RNN deep neural networks. Mathematical Problems in Engineering 2022, 2022, 2316474. [Google Scholar] [CrossRef]
- Giri, C.; Chen, Y. Deep learning for demand forecasting in the fashion and apparel retail industry. Forecasting 2022, 4, 565–581. [Google Scholar] [CrossRef]
- Cobo, M.; Menéndez Fernández-Miranda, P.; Bastarrika, G.; Lloret Iglesias, L. Enhancing radiomics and Deep Learning systems through the standardization of medical imaging workflows. Scientific data 2023, 10, 732. [Google Scholar] [CrossRef] [PubMed]
- Manigandan, P.; Alam, M.S.; Alharthi, M.; Khan, U.; Alagirisamy, K.; Pachiyappan, D.; Rehman, A. Forecasting natural gas production and consumption in United States-evidence from SARIMA and SARIMAX models. Energies 2021, 14, 6021. [Google Scholar] [CrossRef]
- Alharbi, F.R.; Csala, D. A seasonal autoregressive integrated moving average with exogenous factors (SARIMAX) forecasting model-based time series approach. Inventions 2022, 7, 94. [Google Scholar] [CrossRef]
- Tarsitano, A.; Amerise, I.L. Short-term load forecasting using a two-stage sarimax model. Energy 2017, 133, 108–114. [Google Scholar] [CrossRef]
- Kochetkova, I.; Kushchazli, A.; Burtseva, S.; Gorshenin, A. Short-term mobile network traffic forecasting using seasonal ARIMA and holt-winters models. Future Internet 2023, 15, 290. [Google Scholar] [CrossRef]
- Djakaria, I.; Saleh, S. Covid-19 forecast using Holt-Winters exponential smoothing. In Proceedings of the Journal of physics: conference series. IOP Publishing, Vol. 1882; 2021; p. 012033. [Google Scholar]
- Sawalha, S.; Al-Naymat, G. An Adaptive Holt–Winters Model for Seasonal Forecasting of Internet of Things (IoT) Data Streams. IoT 2025, 6, 39. [Google Scholar] [CrossRef]
- Sundermeyer, M.; Schlüter, R.; Ney, H. Lstm neural networks for language modeling. In Proceedings of the Interspeech, Vol. 2012; pp. 194–197. [Google Scholar]
- Sundermeyer, M.; Ney, H.; Schlüter, R. From feedforward to recurrent LSTM neural networks for language modeling. IEEE/ACM transactions on audio, speech, and language processing 2015, 23, 517–529. [Google Scholar] [CrossRef]
- Cao, J.; Li, Z.; Li, J. Financial time series forecasting model based on CEEMDAN and LSTM. Physica A: Statistical mechanics and its applications 2019, 519, 127–139. [Google Scholar] [CrossRef]
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural computation 1997, 9, 1735–1780. [Google Scholar] [CrossRef]
- Ghanbari, R.; Borna, K. Multivariate time-series prediction using LSTM neural networks. In Proceedings of the 2021 26th International Computer Conference, Computer Society of Iran (CSICC). IEEE; 2021; pp. 1–5. [Google Scholar]
- Xiao, F. Time series forecasting with stacked long short-term memory networks. arXiv preprint arXiv:2011.00697, arXiv:2011.00697 2020.
- Mishra, P.; Al Khatib, A.M.G.; Yadav, S.; Ray, S.; Lama, A.; Kumari, B.; Sharma, D.; Yadav, R. Modeling and forecasting rainfall patterns in India: a time series analysis with XGBoost algorithm. Environmental Earth Sciences 2024, 83, 163. [Google Scholar] [CrossRef]
- Cawood, P.; Van Zyl, T. Evaluating state-of-the-art, forecasting ensembles and meta-learning strategies for model fusion. Forecasting 2022, 4, 732–751. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. system. In Proceedings of the Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, 2016, pp.
- He, Y.; Tao, L.; Zhang, Z. Enhancing decomposition-based hybrid models for forecasting multivariate and multi-source time series by federated transfer learning. Expert Systems with Applications, 1277. [Google Scholar]
- Makridakis, S. Accuracy measures: theoretical and practical concerns. International journal of forecasting 1993, 9, 527–529. [Google Scholar] [CrossRef]
- Vancsura, L.; Tatay, T.; Bareith, T. Navigating AI-Driven Financial Forecasting: A Systematic Review of Current Status and Critical Research Gaps. Forecasting 2025, 7, 36. [Google Scholar] [CrossRef]
- St-Aubin, P.; Agard, B. Precision and reliability of forecasts performance metrics. Forecasting 2022, 4, 882–903. [Google Scholar] [CrossRef]
- Heizer, J.H.; Render, B. Principles of operations management; Pearson Educación, 2004.
- Hyndman, R.J.; Athanasopoulos, G. Forecasting: principles and practice; OTexts, 2018.
- Yazici, I.; Beyca, O.F.; Delen, D. Deep-learning-based short-term electricity load forecasting: A real case application. Engineering Applications of Artificial Intelligence 2022, 109, 104645. [Google Scholar] [CrossRef]





| Model | sMAPE (%) | TL (ms) | IL (ms) | Peak RAM (MiB) | Storage (kB) |
|---|---|---|---|---|---|
| SARIMAX | 1.21 ± 0.05 | 7740 ± 70 | 8.05 ± 0.09 | 408.23 | 116134 |
| Holt-Winters | 1.39 ± 0.06 | 183 ± 3 | 3.64 ± 0.08 | 236.58 | 31 |
| LSTM | 3.7 ± 0.1 | 19068 ± 1848 | 2100 ± 90 | 867.52 | 245 |
| XGBoost | 1.03 ± 0.04 | 54 ± 1 | 25.3 ± 0.1 | 359.58 | 112 |
| Holt-Winters + XGBoost | 1.36 ± 0.06 | 252 ± 2 | 29.9 ± 0.1 | 324.95 | 156 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).