Comparison of seven machine learning models for predicting prolonged PACU length of stay: performance evaluation and identification of key influencing factors
- 1The First Affiliated Hospital of Wenzhou Medical University, Wenzhou, China
Abstract
Background: Prolonged stays in the post-anesthesia care unit (PACU) significantly increase healthcare resource utilization and delay postoperative recovery. Current research on PACU prolonged stays is mostly limited to univariate analyses, lacking multidimensional, high-accuracy predictive models to support precise clinical risk stratification.
Methods: This single-center retrospective study included 1,996 PACU patients (May-December 2024) at a tertiary hospital in Zhejiang, China. Based on literature review and expert input, 37 candidate predictors were selected. To prevent data leakage, the dataset was randomly split into training (70%) and validation (30%) sets. All feature selection-univariate/multivariate analysis (P < 0.05), Boruta, and LASSO-was performed strictly on the training set, and the intersecting predictors were used for model building. Hyperparameters were tuned via grid search with 5-fold cross-validation on the training set. Seven machine learning algorithms including logistic regression (LR), decision tree (DT), random forest (RF), support vector machine (SVM), LightGBM, XGBoost, and artificial neural network (ANN) were developed using R and Python, and evaluated on the independent validation set using AUC, accuracy, sensitivity, specificity, F1-score, and Brier score. SHAP analysis was used to interpret key predictors in the best-performing model.
Results: The XGBoost model demonstrated the best performance, achieving an AUC of 0.901 (95% CI: 0.863–0.932) on the validation set and a sensitivity of 65.83% for detecting prolonged PACU stays. SHAP analysis identified surgical duration (mean SHAP value 0.19), anesthesia duration (0.08), anesthesia method (0.06), total protein (0.06), and albumin-globulin ratio (0.03) as the top five predictive factors.
Conclusions: The XGBoost model developed in this study achieved a relatively high AUC of 0.901. However, its sensitivity for detecting prolonged PACU stay was 65.83%, indicating that the model’s ability to confirm prolonged PACU stay remains somewhat insufficient. Therefore, it can be used as an auxiliary screening tool in clinical rather than a definitive diagnostic tool.
Related
- Evaluation of the STeP Score for Predicting Tracheostomy in Mechanically Ventilated Patients with Sepsis and Comparison with Machine Learning Models: A Retrospective Cohort Study
- Performance Evaluation of Deep Learning Applications in Calcaneal Fracture Diagnosis Using Separate Radiographic Views: A Comparison of CNN and Vision Transformer Architectures
- Multi-model comparison and nomogram development for predicting in-hospital mortality in Trauma patients based on NLR and other indicators
- Analysis of key performance indicators influencing offensive effectiveness during clutch moments in elite international men’s basketball
- Predicting the Risk of Unplanned Hospital Encounters in Hemodialysis Patients: A Comparison Between Clinicians and a Machine Learning Prediction Algorithm
BibTeX
@article{zhu2026comparison,
title = {{Comparison of seven machine learning models for predicting prolonged PACU length of stay: performance evaluation and identification of key influencing factors}},
author = {Na Zhu and Xiangqing Xiong and Xuan Wu and Xiangyang Chen and Sizhe Feng},
journal = {BMC Anesthesiology},
year = {2026},
month = aug,
doi = {10.1186/s12871-026-04212-0},
url = {https://doi.org/10.1186/s12871-026-04212-0},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - Comparison of seven machine learning models for predicting prolonged PACU length of stay: performance evaluation and identification of key influencing factors
AU - Na Zhu
AU - Xiangqing Xiong
AU - Xuan Wu
AU - Xiangyang Chen
AU - Sizhe Feng
PY - 2026
DA - 2026/08/28
JO - BMC Anesthesiology
DO - 10.1186/s12871-026-04212-0
UR - https://doi.org/10.1186/s12871-026-04212-0
AB - Background: Prolonged stays in the post-anesthesia care unit (PACU) significantly increase healthcare resource utilization and delay postoperative recovery. Current research on PACU prolonged stays is mostly limited to univariate analyses, lacking multidimensional, high-accuracy predictive models to support precise clinical risk stratification. Methods: This single-center retrospective study included 1,996 PACU patients (May-December 2024) at a tertiary hospital in Zhejiang, China. Based on literature review and expert input, 37 candidate predictors were selected. To prevent data leakage, the dataset was randomly split into training (70%) and validation (30%) sets. All feature selection-univariate/multivariate analysis (P < 0.05), Boruta, and LASSO-was performed strictly on the training set, and the intersecting predictors were used for model building. Hyperparameters were tuned via grid search with 5-fold cross-validation on the training set. Seven machine learning algorithms including logistic regression (LR), decision tree (DT), random forest (RF), support vector machine (SVM), LightGBM, XGBoost, and artificial neural network (ANN) were developed using R and Python, and evaluated on the independent validation set using AUC, accuracy, sensitivity, specificity, F1-score, and Brier score. SHAP analysis was used to interpret key predictors in the best-performing model. Results: The XGBoost model demonstrated the best performance, achieving an AUC of 0.901 (95% CI: 0.863–0.932) on the validation set and a sensitivity of 65.83% for detecting prolonged PACU stays. SHAP analysis identified surgical duration (mean SHAP value 0.19), anesthesia duration (0.08), anesthesia method (0.06), total protein (0.06), and albumin-globulin ratio (0.03) as the top five predictive factors. Conclusions: The XGBoost model developed in this study achieved a relatively high AUC of 0.901. However, its sensitivity for detecting prolonged PACU stay was 65.83%, indicating that the model’s ability to confirm prolonged PACU stay remains somewhat insufficient. Therefore, it can be used as an auxiliary screening tool in clinical rather than a definitive diagnostic tool.
SN - 1471-2253
ER -