Machine learning based forecasting of hospital waste generation through comparative evaluation of hyperparameter optimization strategies in Kerman City of Iran
Abstract
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.
// Source
Authors: Hossein Jafari Mansoorian, Mahmood Yousefi, Vahide Oskoei, Mansour Baziar, Homeyra Yazdani, Ahmad Rajabizadeh
Institutions: Deakin University, Hamedan University of Medical Sciences, Kerman University of Medical Sciences, Birjand University of Medical Sciences