Interpretable prediction of stroke prognosis: SHAP for SVM and nomogram for logistic regression
- PMID: 40103937
- PMCID: PMC11913711
- DOI: 10.3389/fneur.2025.1522868
Interpretable prediction of stroke prognosis: SHAP for SVM and nomogram for logistic regression
Abstract
Background: Ischemic Stroke (IS) stands as a leading cause of mortality and disability globally, with an anticipated increase in IS-related fatalities by 2030. Despite therapeutic advancements, many patients still lack effective interventions, underscoring the need for improved prognostic assessment tools. Machine Learning (ML) models have emerged as promising tools for predicting stroke prognosis, surpassing traditional methods in accuracy and speed.
Objective: The aim of this study was to develop and validate ML algorithms for predicting the 6-month prognosis of patients with Acute Cerebral Infarction, using clinical data from two medical centers in China, and to assess the feasibility of implementing Explainable ML in clinical settings.
Methods: A retrospective observational cohort study was conducted involving 398 patients diagnosed with Acute Cerebral Infarction from January 2023 to February 2024. The dataset included demographic information, medical histories, clinical evaluations, and laboratory results. Six ML models were constructed: Logistic Regression, Naive Bayes, Support Vector Machine (SVM), Random Forest, XGBoost, and AdaBoost. Model performance was evaluated using the Area Under the Receiver Operating Characteristic curve (AUC), sensitivity, specificity, predictive values, and F1 score, with five-fold cross-validation to ensure robustness.
Results: The training set, identified key variables associated with stroke prognosis, including hypertension, diabetes, and smoking history. The SVM model demonstrated exceptional performance, with an AUC of 0.9453 on the training set and 0.9213 on the validation set. A Nomogram based on Logistic Regression was developed for visualizing prognostic risk, incorporating factors such as the National Institutes of Health Stroke Scale (NIHSS) score, Barthel Index (BI), Watanabe Drinking Test (KWST) score, Platelet Distribution Width (PDW), and others. Our models showed high predictive accuracy and stability across both datasets.
Conclusion: This study presents a robust ML approach for predicting stroke prognosis, with the SVM model and Nomogram providing valuable tools for clinical decision-making. By incorporating advanced ML techniques, we enhance the precision of prognostic assessments and offer a theoretical and practical framework for clinical application.
Keywords: clinical decision support; ischemic stroke; machine learning; predictive modeling; prognosis.
Copyright © 2025 Guo, Zhu, Zha, Shao, Liu, Gu and Chen.
Conflict of interest statement
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Figures








Similar articles
-
Development and validation of a machine learning-based predictive model for assessing the 90-day prognostic outcome of patients with spontaneous intracerebral hemorrhage.J Transl Med. 2024 Mar 4;22(1):236. doi: 10.1186/s12967-024-04896-3. J Transl Med. 2024. PMID: 38439097 Free PMC article.
-
Development and Validation of an Interpretable Machine Learning Model for Prediction of the Risk of Clinically Ineffective Reperfusion in Patients Following Thrombectomy for Ischemic Stroke.Ther Clin Risk Manag. 2025 May 3;21:621-631. doi: 10.2147/TCRM.S520362. eCollection 2025. Ther Clin Risk Manag. 2025. PMID: 40336699 Free PMC article.
-
Predictive etiological classification of acute ischemic stroke through interpretable machine learning algorithms: a multicenter, prospective cohort study.BMC Med Res Methodol. 2024 Sep 10;24(1):199. doi: 10.1186/s12874-024-02331-1. BMC Med Res Methodol. 2024. PMID: 39256656 Free PMC article.
-
[Constructing a predictive model for the death risk of patients with septic shock based on supervised machine learning algorithms].Zhonghua Wei Zhong Bing Ji Jiu Yi Xue. 2024 Apr;36(4):345-352. doi: 10.3760/cma.j.cn121430-20230930-00832. Zhonghua Wei Zhong Bing Ji Jiu Yi Xue. 2024. PMID: 38813626 Chinese.
-
Non-Contrasted CT Radiomics for SAH Prognosis Prediction.Bioengineering (Basel). 2023 Aug 16;10(8):967. doi: 10.3390/bioengineering10080967. Bioengineering (Basel). 2023. PMID: 37627852 Free PMC article.
References
-
- Feigin VL, Stark BA, Johnson CO, Roth GA, Bisignano C, Abady GG, et al. . Global, regional, and national burden of stroke and its risk factors, 1990-2019: a systematic analysis for the global burden of disease study 2019. Lancet Neurol. (2021) 20:795–820. doi: 10.1016/S1474-4422(21)00252-0, PMID: - DOI - PMC - PubMed
LinkOut - more resources
Full Text Sources