Background:
Timely and accurate prediction of delayed cerebral ischemia is critical for improving the prognosis of patients with aneurysmal subarachnoid hemorrhage. Machine learning (ML) algorithms are increasingly regarded as having a higher prediction power than conventional logistic regression (LR). This study aims to construct LR and ML models and compare their prediction power on delayed cerebral ischemia (DCI) after aneurysmal subarachnoid hemorrhage (aSAH).
Methods:
This was a multicenter, retrospective, observational cohort study that enrolled patients with aneurysmal subarachnoid hemorrhage from five hospitals in China. A total of 404 aSAH patients were prospectively enrolled. We randomly divided the patients into training ( = 303) and validation cohorts ( = 101) according to a ratio of 75-25%. One LR and six popular ML algorithms were used to construct models. The area under the receiver operating characteristic curve (AUC), accuracy, balanced accuracy, confusion matrix, sensitivity, specificity, calibration curve, and Hosmer-Lemeshow test were used to assess and compare the model performance. Finally, we calculated each feature of importance.
Results:
A total of 112 (27.7%) patients developed DCI. Our results showed that conventional LR with an AUC value of 0.824 (95%CI: 0.73-0.91) in the validation cohort outperformed k-nearest neighbor, decision tree, support vector machine, and extreme gradient boosting model with the AUCs of 0.792 (95%CI: 0.68-0.9, = 0.46), 0.675 (95%CI: 0.56-0.79, < 0.01), 0.677 (95%CI: 0.57-0.77, < 0.01), and 0.78 (95%CI: 0.68-0.87, = 0.50). However, random forest (RF) and artificial neural network model with the same AUC (0.858, 95%CI: 0.78-0.93, = 0.26) were better than the LR. The accuracy and the balanced accuracy of the RF were 20.8% and 11% higher than the latter, and the RF also showed good calibration in the validation cohort (Hosmer-Lemeshow: = 0.203). We found that the CT value of subarachnoid hemorrhage, WBC count, neutrophil count, CT value of cerebral edema, and monocyte count were the five most important features for DCI prediction in the RF model. We then developed an online prediction tool (https://dynamic-nomogram.shinyapps.io/DynNomapp-DCI/) based on important features to calculate DCI risk precisely.
Conclusions:
In this multicenter study, we found that several ML methods, particularly RF, outperformed conventional LR. Furthermore, an online prediction tool based on the RF model was developed to identify patients at high risk for DCI after SAH and facilitate timely interventions.
Clinical Trial Registration:
http://www.chictr.org.cn, Unique identifier: ChiCTR2100044448.
Citing Articles
Machine Learning for the Early Prediction of Delayed Cerebral Ischemia in Patients With Subarachnoid Hemorrhage: Systematic Review and Meta-Analysis.
Zhang H, Zou P, Luo P, Jiang X
J Med Internet Res. 2025; 27:e54121.
PMID: 39832368
PMC: 11791451.
DOI: 10.2196/54121.
Leveraging machine learning algorithms to forecast delayed cerebral ischemia following subarachnoid hemorrhage: a systematic review and meta-analysis of 5,115 participants.
Mohammadzadeh I, Niroomand B, Eini P, Khaledian H, Choubineh T, Luzzi S
Neurosurg Rev. 2025; 48(1):26.
PMID: 39775123
DOI: 10.1007/s10143-024-03175-5.
Detection of Subarachnoid Hemorrhage Using CNN with Dynamic Factor and Wandering Strategy-Based Feature Selection.
Sengupta J, Alzbutas R, Iesmantas T, Petkus V, Barkauskiene A, Ratkunas V
Diagnostics (Basel). 2024; 14(21).
PMID: 39518384
PMC: 11545384.
DOI: 10.3390/diagnostics14212417.
Predicting cerebral edema in patients with spontaneous intracerebral hemorrhage using machine learning.
Xu J, Yuan C, Yu G, Li H, Dong Q, Mao D
Front Neurol. 2024; 15:1419608.
PMID: 39421568
PMC: 11484451.
DOI: 10.3389/fneur.2024.1419608.
Machine learning models for mortality prediction in critically ill patients with acute pancreatitis-associated acute kidney injury.
Liu Y, Zhu X, Xue J, Maimaitituerxun R, Chen W, Dai W
Clin Kidney J. 2024; 17(10):sfae284.
PMID: 39385947
PMC: 11462445.
DOI: 10.1093/ckj/sfae284.
Value of Glycemic Indices for Delayed Cerebral Ischemia after Aneurysmal Subarachnoid Hemorrhage: A Retrospective Single-Center Study.
Deininger M, Weiss M, Wied S, Schlycht A, Haehn N, Marx G
Brain Sci. 2024; 14(9).
PMID: 39335345
PMC: 11430037.
DOI: 10.3390/brainsci14090849.
Integrating Clinical Data and Radiomics and Deep Learning Features for End-to-End Delayed Cerebral Ischemia Prediction on Noncontrast CT.
Ban Q, Zhang H, Wang W, Du Y, Zhao Y, Peng A
AJNR Am J Neuroradiol. 2024; 45(9):1260-1268.
PMID: 39025637
PMC: 11392366.
DOI: 10.3174/ajnr.A8301.
Predicting who has delayed cerebral ischemia after aneurysmal subarachnoid hemorrhage using machine learning approach: a multicenter, retrospective cohort study.
Ge S, Chen J, Wang W, Zhang L, Teng Y, Yang C
BMC Neurol. 2024; 24(1):177.
PMID: 38802769
PMC: 11129362.
DOI: 10.1186/s12883-024-03630-2.
StrokeClassifier: ischemic stroke etiology classification by ensemble consensus modeling using electronic health records.
Lee H, Schwamm L, Sansing L, Kamel H, de Havenon A, Turner A
NPJ Digit Med. 2024; 7(1):130.
PMID: 38760474
PMC: 11101464.
DOI: 10.1038/s41746-024-01120-w.
Development and performance assessment of novel machine learning models for predicting postoperative pneumonia in aneurysmal subarachnoid hemorrhage patients: external validation in MIMIC-IV.
Li X, Zhang C, Wang J, Ye C, Zhu J, Zhuge Q
Front Neurol. 2024; 15:1341252.
PMID: 38685951
PMC: 11056519.
DOI: 10.3389/fneur.2024.1341252.
Time-Series Modeling and Forecasting of Cerebral Pressure-Flow Physiology: A Scoping Systematic Review of the Human and Animal Literature.
Vakitbilir N, Froese L, Gomez A, Sainbhi A, Stein K, Islam A
Sensors (Basel). 2024; 24(5).
PMID: 38474990
PMC: 10934638.
DOI: 10.3390/s24051453.
Predictive model for identifying mild cognitive impairment in patients with type 2 diabetes mellitus: A CHAID decision tree analysis.
Maimaitituerxun R, Chen W, Xiang J, Xie Y, Xiao F, Wu X
Brain Behav. 2024; 14(3):e3456.
PMID: 38450963
PMC: 10918605.
DOI: 10.1002/brb3.3456.
Machine learning predictors of risk of death within 7 days in patients with non-traumatic subarachnoid hemorrhage in the intensive care unit: A multicenter retrospective study.
Gu L, Hu H, Wu S, Li F, Li Z, Xiao Y
Heliyon. 2024; 10(1):e23943.
PMID: 38192749
PMC: 10772257.
DOI: 10.1016/j.heliyon.2023.e23943.
Machine learning based outcome prediction of microsurgically treated unruptured intracranial aneurysms.
Stroh N, Stefanits H, Maletzky A, Kaltenleithner S, Thumfart S, Giretzlehner M
Sci Rep. 2023; 13(1):22641.
PMID: 38114635
PMC: 10730905.
DOI: 10.1038/s41598-023-50012-8.
Machine learning to predict mortality for aneurysmal subarachnoid hemorrhage (aSAH) using a large nationwide EHR database.
Zhu G, Yuan A, Yu D, Zha A, Wu H
PLOS Digit Health. 2023; 2(12):e0000400.
PMID: 38055677
PMC: 10699620.
DOI: 10.1371/journal.pdig.0000400.
Ischemic Stroke Etiology Classification by Ensemble Consensus Modeling Using Electronic Health Records.
Lee H, Schwamm L, Sansing L, Kamel H, de Havenon A, Turner A
Res Sq. 2023; .
PMID: 37961532
PMC: 10635373.
DOI: 10.21203/rs.3.rs-3367169/v1.
Prognostic model for aneurysmal subarachnoid hemorrhage patients requiring mechanical ventilation.
Wan X, Wu X, Kang J, Fang L, Tang Y
Ann Clin Transl Neurol. 2023; 10(9):1569-1577.
PMID: 37424159
PMC: 10502627.
DOI: 10.1002/acn3.51846.
Pre-operative prognostic nutrition index and post-operative pneumonia in aneurysmal subarachnoid hemorrhage patients.
Xu M, Zhang L, Wang J, Cheng L, Chen C, Li S
Front Neurol. 2023; 14:1045929.
PMID: 37188306
PMC: 10177408.
DOI: 10.3389/fneur.2023.1045929.