Predicting prolonged length of stay after day-case urolithiasis surgery: a machine learning approach.
Chunxiang Liu, Guolong Zhang, Yehan Feng, Fang Wang, Yiling Chen, Yongda Liu, Hongling Sun
Nursing Department, The First Affiliated Hospital of Guangzhou Medical University, 28 Qiaozhong Middle Road, Liwan District, Guangzhou, China. · Respiratory Intervention Center, The First Affiliated Hospital of Guangzhou Medical University, Guangzhou, China.
Key points
From the paper's conclusion- Using demographic and clinical data, this study developed a machine learning-based model to predict PLOS after day-case urolithiasis surgery. The Gradient Boosting model achieved acceptable discriminative performance on an internal test set, with good sensitivity and good specificity. While this model shows potential for early risk stratification, prospective multicenter external validation is required before it can be recommended for clinical practice.
Abstract
PURPOSE: This study aimed to develop and validate a machine learning model to predict the risk of prolonged length of stay (PLOS) in patients undergoing day-case surgery for urolithiasis. METHODS: A retrospective study design was used to analyze data from 1,317 patients who underwent day-case surgery for urolithiasis. Demographic characteristics, comorbidities, stone features, surgical details, and preoperative blood test results were extracted from medical records. Feature selection was performed using the Boruta algorithm. Five machine learning algorithms-Tabular Prior-Data Fitted Network (TabPFN), Random Forest (RF), Gradient Boosting, eXtreme Gradient Boosting (XGBoost), and Categorical Boosting (CatBoost)-were then trained to develop predictive models using 10-fold cross-validation. Model performance was evaluated using multiple metrics, including the area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, specificity, positive and negative predictive values, F1-score, Cohen's kappa coefficient, and confusion matrices. SHapley Additive exPlanations (SHAP) analysis was applied to interpret the best-performing model, explaining both global feature importance and individual prediction rationales. An interactive nomogram was constructed to present the final model's predictions in an intuitive and clinically accessible format. RESULTS: Neutrophil count (NEUT), hemoglobin (Hb), surgical method, serum calcium (Ca), platelet count (PLT), and red blood cell count (RBC) were identified as significant predictors by the Boruta algorithm. Among the machine learning models evaluated, the Gradient Boosting model achieved the highest performance on the test set, with an accuracy of 95.96%, sensitivity of 78.57%, specificity of 99.69%, an F1-score of 87.32%, and an AUC of 0.727. Notably, SHAP analysis confirmed that Surgical Method, Ca, NEUT, RBC, PLT, and Hb were the dominant features driving the model's predictive decisions. CONCLUSION: Using demographic and clinical data, this study developed a machine learning-based model to predict PLOS after day-case urolithiasis surgery. The Gradient Boosting model achieved acceptable discriminative performance on an internal test set, with good sensitivity and good specificity. While this model shows potential for early risk stratification, prospective multicenter external validation is required before it can be recommended for clinical practice.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Explainable machine-learning model for postoperative lower-extremity deep vein thrombosis after gynecologic cancer surgery.Frontiers in oncology · 2026
- Machine Learning Prediction of Prolonged Length of Stay in Older Patients with Lung Cancer: A Multicenter Study Using XGBoost with SHAP Interpretation.Cancer management and research · 2026
- Predicting 30-day unplanned readmissions in patients with cancer in a Brazilian hospital: a Machine Learning approach.Einstein (Sao Paulo, Brazil) · 2026
- Development and validation of an interpretable machine learning model for predicting postoperative fever after flexible ureteroscopic lithotripsy: a single-center retrospective cohort study.Frontiers in medicine · 2026
- Development and external validation of an explainable machine-learning model for early complications following robot-assisted radical prostatectomy: a multicenter study.Journal of robotic surgery · 2026
- Development and internal validation of a predictive model for clinical deterioration in newly diagnosed lung cancer patients based on interpretable machine learning.Frontiers in medicine · 2026