Forecasting Emergency Room Patient Volumes Using Extreme Gradient Boosting With Temporal and Seasonal Feature Engineering: A Comparative Study Across Hospitals

利用极端梯度提升结合时空特征工程预测急诊室患者量:一项跨医院的比较研究

阅读:1

Abstract

OBJECTIVE: Accurate forecasting of emergency department (ED) patient volumes is critical for optimizing hospital resource allocation and staffing. This preliminary study evaluates the performance of an eXtreme Gradient Boosting (XGBoost)-based regression model in predicting daily ED visit counts across three simulated hospitals, using time-series features derived from synthetic hospital data retrieved from a publicly available Kaggle dataset (n=300). METHODS: For each hospital, we trained an XGBoost model using engineered temporal features, recent lagged values, and rolling averages of past patient volumes. Feature engineering included day of the week, month, week of the year, quarter of the year, and weekend status. Model performance was benchmarked against three general baselines: a naive lag-1 predictor, a constant mean predictor, and a three-day rolling mean. Performance was assessed using mean squared error (MSE), root MSE (RMSE), mean absolute error (MAE), and R² score. RESULTS: The XGBoost model consistently outperformed all baseline methods across all hospitals. For Hospital 101, it achieved an R² of 0.55 compared to 0.27 for the rolling mean and negative R² values for naive and mean baselines. Hospital 102 showed improved accuracy with an R² of 0.69 versus 0.12 for the rolling mean. The best performance was observed at Hospital 103, where XGBoost achieved an R² of 0.81, significantly outperforming all baselines. Across all sites, XGBoost reduced RMSE and MAE by more than 40% relative to the best-performing baseline. CONCLUSION: Leveraging temporal and historical patterns in simulated ED data, the XGBoost model delivers markedly more accurate volume forecasts than traditional baseline methods. These findings on synthetic data support the potential for machine learning-based forecasting models in enhancing hospital operational decision-making, with future directions involving the use of real-world hospital data.

特别声明

1、本页面内容包含部分的内容是基于公开信息的合理引用;引用内容仅为补充信息,不代表本站立场。

2、若认为本页面引用内容涉及侵权,请及时与本站联系,我们将第一时间处理。

3、其他媒体/个人如需使用本页面原创内容,需注明“来源:[生知库]”并获得授权;使用引用内容的,需自行联系原作者获得许可。

4、投稿及合作请联系:info@biocloudy.com。