AI & Computingarticle2026-11-18

Enhancing uncertain demand prediction in hospitals using simple and advanced machine learning

Open access2 citations

Abstract

Abstract Background Early and timely prediction of patient care demand not only affects effective resource allocation but also influences clinical decision-making as well as patient experience. Accurately predicting patient care demand, however, is a ubiquitous challenge for hospitals across the world due, in part, to the demand’s temporal uncertainty, and to the difficulty in modelling future trends. Methods We used data from the Rambam Medical Center in Israel between the years of 2004 and 2007. The dataset comprised aggregate hourly patient arrivals to the hospital, spanning emergency department attendances, direct ward admissions, and X-ray department arrivals. The time-varying linear approach predicted all patient arrivals to the hospital hourly over a week and over 3 days based on factors including day of the week and previous 7-day arrival patterns. The neural network method leveraged a long short-term memory (LSTM) model, capturing non-linear relationships between past data and forecasting windows of up to 7 days. We evaluated the predictive capabilities of the two proposed approaches compared to three existing approaches-a seasonal naive approach, a reduced-rank vector autoregressive (RVAR) model and the trigonometric seasonality, Box-Cox transformation, autoregressive moving average errors, trend, and seasonal components (TBATS) model. Forecasts were issued every day of the 2007 test period and compared with a paired block bootstrap. Results Neither proposed model convincingly outperformed the other. At the 7-day horizon, the time-varying linear model achieved the lowest errors of all models (MAE 4.24 [95% CI 4.11,4.38]), with a borderline advantage over the 7-day LSTM (difference 0.08 [ $$-$$ 0.01,0.15], p = 0.08). At the 3-day horizon, the LSTM trained for that horizon had the lowest MAE (4.20 [4.07,4.36]), but its difference from the linear model was not significant (0.04 [ $$-$$ 0.05,0.13], p = 0.38). Accuracy changed little between one and seven days ahead for either model. Both proposed models significantly outperformed the seasonal naive and TBATS benchmarks. Conclusion Both methods demonstrated an ability to capture hourly variability, with similar accuracy at both horizons. Given its interpretability, negligible training cost, online updating, and ability to serve every horizon with one model, the time-varying linear model is an attractive default for operational planning.

// Source

View paper (DOI)Open access versionOpenAlexBMC Medical Informatics and Decision MakingPublished 2026-11-18

Authors: Samuel Stockman, Bangdong Zhi, Richard M. Wood, Xun Wu, Oliver Y. Chén

Institutions: University of Bristol, University of Lausanne, University of Bath, Centre Hospitalier Universitaire Vaudois, National Health Service, NHS Bristol, North Somerset and South Gloucestershire Integrated Care Board