Answers are grounded in this paper and cite their sources.
Objective: To develop and validate an interpretable machine learning (ML) model for early prediction of moderate-to-severe postoperative urinary retention (POUR) after mixed hemorrhoidectomy. Methods: Data from 410 patients (training/internal validation) were retrospectively collected (May 2024–March 2025), and data from 261 patients (external validation) were prospectively collected (April–August 2025). Six ML algorithms (GLM, RF, XGBoost, LASSO, SVM, KNN) were compared using AUC, Brier score, Hosmer-Lemeshow test and DCA. SHAP analysis provided model interpretability. Results: Among the six ML models, the LASSO model performed best. This model accurately predicted the risk of moderate-to-severe POUR in patients with mixed hemorrhoidectomy in both the training set (AUC: 0.881, Specificity: 0.979, F1 Score: 0.466) and the external validation set (AUC: 0.739, Specificity: 0.888, F1 Score: 0.333), Brier score=0.150, Hosmer-Lemeshow P <0.001, DCA indicated that the LASSO model provided a higher net clinical benefit. SHAP analysis identified the features contributing to the model predictions, 16 variables were included in the final LASSO model: age, glucose, preoperative fasting, insomnia, operative time, constipation, number of incisions, history of urological diseases, urine_white blood cell (U_WBC), analgesic B (Parecoxib), urine_red blood cell (U_RBC), analgesic C (Dezocine), serum calcium, preemptive analgesia, serum potassium, urine glucose. An online calculator is available at https://mrtools.shinyapps.io/shiny3/. Conclusion: An interpretable LASSO-based ML model was successfully developed and externally validated for predicting moderate-to-severe POUR after mixed hemorrhoidectomy. It enables early identification of high-risk patients and supports individualized perioperative management.
No takes yet. Share an insight, caveat, or question.
Ze et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: