Construction of a Predictive Model for Cerebrospinal Fluid Leakage After Endoscopic Transsphenoidal Pituitary Tumor Surgery Based on Machine Learning Algorithm
Related Experiment Videos
Shirong Shao1, Changqing Ye2, Yuyang Du3
1Department of Neurosurgery, Deyang People's Hospital, DeyangChina.
Objective:
To develop ML models predicting postoperative CSF leakage after endoscopic transsphenoidal pituitary adenectomy (TSPA).
Methods:
Four hundred and twenty patients from five hospitals (January 2021-December 2022) comprised the training cohort; 140 from another hospital were the validation cohort. The training cohort included 60 CSF leak and 360 nonleak cases. Risk factors were analyzed. Decision tree, logistic regression, and SMOTE-based models were built and their diagnostic value compared.
Results:
Significant differences ( p < 0.05) existed in tumor diameter, tumor texture, operative time, intraoperative diaphragma sellae rupture, reoperation, and intraoperative CSF leakage grade. Logistic regression identified tumor texture, reoperation, intraoperative CSF leakage grade, and diaphragma sellae rupture as risk factors. All models had high AUCs in training: logistic regression (0.792), decision tree (0.835), and SMOTE (0.839). The Delong test showed a decision tree, and SMOTE outperformed logistic regression. SMOTE had the highest sensitivity/specificity. Validation cohort AUCs were: logistic regression (0.775), decision tree (0.809), and SMOTE (0.831), with SMOTE superior. Calibration curves indicated good agreement between predicted and actual values.
Conclusion:
Prediction models for CSF leakage postendoscopic TSPA were developed using decision trees, SMOTE, and logistic regression. Model efficacy was evaluated via AUC, specificity, and sensitivity. Comparing algorithms reduced single-algorithm bias, with SMOTE demonstrating the best performance.