• Home
  • Search
  • Predicting hospital outpatient volume using XGBoost: a machine learning approach
  • Cite Icon14
  • https://doi.org/10.1038/s41598-025-01265-yCopy DOI Icon

Predicting hospital outpatient volume using XGBoost: a machine learning approach

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Hospital outpatient volume is influenced by a variety of factors, including environmental conditions and healthcare resource availability. Accurate prediction of outpatient demand can significantly enhance operational efficiency and optimize the allocation of medical resources. This study aims to develop a predictive model for daily hospital outpatient volume using the XGBoost algorithm. Meanwhile, the forecasting performance was compared with that of the Seasonal AutoRegressive Integrated Moving Average with exogenous regressors (SARIMAX) and Random Forest (RF) models. The dataset comprises daily climate data (e.g., temperature, precipitation, PM2.5 levels), historical outpatient volume records, and the number of outpatient specialists available each day. The data range involved spans from January 1, 2014, to October 31, 2024. Data preprocessing involved addressing missing values and encoding categorical variables. Model performance was assessed using three metrics: Mean Absolute Error (MAE), Root Mean Squared Error (RMSE) , Mean Absolute Percentage Error (MAPE), and R-squared (R2) metrics. The XGBoost model exhibited superior predictive accuracy compared to both the SARIMAX and RF models, with the lowest MAE, RMSE, MAPE, and the highest R2, successfully capturing key relationships between climate factors, resource availability, and outpatient volume. The number of outpatient specialists, temporal variables (such as year, quarter, month, and weekday), meteorological conditions (average temperature), and air quality (PM2.5) had the most significant impact on the prediction model. This study underscores the potential of machine learning algorithms like XGBoost in effectively predicting hospital outpatient demand. The findings offer valuable insights for hospitals to make proactive adjustments to their resource allocation, thereby improving their service capacity.

Similar Papers
  • Research Article
  • Citations2

Wind speed prediction in some major cities in Africa using Linear Regression and Random Forest algorithms

  • Sep 08, 2024
  • Journal of the Nigerian Society of Physical Sciences
  • Timothy Kayode Samson +1
  • Research Article

Integration of Multiple Optimization Algorithms with Machine Learning: Predicting Nitrogen Adsorption Volume of Coal Rocks.

  • Mar 24, 2026
  • Langmuir : the ACS journal of surfaces and colloids
  • Junjie Cai +2
  • Research Article
  • Citations2

Association between Premature Birth and Air Pollutants Using Fuzzy and Adaptive Neuro-Fuzzy Inference System (ANFIS) Techniques

  • Sep 12, 2024
  • Mathematics
  • Taynara De Oliveira Castellões +2
  • PDF
  • Research Article
  • Citations8

Comparing Four Types Methods for Karst NDVI Prediction Based on Machine Learning

  • Oct 13, 2021
  • Atmosphere
  • Yuju Ma +4
  • Research Article
  • Citations1

Research of Combined ES-BP Model in Predicting Syphilis Incidence 1982–2020 in Mainland China

  • Oct 01, 2023
  • Iranian Journal of Public Health
  • Daren Zhao
  • PDF
  • Research Article
  • Citations5

Application of Extreme Learning Machine Algorithm for Drought Forecasting

  • Jan 01, 2022
  • Complexity
  • Muhammad Ahmad Raza +4
  • Research Article
  • Citations6

Evaluation of artificial neurocomputing algorithms and their metacognitive robustness in predictive modeling of fuel consumption rates during tillage

  • Jul 09, 2024
  • Computers and Electronics in Agriculture
  • Frankline Mwiti +2
  • PDF
  • Research Article
  • Citations14

Data-driven modelling for resource recovery: Data volume, variability, and visualisation for an industrial bioprocess

  • May 30, 2022
  • Biochemical Engineering Journal
  • Oliver J Fisher +5
  • Research Article
  • Citations6

Prediction of Total Soluble Solids Content Using Tomato Characteristics: Comparison Artificial Neural Network vs. Multiple Linear Regression

  • Sep 02, 2024
  • Applied Sciences
  • Aylin Kabaş +3
  • Research Article

A red-tailed hawk-based optimization model for undertaking energy-saving design of residential buildings

  • Jan 01, 2025
  • Journal of Future Sustainability
  • Eslam Mohammed Abdelkader +1
  • PDF
  • Research Article
  • Citations84

Compressive Strength Prediction of High-Strength Concrete Using Long Short-Term Memory and Machine Learning Algorithms

  • Mar 04, 2022
  • Buildings
  • Honggen Chen +5
  • Research Article

The Comparison in Time Series Forecasting of Air Traffic Data by Autoregressive Integrated Moving Average Model, Radial Basis Function and Elman Recurrent Neural Networks

  • Feb 13, 2019
  • R S Ramakrishna +2
  • Preprint Article
  • Citations1

Using a boundary-corrected wavelet transform coupled with machine learning and hybrid deep learning approaches for multi-step water level forecasting in Lakes Michigan and Ontario

  • Mar 23, 2020
  • Rahim Barzegar +3
  • Research Article
  • Citations81

A hybrid metaheuristic approach using random forest and particle swarm optimization to study and evaluate backbreak in open-pit blasting

  • Jan 15, 2022
  • Neural Computing and Applications
  • Yong Dai +5
  • Research Article

Evaluation of large language models for carbohydrate counting in type 1 diabetes mellitus: a comparative study with patient estimations.

  • Jun 01, 2026
  • Diabetes research and clinical practice
  • Ahmet Kürşat Soyer +7
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.