Machine learning-based prediction of short-term outcomes in aneurysmal subarachnoid hemorrhage: a multicenter study integrating clinical and inflammatory indicators
摘要
Aneurysmal subarachnoid hemorrhage (aSAH) is a life-threatening cerebrovascular emergency. We built and validated a machine learning model integrating clinical and inflammatory indicators for early risk prediction.
MethodsThis multicenter retrospective cohort study included 1,120 aSAH patients admitted between January 2022 and December 2024 across four tertiary hospitals for model development and 326 independent patients from the Second Xiangya Hospital for quasi-external validation. Twenty-eight candidate predictors were evaluated, encompassing clinical grading scales and inflammation- and nutrition-related biomarkers. Continuous variables were discretized into quartile-based categories to enhance interpretability and mitigate outlier effects. Synthetic minority oversampling (SMOTE) addressed outcome imbalance. Feature selection used a two-step process combining the Boruta algorithm and least absolute shrinkage and selection operator (LASSO) regression, with variance inflation factor (VIF) analysis confirming the absence of collinearity. Six supervised algorithms were trained with tenfold cross-validation: logistic regression, neural network, random forest (RF), support vector machine (SVM), gradient boosting machine (GBM), and extreme gradient boosting (XGBoost). Model performance was evaluated by discrimination, calibration, and decision curve analysis, and interpretability was assessed with Shapley additive explanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME).
ResultsThe GBM model achieved the best performance, with an AUC of 0.895 (95% CI: 0.856–0.934) in internal validation and 0.864 (95% CI: 0.822–0.906) in quasi-external validation. Nine predictors were retained: procalcitonin, C-reactive protein-to-lymphocyte ratio (CLR), WFNS grade, systemic immune-inflammation index (SII), prognostic nutritional index (PNI), neutrophil-to-albumin ratio (NAR), Glasgow Coma Scale (GCS), platelet-to-lymphocyte ratio (PLR), and modified Fisher grade. A web-based calculator was implemented for individualized risk prediction.
ConclusionsThe GBM-based model enables early prediction of poor short-term outcomes in aSAH, supporting timely clinical decision-making. Prospective multicenter validation is warranted to confirm its generalizability across diverse populations.