Submitted:
15 August 2025
Posted:
15 August 2025
You are already at the latest version
Abstract

Keywords:
1. Introduction
2. Materials and Methods
2.1. Models used
2.2. Phases of Ensemble Stacking
2.2.1. Data Preparation
2.2.2. Model Selection
2.2.3. Training of Base Model
2.2.4. Hyperparameter Optimization
2.2.5. Formation of the Stack
2.2.6. Stack Prediction

2.2.7. Model Performance Metrics
3. Results
3.1. Model Performance
4. Discussion
5. Conclusions
References
- Y. Guo, F. Liu, J.-S. Song, and S. Wang, “Supply chain resilience: A review from the inventory management perspective,” Fundamental Research, Aug. 2024. [CrossRef]
- Y. Tadayonrad and A. B. Ndiaye, “A new key performance indicator model for demand forecasting in inventory management considering supply chain reliability and seasonality,” Supply Chain Analytics, vol. 3, p. 100026, Sep. 2023. [CrossRef]
- C.-Y. Chiang, Z. Qian, C.-H. Chuang, X. Tang, and C.-C. Chou, “Examining demand and supply-chain antecedents of inventory dynamics: Evidence from automotive industry,” Int J Prod Econ, vol. 259, p. 20 May 1088; 38. [CrossRef]
- Y. Zhao, H. Zhou, K. Kang, and B. Liu, “Robust ordering, production, and replenishment in a supply chain for innovative products: A two-echelon newsvendor problem with partial information in yield and demand,” Int J Prod Econ, vol. 279, p. 109414, Jan. 2025. [CrossRef]
- K. Sadeghi R. and M. Qaisari Hasan Abadi, “Sustainable supply chain resilience for logistics problems: Empirical validation using robust and computational intelligence methods,” J Clean Prod, vol. 437, p. 140267, Jan. 2024. [CrossRef]
- M.-F. Hsu, “Decision-making framework for sustainability-related supply chain risk management,” Comput Ind Eng, vol. 200, p. 110825, Feb. 2025. [CrossRef]
- X. Sun, Y.-H. Kuo, W. Xue, and Y. Li, “Technology-driven logistics and supply chain management for societal impacts,” Transp Res E Logist Transp Rev, vol. 185, p. 20 May 1035; 23. [CrossRef]
- E. Karelina, D. Ptitsyn, A. Podgornyy, S. Evtykov, and A. Marusin, “Formal strategy for solving problems of management and organization of processes in the transport and logistics systems of the Arctic region,” Transportation Research Procedia, vol. 57, pp. 2021. [CrossRef]
- N. Na, “Research on Supply Chain Demand Prediction Model Based on LSTM,” Procedia Comput Sci, vol. 243, pp. 2024. [CrossRef]
- Z. Liu, Y. Wang, and J. Feng, “Identifying supply chain R&D partners via multilayer institutional cooperation network and tailored link prediction,” Comput Ind Eng, vol. 201, p. 110887, Mar. 2025. [CrossRef]
- O. Bhowmik, S. O. Bhowmik, S. Chowdhury, J. H. Ashik, G. I. Mahmud, M. M. Khan, and N. U. I. Hossain, “Application of artificial intelligence in reverse logistics: A bibliometric and network analysis,” Supply Chain Analytics, vol. 7, p. 100076, Sep. 2024. [Google Scholar] [CrossRef]
- N. Bouanba, O. Barakat, and A. Bendou, “Artificial Intelligence & Agile Innovation: Case of Moroccan Logistics Companies,” Procedia Comput Sci, vol. 203, pp. 444–449, 2022. [CrossRef]
- G. Mugurusi and P. N. Oluka, “Towards Explainable Artificial Intelligence (XAI) in Supply Chain Management: A Typology and Research Agenda,” in Advances in Production Management Systems. Artificial Intelligence for Sustainable and Resilient Production Systems, 2021, pp. 32–38. [CrossRef]
- F. Olan, S. Liu, J. Suklan, U. Jayawickrama, and E. O. Arakpogun, “The role of Artificial Intelligence networks in sustainable supply chain finance for food and drink industry,” Int J Prod Res, vol. 60, no. 14, pp. 4418–4433, Jul. 2022. [CrossRef]
- Q. Liu, Y. Ma, L. Chen, W. Pedrycz, M. J. Skibniewski, and Z.-S. Chen, “Artificial intelligence for production, operations and logistics management in modular construction industry: A systematic literature review,” Information Fusion, vol. 109, p. 102423, Sep. 2024. [CrossRef]
- Alshdadi, A. A. Almazroi, and N. Ayub, “IoT-driven load forecasting with machine learning for logistics planning,” Internet of Things, vol. 29, p. 101441, Jan. 2025. [Google Scholar] [CrossRef]
- Benmamoun, and H. Hachimi, “Forecasting supply chain disruptions in the textile industry using machine learning: A case study,” Ain Shams Engineering Journal, vol. 15, no. 12, p. 103116, Dec. 2024. [CrossRef]
- M. Khedr and S. R. S, “Enhancing supply chain management with deep learning and machine learning techniques: A review,” Journal of Open Innovation: Technology, Market, and Complexity, vol. 10, no. 4, p. 100379, Dec. 2024. [CrossRef]
- P. Eichenseer, L. Hans, and H. Winkler, “A data-driven machine learning model for forecasting delivery positions in logistics for workforce planning,” Supply Chain Analytics, vol. 9, p. 100099, Mar. 2025. [CrossRef]
- Wu, C. Lin, D. Barnes, and Y. Zhang, “Partner selection in sustainable supply chains: A fuzzy ensemble learning model,” J Clean Prod, vol. 275, p. 123165, Dec. 2020. [Google Scholar] [CrossRef]
- H. Eldin Elzain, O. Abdalla, A. Al-Maktoumi, A. Kacimov, and M. Eltayeb, “A novel approach to forecast water table rise in arid regions using stacked ensemble machine learning and deep artificial intelligence models,” J Hydrol (Amst), vol. 640, p. 131668, Aug. 2024. [CrossRef]
- C.-F. Chien, C.-C. Ku, and Y.-Y. Lu, “Ensemble learning for demand forecast of After-Market spare parts to empower data-driven value chain and an empirical study,” Comput Ind Eng, vol. 185, p. 109670, Nov. 2023. [CrossRef]
- P. Eichenseer, L. Hans, and H. Winkler, “A data-driven machine learning model for forecasting delivery positions in logistics for workforce planning,” Supply Chain Analytics, vol. 9, p. 100099, Mar. 2025. [CrossRef]
- T. Demizu, Y. Fukazawa, and H. Morita, “Inventory management of new products in retailers using model-based deep reinforcement learning,” Expert Syst Appl, vol. 229, p. 120256, Nov. 2023. [CrossRef]
- M. Seyedan, F. Mafakheri, and C. Wang, “Cluster-based demand forecasting using Bayesian model averaging: An ensemble learning approach,” Decision Analytics Journal, vol. 3, p. 100033, Jun. 2022. [CrossRef]
- M. Seyedan, F. Mafakheri, and C. Wang, “Order-up-to-level inventory optimization model using time-series demand forecasting with ensemble deep learning,” Supply Chain Analytics, vol. 3, p. 100024, Sep. 2023. [CrossRef]
- Vafeiadis, A. Nizamis, D. Ioannidis, and D. Tzovaras, “Utilizing machine learning on freight transportation and logistics applications: A review,” ICT Express, vol. 9, no. 3, pp. 284–295, Jun. 2023. [CrossRef]
- H. Lee, S. G. Kim, H. Park, and P. Kang, “Pre-launch new product demand forecasting using the Bass model: A statistical and machine learning-based approach,” Technol Forecast Soc Change, vol. 86, pp. 49–64, Jul. 2014. [CrossRef]
- V. Siriwardena, D. Kosgoda, H. N. Perera, and I. Nielsen, “Inventory Decisions Under Stochastic Demand Scenario with High Inflation Rate – Machine Learning Approach,” IFAC-PapersOnLine, vol. 58, no. 19, pp. 2024. [CrossRef]
- E. Saha and P. Rathore, “A smart inventory management system with medication demand dependencies in a hospital supply chain: A multi-agent reinforcement learning approach,” Comput Ind Eng, vol. 191, p. 20 May 1101; 65. [CrossRef]
- W. Villegas-Ch, A. M. Navarro, and S. Sanchez-Viteri, “Optimization of inventory management through computer vision and machine learning technologies,” Intelligent Systems with Applications, vol. 24, p. 200438, Dec. 2024. [CrossRef]
- Kora, “A comprehensive review on ensemble deep learning: Opportunities and challenges,” Journal of King Saud University - Computer and Information Sciences, vol. 35, no. 2, pp. 757–774, Feb. 2023. [CrossRef]
- O. Sagi and L. Rokach, “Ensemble learning: A survey,” WIREs Data Mining and Knowledge Discovery, vol. 8, no. 4, Jul. 2018. [CrossRef]
- D. Mienye and Y. Sun, “A Survey of Ensemble Learning: Concepts, Algorithms, Applications, and Prospects,” IEEE Access, vol. 10, pp. 99129–99149, 2022. [CrossRef]
- Maclin, “Popular Ensemble Methods: An Empirical Study,” Journal of Artificial Intelligence Research, vol. 11, pp. 169–198, Aug. 1999. [CrossRef]
- S. O. Adebusola, P. A. Owolawi, J. S. Ojo, and P. S. Maswikaneng, “Optimized quality of service prediction in FSO links over South Africa using ensemble learning,” Opt Commun, vol. 579, p. 131509, Apr. 2025. [CrossRef]
- Breiman, “Random forests. Machine Learning,” Mach Learn, vol. 45, no. 1, pp. 2001; 32. [CrossRef]
- T. Chen and C. Guestrin, “XGBoost: A Scalable Tree Boosting System,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, New York, NY, USA: ACM, Aug. 2016, pp. 785–794. [CrossRef]
- R. Quinlan, “Induction of decision trees,” Mach Learn, vol. 1, no. 1, pp. 81–106, Mar. 1986. [CrossRef]
- G. Rebala, A. Ravi, and S. Churiwala, “Machine Learning Definition and Basics,” in An Introduction to Machine Learning, Cham: Springer International Publishing, 2019, pp. 1–17. [CrossRef]
- Y. Deng, M. R. Eden, and S. Cremaschi, “Metrics for Evaluating Machine Learning Models Prediction Accuracy and Uncertainty,” 2023, pp. 1325–1330. [CrossRef]










| Logistics Management | Indicator | Stacking | ML Models |
| Catering | Demand forecast for materials by location | 1 | K-Nearest Neighbors (KNN) |
| XGBoost | |||
| Random Forest | |||
| Linear Regression (meta-model) | |||
| Profitability of material purchased by location | 2 | Random Forest | |
| Decision Tree | |||
| Gradient Boosting | |||
| Linear Regression (meta-model) | |||
| Monthly revenue generated by material sales by location | 3 | Gradient Boosting | |
| Catboost | |||
| Random Forest | |||
| Linear Regression (meta-model) | |||
| Inventory | Total monthly inventory by category | 1 | K-Nearest Neighbors (KNN) |
| XGBoost | |||
| Random Forest | |||
| Linear Regression (meta-model) | |||
| Average monthly inventory by location | 2 | Gradient Boosting | |
| CatBoost | |||
| Random Forest | |||
| Linear Regression (meta-model) | |||
| Distribution | Average monthly material distributed by category | 1 | Catboost |
| K-Nearest Neighbors (KNN) | |||
| XGBoost | |||
| Linear Regression (meta-model) |
| Models | MSE | R² | RMSE | MAE |
|---|---|---|---|---|
| KNN | 0.0040 | 0.9068 | 0.0632 | 0.0482 |
| XGBoost | 0.0030 | 0.9295 | 0.0549 | 0.0420 |
| Random Forest | 0.0036 | 0.9149 | 0.0603 | 0.0458 |
| Meta- model | 0.0025 | 0.9419 | 0.0498 | 0.0379 |
| Models | MSE | R² | RMSE | MAE |
|---|---|---|---|---|
| Gradient Boosting | 0.0043 | 0.9010 | 0.0657 | 0.0485 |
| Decision Tree | 0.0092 | 0.7896 | 0.0958 | 0.0712 |
| Random Forest | 0.0046 | 0.8942 | 0.0680 | 0.0505 |
| Meta-model | 0.0039 | 0.9106 | 0.0625 | 0.0480 |
| Models | MSE | R² | RMSE | MAE |
|---|---|---|---|---|
| Gradient Boosting | 0.0043 | 0.9016 | 0.0653 | 0.0479 |
| CatBoost | 0.0042 | 0.9034 | 0.0648 | 0.0494 |
| Random Forest | 0.0044 | 0.8996 | 0.0660 | 0.0496 |
| Meta-model | 0.0038 | 0.9117 | 0.0619 | 0.0451 |
| Models | MSE | R² | RMSE | MAE |
|---|---|---|---|---|
| KNN | 0.0194 | 0.7019 | 0.1392 | 0.0848 |
| XGBoost | 0.0315 | 0.5152 | 0.1775 | 0.1073 |
| Random Forest | 0.0240 | 0.6301 | 0.1551 | 0.0925 |
| Meta-Model | 0.0191 | 0.7058 | 0.0838 | 0.1383 |
| Models | MSE | R² | RMSE | MAE |
|---|---|---|---|---|
| Gradient Boosting | 0.0179 | 0.7064 | 0.1338 | 0.0828 |
| CatBoost | 0.0175 | 0.7124 | 0.1324 | 0.0850 |
| Random Forest | 0.0177 | 0.7097 | 0.1331 | 0.0852 |
| Meta-Model | 0.0147 | 0.7589 | 0.1213 | 0.0771 |
| Models | MSE | R² | RMSE | MAE |
|---|---|---|---|---|
| KNN | 0.0153 | 0.6588 | 0.1239 | 0.0865 |
| XGBoost | 0.0122 | 0.7299 | 0.1103 | 0.07726 |
| CatBoost | 0.0049 | 0.8910 | 0.0700 | 0.0520 |
| Meta-Model | 0.0147 | 0.6722 | 0.1214 | 0.0837 |
| Reference | Models | Metrics | |||
|---|---|---|---|---|---|
| MAE | RMSE | MSE | R2 | ||
| [23] | MA | 160.6 | 180.79 | 191979.06 | - |
| NS | 163.43 | 184.08 | 191963.34 | - | |
| LR | 109.17 | 127.02 | 103381.32 | - | |
| LGBM | 76.02 | 82.96 | 42045.96 | - | |
| [24] | MA | 0.666 | 1.001 | - | 0.24 |
| BNN | 0.625 | 0.969 | - | 0.287 | |
| MAML | 0.636 | 0.956 | - | 0.306 | |
| [25] | LST | 67.147 | 11.927 | 8.169 | - |
| Prophet | 304.366 | 316.661 | 9.92 | - | |
| Simple average | 29.041 | 35.813 | 8.753 | - | |
| BMA | 27.393 | 32.887 | 8.177 | - | |
| [26] | MLP | 5.05 | 5.93 | 12.64 | - |
| LSTM | 4.18 | 5.21 | 10.12 | - | |
| 1D-CNN | 6.2 | 7.96 | 14.76 | - | |
| Poposed model | 3.56 | 4.99 | 9.58 | - | |
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/).