Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Aug:312:244-251.
doi: 10.1016/j.jss.2025.05.014. Epub 2025 Jul 5.

Benchmarking Ensemble Models to Predict Prolonged Hospital Stay in Traumatic Brain Injury: A Single-Institution Study

Affiliations

Benchmarking Ensemble Models to Predict Prolonged Hospital Stay in Traumatic Brain Injury: A Single-Institution Study

Shrinit Babel et al. J Surg Res. 2025 Aug.

Abstract

Introduction: Prolonged length of stay (PLOS) in hospitals is a critical metric representing quality and efficiency of care, especially for patients with traumatic brain injury (TBI). Machine learning offers the potential to predict PLOS, although class imbalance, limited sample size, or lack of generalizability impact their real-world application. This study benchmarks machine learning models from prior studies and explores ensemble models to predict PLOS in TBI patients and address domain adaptation concerns in surgical settings.

Methods: An anonymized dataset of 263 adult TBI patients admitted to a single level 1 trauma intensive care unit was used. Nine features were used across basic demographic, clinical, and procedure status variables. Extreme Gradient Boosting (XGBoost), Support Vector Machine (SVM), and Artificial Neural Network (ANN) machine learning algorithms were used, with hyperparameters optimized using GridSearchCV. The SA2DELA framework was used to build ensemble models. Performance metrics were analyzed holistically using a critical difference diagram and post hoc analyses.

Results: The ensemble models combining XGBoost, ANN, and SVM, as well as XGBoost with a snapshot ANN, outperformed the base models (are under the curve: 0.87, critical difference rank: 2.3, Conover post hoc P < 0.05). Bias-variance-diversity decomposition highlighted the complementary strengths of XGBoost and ANN, whereas SVM added incremental improvements. Feature importance identified age, body mass index, and injury severity score as predictors of PLOS.

Conclusions: This study is the first to benchmark established machine learning models and implement ensemble techniques for predicting PLOS in TBI patients. Combining complementary algorithms in a standardized framework can improve robustness in data-constrained and diverse settings. Future studies should incorporate multiclass or regression models and use stronger domain adaptation analyses.

Keywords: Ensemble learning; Length of stay; Machine learning; Neural networks; Prediction; Traumatic brain injury; XGBoost.

PubMed Disclaimer

LinkOut - more resources