Machine Learning for Predicting Postoperative Complications After Hypospadias Surgery: A 10-Year Single-Center Retrospective Cohort Study
Open Access
Abstract
Objectives: Hypospadias is one of the most common congenital malformations of the male genitourinary system, and postoperative complications remain a major concern affecting surgical outcomes and patients‘ quality of life. Whether machine learning models can effectively predict complication risk using routinely available clinical variables remains unclear. Methods: A retrospective analysis was performed on 671 hypospadias patients who underwent urethroplasty at the Department of Urology, Capital Children’s Medical Center, between December 2015 and September 2024. The final dataset included 671 patients (training set: 536; validation set: 135). The median follow-up duration was 48 months (range: 19 to 72 months). Least absolute shrinkage and selection operator (LASSO) regression with nested cross-validation within the training set was used for feature selection, followed by the development of five machine learning models (Random Forest, XGBoost, LightGBM, Logistic Regression, and Support Vector Machine). Model performance was evaluated using AUC, calibration curves, Brier score, and decision curve analysis. Feature importance was assessed using SHapley Additive exPlanations (SHAP). Results: LASSO retained four features for model development: hypospadias type, surgical technique, surgeon experience, and patient age. The overall complication rate was 22.9% (154/671). Among the models evaluated, the Support Vector Machine (SVM) showed the most balanced performance in the validation set, achieving an AUC of 0.810 and a Brier score of 0.157. LightGBM demonstrated comparable performance (AUC: 0.802). SHAP analysis identified surgical technique as the most influential predictor, followed by surgeon volume and hypospadias type, though these findings should be interpreted with caution given the confounding between surgical complexity and disease severity. Conclusions: An interpretable SVM-based prediction model was developed and internally validated to stratify risk for postoperative complications after hypospadias repair using routinely available clinical variables. SHAP provided clinicians with visual insights into key risk-associated factors. However, given the single-center retrospective design and lack of external validation, further multicenter prospective studies are warranted to confirm the generalizability of these findings before clinical implementation.Keywords
Funding Information
- Capital Institute of Pediatrics (XZYY-2025-04)
- National Natural Science Foundation of China (82570794)
This publication has 27 references indexed in Scilit:
- Development and validation of a machine learning model to predict 30-day mortality in ischemic stroke patients with consciousness impairment: Insights from MIMIC-IV database and multicenter ICU data in ChinaInternational Journal of Medical Informatics, 2025
- Development of a clinical prediction model for postoperative complications following tubularized incised plate urethroplasty: a multicenter studyPediatric Surgery International, 2025
- European Association of Urology-European Society of Paediatric Urology Guidelines on Paediatric Urology: Summary of 2024 Updates. Part IIEuropean Urology, 2025
- MAFB-mediated CEBPA regulated human urothelium growth through Wnt/β-catenin signaling pathwayGenes & Diseases, 2025
- Deep learning based automated quantification of urethral plate characteristics using the plate objective scoring tool (POST)Journal of Pediatric Urology, 2023
- Neural network non-linear modeling to predict hypospadias genotype–phenotype correlationJournal of Pediatric Urology, 2023
- Complication rates of proximal hypospadias: meta-analyses of four surgical repairsJournal of Pediatric Urology, 2022
- Comment on: Urethral plate quality assessment and its impact on hypospadias repair outcomes: A systematic review and quality assessmentJournal of Pediatric Urology, 2021
- Hypospadias Prevalence and Trends in International Birth Defect Surveillance Systems, 1980–2010European Urology, 2019
- Grade of hypospadias is the only factor predicting for re-intervention after primary hypospadias repair: A multivariate analysis from a cohort of 474 patientsJournal of Pediatric Urology, 2015