Development and validation of a machine learning-based prediction model for prolonged length of stay after laparoscopic gastrointestinal surgery: a secondary analysis of the FDP-PONV trial
Prolonged postoperative length of stay (PLOS) is associated with several clinical risks and increased medical costs. This study aimed to develop a prediction model for PLOS based on clinical features throughout pre-, intra-, and post-operative periods in patients undergoing laparoscopic gastrointestinal surgery. This secondary analysis included patients who underwent laparoscopic gastrointestinal surgery in the FDP-PONV randomized controlled trial. This study defined PLOS as a postoperative length of stay longer than 7 days. All clinical features prospectively collected in the FDP-PONV trial were used to generate the models. This study employed six machine learning algorithms including logistic regression, K-nearest neighbor, gradient boosting machine, random forest, support vector machine, and extreme gradient boosting (XGBoost). The model performance was evaluated by numerous metrics including area under the receiver operating characteristic curve (AUC) and interpreted using shapley additive explanations (SHAP). Cases on or before 2021–12-18 formed the training cohort (802 patients) and those after that date formed the validation cohort (339 patients). Among the models evaluated, the XGBoost model demonstrated the best performance in the validation cohort, achieving an AUC of 0.756. After five times repeated tenfold cross-validation, the XGBoost model demonstrated a mean AUC of 0.816. SHAP plots were generated based on the predictors: education level; preoperative hypoalbuminemia and insufficient sleep; surgery type and duration; blood loss; postoperative hypotension; postoperative albumin infusion; highest pain score during 73–120 h after surgery; time to first flatus and defecation; postoperative infection; and postoperative acute kidney injury. This study developed a prediction model using machine learning to identify patients at high risk of PLOS after laparoscopic gastrointestinal surgery. The FDP-PONV trial was registered at clinicaltrials.gov (NCT04853147) on 2021–04-27.
Authors
- Tongfeng Luo
- Jiaxin Han (ORCID: https://orcid.org/0000-0002-8010-6715)
- Jiankun Shi
- Shimin Zhang (ORCID: https://orcid.org/0009-0001-2868-5078)
- Xingshan Cheng
- Yabin Huang
Institutions
- Sun Yat-sen University (CN)
- Sixth Affiliated Hospital of Sun Yat-sen University (CN)
Publication Details
- Journal
- BMC Gastroenterology
- Published
- 2025-10-08
- DOI
- https://doi.org/10.1186/s12876-025-04330-y
- Citations
- 1
- Primary Topic
- Cardiac, Anesthesia and Surgical Outcomes
- Type
- article
- Field-Weighted Citation Impact
- 1.39