Machine learning based forecasting of hospital waste generation through comparative evaluation of hyperparameter optimization strategies in Kerman City of Iran
Precise forecasting of medical waste volumes is essential for the sustainable operation of healthcare systems. In this work, we construct an XGBoost forecasting framework augmented by four optimization strategies Spider Monkey Optimization, Random Search, Artificial Bee Colony, and Grid Search to predict the generation of hospital waste. An extensive assessment indicates that the Spider Monkey Optimization (SMO) algorithm outperformed other methods on the test set, achieving R² = 0.958, NSE = 0.958, and IA = 0.988, with error metrics of RMSE = 53.61 kg/day and MAE = 40.80 kg/day. These results closely mirror the training performance (R² = 0.969, NSE = 0.969, IA = 0.992), highlighting the model’s robustness and reliability. The Artificial Bee Colony method delivered the highest training accuracy (R² = 0.989, IA = 0.997) but exhibited slightly reduced generalization on the test set (R² = 0.956). In contrast, the Grid Search approach demonstrated the most conservative outcomes (test R² = 0.915, IA = 0.973), whereas Random Search achieved a test R² of 0.949, surpassing Grid Search by 3.7%. A detailed error analysis indicates that SMO lowered the test RMSE by 9.3% relative to Random Search (from 59.13 to 53.61 kg/day) and by 29.7% compared to Grid Search (from 76.26 to 53.61 kg/day). A minimal discrepancy of less than 2% between SMO’s training and testing IA values (0.992 → 0.988) underscores its exceptional predictive stability. Overall, comparative analysis reveals that bio-inspired optimization techniques (SMO, ABC) deliver superior forecasting accuracy relative to traditional methods, with SMO striking the optimal balance between low training error (RMSE = 32.64 kg/day) and reliable test performance. This framework provides healthcare managers with a powerful decision-support system for optimizing waste management logistics, particularly in low-resource environments where a 5–10% gain in predictive precision can markedly improve operational effectiveness.
Authors
- Hossein Jafari Mansoorian (ORCID: https://orcid.org/0000-0001-7465-3635)
- Mansour Baziar (ORCID: https://orcid.org/0000-0001-5005-6537)
- Vahide Oskoei (ORCID: https://orcid.org/0000-0002-4445-3912)
- Mahmood Yousefi (ORCID: https://orcid.org/0000-0002-4501-5236)
- Ahmad Rajabizadeh (ORCID: https://orcid.org/0000-0003-0765-2223)
- Homeyra Yazdani
Institutions
- Hamedan University of Medical Sciences (IR)
- Deakin University (AU)
- Kerman University of Medical Sciences (IR)
- Birjand University of Medical Sciences (IR)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-11-29
- DOI
- https://doi.org/10.1038/s41598-026-82055-y
- Primary Topic
- Healthcare and Environmental Waste Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00