Development of a Machine Learning-Based Prediction Model and an Online Risk Calculator for Preoperative Prediction of Pneumonia After Surgical Clipping for Aneurysmal Subarachnoid Hemorrhage.
Xianfeng Rao, Guanhao Li, Min Yang, Hao Chen, Li Wu, Liudong Gong, Mingchun Yang, Haiyang Wang,
Department of Neurosurgery, The First Affiliated Hospital of Harbin Medical University, Harbin 150001, China. · Department of Pediatric Surgery, The Sixth Affiliated Hospital of Harbin Medical University, Harbin 150028, China.
Key points
From the paper's conclusion- Conclusions: An explainable ranger-based random forest model using readily available admission and preoperative variables showed good discrimination and acceptable calibration for predicting POP after aSAH clipping.
Abstract
BACKGROUND: Postoperative pneumonia (POP) is a frequent complication after microsurgical clipping for aneurysmal subarachnoid hemorrhage (aSAH). Early preoperative identification of high-risk patients may facilitate timely preventive management. This study aimed to develop and internally validate an explainable machine learning model based on routinely available admission variables and translate it into a web-based risk calculator. METHODS: This single-center retrospective study included 574 patients with aSAH who underwent microsurgical clipping between 2019 and 2024. Patients were randomly divided into training and internal validation cohorts at a ratio of 7:3. Feature selection was performed using Spearman correlation analysis and the Boruta algorithm. Thirteen machine learning algorithms were compared using five-fold cross-validation, and the optimal model was evaluated in the internal validation cohort. SHAP analysis was used to interpret model predictions. RESULTS: Thirteen predictors were retained for model development. The random forest model implemented using ranger showed the best overall performance, achieving an AUC of 0.887 (95% CI, 0.838-0.936) in the internal validation set. Calibration was acceptable, with a Brier score of 0.135, and decision curve analysis suggested potential clinical net benefit. SHAP analysis identified D-dimer and Glasgow Coma Scale score as the leading contributors to model predictions. An interactive R Shiny calculator was developed for individualized POP risk estimation. CONCLUSIONS: An explainable ranger-based random forest model using readily available admission and preoperative variables showed good discrimination and acceptable calibration for predicting POP after aSAH clipping. The model may enable risk estimation before surgery without specialized testing and support early individualized risk stratification. External and prospective validation is required before broader clinical implementation.
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-based prediction of postoperative pulmonary infection after aneurysmal subarachnoid hemorrhage clipping and exploratory analysis of enteral nutrition timing: a dual-cohort retrospective study.Frontiers in neurology · 2026
- Machine learning-based prediction of short-term outcomes in aneurysmal subarachnoid hemorrhage: a multicenter study integrating clinical and inflammatory indicatorsBMC Medicine · 2025
- Early risk stratification of postoperative pneumonia after brain tumor surgery using routine perioperative variables: development and prospective multicenter validation of an interpretable prediction model.Frontiers in cellular and infection microbiology · 2026
- Construction and validation of a machine learning-based model for predicting pneumonia risk in patients with hemorrhagic stroke.Frontiers in medicine · 2026
- A comparison of machine learning models and established grading scales for hospital mortality prediction in non‐traumatic subarachnoid haemorrhageHong Kong Journal of Emergency Medicine · 2026
- Development and Validation of an Early Postoperative Risk Stratification Model for Hydrocephalus Following Aneurysmal Subarachnoid Hemorrhage.Brain and behavior · 2026