UTILIZING MACHINE LEARNING ALGORITHMS TO PREDICT PATIENT SURGES IN FUTURE EMERGENCY DEPARTMENTS
Abstract
Emergency departments face increasing pressure from unpredictable patient surges that can intensify overcrowding, treatment delays, staff workload, and resource shortages. This study aimed to develop and evaluate machine learning algorithms for predicting emergency demand across multiple hospitals and forecast horizons. A quantitative multi-site predictive modeling design combined retrospective records from 1,427,860 emergency encounters with prospective validation data from 151,632 visits. Seasonal ARIMA, Poisson regression, support vector regression, random forest, long short-term memory, extreme gradient boosting, and hybrid ensemble models were compared using temporal and external validation. Results showed that the hybrid ensemble achieved the strongest twenty-four-hour performance, with a mean absolute error of 21.84 patients, mean absolute percentage error of 6.58%, and an R-squared value of 0.91. The model also produced high six-hour surge sensitivity, while recent arrivals, occupancy, ambulance activity, infectious disease indicators, bed availability, weather, air quality, and public events emerged as influential predictors. Predictive accuracy declined for longer horizons and less frequent clinical categories. The study concludes that machine learning can strengthen emergency preparedness when forecasts are explainable, continuously validated, and connected to predefined staffing, triage, bed-management, and ambulance-response protocols.
Full text article
References
Agur, Z. (2026). Dysregulated metabolic homeostasis as a unifying death mechanism underlying the diverse clinical manifestations of COVID-19: Insights from a retrospective analysis of sequential blood variables. Frontiers in Medicine, 13(Query date: 2026-07-31 21:18:58). https://doi.org/10.3389/fmed.2026.1773937
https://doi.org/10.1186/s43066-023-00306-3
Albrecht, S. (2024). Forecasting severe respiratory disease hospitalizations using machine learning algorithms. BMC Medical Informatics and Decision Making, 24(1). https://doi.org/10.1186/s12911-024-02702-0
Alnaggar, A. (2025). Distributionally robust hospital capacity expansion planning under stochastic and correlated patient demand. Computers and Operations Research, 174(Query date: 2026-07-31 21:18:58). https://doi.org/10.1016/j.cor.2024.106887
Al-qaness, M. A. A. (2024). Chest X-ray Images for Lung Disease Detection Using Deep Learning Techniques: A Comprehensive Survey. Archives of Computational Methods in Engineering, 31(6), 3267–3301. https://doi.org/10.1007/s11831-024-10081-y
Chadha, U. (2026). Augmenting healthcare systems for pandemic preparedness: A Lean Six Sigma perspective. International Journal for Quality in Health Care, 38(2). https://doi.org/10.1093/intqhc/mzag071
Choo, L. X. (2025). Clinical practice in an age of medical misinformation and conspiracy theories. Internal Medicine Journal, 55(1), 158–164. https://doi.org/10.1111/imj.16588
Datta, D. (2024). Feature Identification Using Interpretability Machine Learning Predicting Risk Factors for Disease Severity of In-Patients with COVID-19 in South Florida. Diagnostics, 14(17). https://doi.org/10.3390/diagnostics14171866
Fan, W. (2025). Class-specific weighted broad learning system-based domain adaptation for patient-specific ECG classification. Expert Systems with Applications, 273(Query date: 2026-07-31 21:18:58). https://doi.org/10.1016/j.eswa.2025.126824
Ghosh, S. (2025). Biomarker-driven drug repurposing for NAFLD-associated hepatocellular carcinoma using machine learning integrated ensemble feature selection. Frontiers in Bioinformatics, 5(Query date: 2026-07-31 21:18:58). https://doi.org/10.3389/fbinf.2025.1522401
Gorrepati, L. P. (2026). DR-UCSS: A Distributionally Robust, Uncertainty-calibrated Counterfactual Safety-shielded Reinforcement Learning Framework for Hospital Operations. International Journal of Intelligent Engineering and Systems, 19(4), 286–302. https://doi.org/10.22266/ijies2026.0430.16
Goyal, S. (2025). Development of Mobile Apps to Optimize Performance Techniques Using Machine Learning Techniques. 2025 5th International Conference on Advancement in Electronics and Communication Engineering Aece 2025, (Query date: 2026-07-31 21:18:58), 1145–1150. https://doi.org/10.1109/AECE67531.2025.11386548
Grdi?, M. (2025). Bridging Technology and Healthcare: The Impact of AI in Surgical Instrument Classification. Tehnicki Glasnik, 19(3), 422–426. https://doi.org/10.31803/tg-20240516154449
Heidari, I. (2026). Forecasting and optimizing real-time ventilator allocation in healthcare systems using artificial intelligence and geographic clustering. Engineering Applications of Artificial Intelligence, 175(Query date: 2026-07-31 21:18:58). https://doi.org/10.1016/j.engappai.2026.114427
Hiwase, A. D. (2025). Chemical Pneumonitis Detection using Machine Learning. 16th International Conference on Advances in Computing Control and Telecommunication Technologies Act 2025, 2(Query date: 2026-07-31 21:18:58), 3183–3187.
Hodgson, M. (2025). Finite element model and experimental validation of a solitary wave-based tonometer. Journal of the Mechanical Behavior of Biomedical Materials, 168(Query date: 2026-07-31 21:18:58). https://doi.org/10.1016/j.jmbbm.2025.107000
Hu, P. (2026). Effects of ABO-Incompatible Blood Transfusion on Immune Response and Rejection After Organ Transplantation. Clinical Transplantation, 40(2). https://doi.org/10.1111/ctr.70469
Huang, R. (2024). Edge Computing Model based on Federated Learning for COVID-19 Clinical Outcome Prediction in the 5G Era. Ksii Transactions on Internet and Information Systems, 18(4), 826–842. https://doi.org/10.3837/tiis.2024.04.001
Khademi, S. (2024). FH-TabNet: Multi-Class Familial Hypercholesterolemia Detection via a Multi-Stage Tabular Deep Learning Network. European Signal Processing Conference, (Query date: 2026-07-31 21:18:58), 1416–1420. https://doi.org/10.23919/eusipco63174.2024.10715254
Khene, Z. E. (2024). Clinical Application of Digital and Computational Pathology in Renal Cell Carcinoma: A Systematic Review. European Urology Oncology, 7(3), 401–411. https://doi.org/10.1016/j.euo.2023.10.018
Kocar, T. D. (2025). Deep Learning Predicts Postoperative Mobility, Activities of Daily Living, and Discharge Destination in Older Adults from Sensor Data. Sensors, 25(16). https://doi.org/10.3390/s25165021
Lampreia, F. (2024). Digital health technologies and artificial intelligence in cardiovascular clinical trials: A landscape of the European space. Digital Health, 10(Query date: 2026-07-31 21:18:58). https://doi.org/10.1177/20552076241277703
Li, T. n. (2025). Clinical Characteristics of Patients With Respiratory Infections After Nonpharmacological Interventions for COVID-19 in China Have Ended: Using Machine Learning Approaches to Support Pathogen Prediction at Admission. Immunity Inflammation and Disease, 13(8). https://doi.org/10.1002/iid3.70237
Madsen, G. R. (2024). Classifying Inflammation on Intestinal Ultrasound Images and Cineloops?A Learning Curve Study. Journal of Crohn S and Colitis, 18(12), 2076–2084. https://doi.org/10.1093/ecco-jcc/jjae112
Mahapatra, K. (2025). Fractal Dimension and Entropy Analysis of Medical Images for KNN-Based Disease Classification. Baghdad Science Journal, 22(4), 1354–1365. https://doi.org/10.21123/bsj.2024.10835
Marfoglia, A. (2025). CONNECTED: A Knowledge Graph-Driven Platform for Clinical Data Harmonization and Personalized Digital Twin-Based Healthcare. IEEE International Conference on Pervasive Computing and Communications Workshops Percom Workshops, (2025), 116–121. https://doi.org/10.1109/PerComWorkshops65533.2025.00051
Nasatzky, M. (2024). Clinical parameters that predict a premature LH rise in patients undergoing ovarian stimulation for IVF. Gynecological Endocrinology, 40(1). https://doi.org/10.1080/09513590.2024.2365913
Oskvarek, J. J. (2026). Emergency department crowding in the modern era: A systematic review (2018–2025). Clinical and Experimental Emergency Medicine, 13(2), 119–139. https://doi.org/10.15441/ceem.25.172
Pahwa, B. (2024). Contributions of Machine Learning in the Management of Stroke: A Bibliometric Analysis of the 50 Most Cited Articles. World Neurosurgery, 184(Query date: 2026-07-31 21:18:58), 152–160. https://doi.org/10.1016/j.wneu.2024.01.059
Paz, H. L. (2024). Buying into healthcare: Why the industry must learn to appeal to consumers to survive and thrive. Management in Healthcare, 8(2), 107–116. https://doi.org/10.69554/xnnv8502
Preetha, M. (2024). Deep Learning-Driven Real-Time Multimodal Healthcare Data Synthesis. International Journal of Intelligent Systems and Applications in Engineering, 12(5), 360–369.
Preez, A. du. (2025). Fraud detection in healthcare claims using machine learning: A systematic review. Artificial Intelligence in Medicine, 160(Query date: 2026-07-31 21:18:58). https://doi.org/10.1016/j.artmed.2024.103061
Qin, T. H. Y. (2026). From Biomechanics to Metallobiology: A Bibliometric Mapping of Ferroptosis and Trace Elements in Osteoarthritis (2014–2024). Biological Trace Element Research, 204(8), 6106–6120. https://doi.org/10.1007/s12011-026-05095-5
Ren, Y. (2024). Automatic uncovering of patient primary concerns in portal messages using a fusion framework of pretrained language models. Journal of the American Medical Informatics Association, 31(8), 1714–1724. https://doi.org/10.1093/jamia/ocae144
Roccuzzo, G. (2024). Emerging prognostic biomarkers in advanced cutaneous melanoma: A literature update. Expert Review of Molecular Diagnostics, 24(1), 49–66. https://doi.org/10.1080/14737159.2024.2314574
Sharma, A. K. (2025). Bibliometric exploration of artificial intelligence applications in healthcare: Trends and future directions. Journal of Public Health and Development, 23(2), 281–303. https://doi.org/10.55131/jphd/2025/230220
Singhal, A. K. (2025). Beyond the traditional models: A network reconstruction based model for predicting and analysing individual health status. Computing, 107(1). https://doi.org/10.1007/s00607-024-01355-1
Stefanou, M. I. (2024). CURRENT UPDATE ON THE NEUROLOGICAL MANIFESTATIONS OF LONG COVID: MORE QUESTIONS THAN ANSWERS. Excli Journal, 23(Query date: 2026-07-31 21:18:58), 1463–1486. https://doi.org/10.17179/excli2024-7885
Warrier, A. (2025). Autonomous Agentic AI for Clinical Workflow Orchestration: Self-Managing Healthcare Operations. Proceedings of 6th International Conference on Iot Based Control Networks and Intelligent Systems Icicnis 2025, (Query date: 2026-07-31 21:18:58), 1450–1457. https://doi.org/10.1109/ICICNIS66685.2025.11315712
Wei, L. (2025). Development and validation of a machine learning-based model for 90-day prognosis outcome in spontaneous intracerebral hemorrhage patients based on non-contrast computed tomography: A multicenter retrospective observational study. Eclinicalmedicine, 88(Query date: 2026-07-31 21:18:58). https://doi.org/10.1016/j.eclinm.2025.103507