Development and Validation of a Machine Learning-Based Nomogram for Prediction of Unplanned Reoperation Postspinal Surgery Within 30 Days

World Neurosurg. 2024 Nov 11:S1878-8750(24)01742-X. doi: 10.1016/j.wneu.2024.10.038. Online ahead of print.

Abstract

Background: Unplanned reoperation postspinal surgery (URPS) leads to prolonged hospital stays, higher costs, decreased patient satisfaction, and adversely affects postoperative rehabilitation. This study aimed to develop and validate prediction models (nomograms) for early URPS risk factors using machine learning methods, aiding spine surgeons in designing prevention strategies, promoting early recovery, reducing complications, and improving patient satisfaction.

Methods: Medical records of 639 patients who underwent reoperation postspinal surgery from the First Affiliated Hospital of Air Force Medical University (2018-2022) were collected, including baseline indicators, perioperative indicators, and laboratory indicators. After applying inclusion and exclusion criteria, 122 URPS and 155 non-URPS patients were identified and randomly divided into training (82 URPS and 111 non-URPS) and validation (40 URPS and 44 non-URPS) cohorts. Three machine learning methods (least absolute shrinkage and selection operator regression, Random Forest, and Support Vector Machine Recursive Feature Elimination) were used to select feature variables, and their intersection was used to develop the prediction model, tested on the validation cohort.

Results: Six factors-implant, postoperative suction drainage, gelatin sponge, anticoagulants, antibiotics, and disease type-were identified to construct a nomogram diagnostic model. The area under the curve of this nomogram was 0.829 (95% confidence interval 0.771-0.886) in the training cohort and 0.854 (95% confidence interval 0.775-0.933) in the validation cohort. Calibration curves demonstrated satisfactory agreement between predictions and actual probabilities. The decision curve indicated clinical usefulness with a threshold between 1% and 90%.

Conclusions: The established model can effectively predict URPS in patients and can assist spine surgeons in devising personalized and rational clinical prevention strategies.

Keywords: Diagnosis; Machine learning algorithms; Nomogram; Prediction model; Spine surgery; Unplanned reoperation.