Conceptio › Archive › NCBI PubMed Central
NCBI PubMed Central open access

Predicting post-stroke functional outcome using explainable machine learning and integrated data.

Olsson J et al. · ncbi_pmc
NCBI PubMed Central · Papers
Open Source ↗Direct PDF ↓
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Predicting post-stroke functional outcome using explainable machine learning and integrated data - PMC Skip to main content An official website of the United States government Here's how you know Here's how you know Official websites use .gov A .gov website belongs to an official government organization in the United States. Secure .gov websites use HTTPS A lock ( Lock Locked padlock icon ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites. Search Log in Dashboard Publications Account settings Log out Search… Search NCBI Primary site navigation Search Logged in as: Dashboard Publications Account settings Log in Search PMC Full-Text Archive Search in PMC Journal List User Guide PERMALINK Copy As a library, NLM provides access to scientific literature. Inclusion in an NLM database does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: PMC Disclaimer | PMC Copyright Notice Sci Rep . 2026 Apr 15;16:12462. doi: 10.1038/s41598-026-47814-x Search in PMC Search in PubMed View in NLM Catalog Add to search Predicting post-stroke functional outcome using explainable machine learning and integrated data Jesper Olsson Jesper Olsson 1 Department of Laboratory Medicine, Institute of Biomedicine, Sahlgrenska Academy, University of Gothenburg, Box 440, 405 30 Gothenburg, Sweden Find articles by Jesper Olsson 1, ✉ , Tara M Stanne Tara M Stanne 1 Department of Laboratory Medicine, Institute of Biomedicine, Sahlgrenska Academy, University of Gothenburg, Box 440, 405 30 Gothenburg, Sweden 2 Department of Clinical Genetics and Genomics, Sahlgrenska University Hospital, Gothenburg, Region Västra Götaland Sweden Find articles by Tara M Stanne 1, 2 , Björn Andersson Björn Andersson 3 Bioinformatics and Data Centre, University of Gothenburg, Gothenburg, Sweden Find articles by Björn Andersson 3 , Christina Jern Christina Jern 1 Department of Laboratory Medicine, Institute of Biomedicine, Sahlgrenska Academy, University of Gothenburg, Box 440, 405 30 Gothenburg, Sweden 2 Department of Clinical Genetics and Genomics, Sahlgrenska University Hospital, Gothenburg, Region Västra Götaland Sweden Find articles by Christina Jern 1, 2 Author information Article notes Copyright and License information 1 Department of Laboratory Medicine, Institute of Biomedicine, Sahlgrenska Academy, University of Gothenburg, Box 440, 405 30 Gothenburg, Sweden 2 Department of Clinical Genetics and Genomics, Sahlgrenska University Hospital, Gothenburg, Region Västra Götaland Sweden 3 Bioinformatics and Data Centre, University of Gothenburg, Gothenburg, Sweden ✉ Corresponding author. Received 2025 Dec 18; Accepted 2026 Apr 3; Collection date 2026. © The Author(s) 2026 Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ . PMC Copyright notice PMCID: PMC13083973  PMID: 41986523 Abstract Functional outcome after acute ischemic stroke (AIS) varies widely, and existing prognostic scores may not capture complex relationships. We evaluated a diverse set of clinical characteristics and blood biomarkers with multiple machine learning models to predict 3-month functional outcome after AIS, and used explainable artificial intelligence to identify key drivers of performance. Models were trained on 506 patients aged 18–69 years with AIS enrolled at four stroke units in western Sweden. We compared extreme gradient boosting, multilayer perceptron (MLP), and L1- and L2-regularized logistic regression. Feature importance was assessed with Shapley additive global explanations. Of the 506 patients, 105 had an unfavorable outcome (modified Rankin Scale score > 2). All models showed high area under the curve (AUROC, 0.900–0.906). The MLP achieved the highest precision–recall performance (AUPRC, 0.773 ± 0.080) and sensitivity (0.655 ± 0.096), though with lower specificity (0.920 ± 0.035). Stroke severity (NIH Stroke Scale score) was the dominant predictor across models. Among biomarkers, brain-derived tau (BD-tau) was most informative, followed by inflammation-related plasma proteins. In conclusion, machine learning accurately predicted functional outcome after AIS. BD-tau and inflammation-related proteins contributed predictive information above stroke severity, suggesting a potential for blood biomarkers to enhance individualized prognostication after AIS. Supplementary Information The online version contains supplementary material available at 10.1038/s41598-026-47814-x. Subject terms: Biomarkers, Medical research, Neurology, Neuroscience Introduction Ischemic stroke remains a leading cause of adult disability worldwide, and recent epidemiological data indicate a troubling rise in incidence among younger age groups 1 . Functional recovery after stroke varies widely across individuals, highlighting the need for more precise, individualized prognostic tools 2 . Traditional scores for functional outcome prediction, e.g. ASTRAL 3 , rely on a limited set of clinical predictors and assume linear relationships, which may fail to capture complex, nonlinear interactions inherent in biological systems. Machine learning (ML) approaches offer a powerful alternative for modeling complex diseases and allow the use of integrated heterogeneous data sources to model intricate patterns that elude conventional statistical approaches. In various medical fields, ML methods such as random forest, gradient-boosted trees, and neural networks have outperformed standard prognostic indices 4 – 6 . Few studies have evaluated ML methods for predicting post-stroke functional outcome, but existing research has demonstrated some improvement in predictive ability over traditional models 7 – 10 . However, concerns over the “black-box” nature of the decision processes in these models introduce challenges for clinical adoption. Explainable artificial intelligence (XAI) methods, such as those for computing feature-importance metrics, can increase transparency by revealing which inputs drive predictions and predictive performance. Some ML methods, such as random forest, allow for inherent estimation of feature importance due to its ensemble nature, while others, such as neural networks, do not allow for direct derivation of feature importance metrics 11 , 12 . This necessitates model-agnostic methods for feature importance. XAI methods in the context of feature importance can generally be divided into two categories: local and global 13 . Local explanation methods aim to measure which features contributed most to an individual prediction, while global explanation methods measure which features most affect overall model behavior across predictions. Shapley additive explanations (SHAP) is a commonly used feature importance method that uses techniques from game theory to compute model-agnostic feature importance metrics 14 and has previously been used to interpret predictions of post-stroke functional outcome, e.g. 15 – 18 . However, SHAP focuses on providing local explanations by measuring each feature’s impact on the model prediction (e.g. predicted probability) and only provides global explanations indirectly by aggregating feature impact from multiple predictions. It does not account for whether impactful features contributed positively or negatively to model performance . Shapley additive global explanations (SAGE), on the other hand, builds on the concepts of SHAP by using the underlying methods to provide global explanations that directly measure the contribution of each feature to model performance across a set of cases, such as a test set 19 . Proteomic data have been successfully utilized in conjunction with ML methods to improve prognostic performance across a range of diseases. For instance, a recent study used proteomics and ML approaches to predict major adverse cardiovascular events 20 . We recently performed a proteomic profiling study and identified novel associations between inflammation-related proteins and functional outcome after acute ischemic stroke (AIS) 21 . Before this, multiple blood biomarkers have been shown to be associated with post-stroke functional outcome 22 , 23 , e.g. 24 , 25 . However, the few studies evaluating a combined ML and blood biomarkers approach for predicting post-stroke outcomes have only used a limited number of routine biomarkers and shown relatively poor performance 16 – 18 , 26 , 27 . In this work, we leverage a richly annotated prospective cohort study on AIS of adults before 70 years of age to evaluate the potential of ML methods for predicting unfavorable 3-month functional outcome. The data consists of clinical characteristics and a broad set of blood biomarkers collected both within clinical routine and for research purposes, including proteomic measurements of inflammation-related proteins. Furthermore, we use XAI methods to assess feature importance and identify the features driving predictive performance. Methods Data source and study population This study uses data from the Sahlgrenska Academy Study on Ischemic Stroke (SAHLSIS), an observational, longitudinal cohort study 28 . The study recruited 600 patients with AIS aged 18–69 years from four stroke units in western Sweden between 1998 and 2003. AIS was defined as patients rapidly developing clinical signs of focal disturbance of cerebral function lasting more than 24 h without hemorrhage or signs of another cause on neuroimaging. Maximum stroke severity within the first seven days of index stroke was scored using the Scandinavian Stroke Scale (SSS), and the SSS score was converted to a NIH Stroke Scale (NIHSS) score using an established algorithm 29 . The recruitment to the study took place before recanalization therapy was part of routine clinical treatment. While this limits the generalizability of the findings to modern stroke care, it provides an opportunity to model biological processes of stroke recovery in a treatment-naïve setting. Beyond collection of clinical and demographic data, as described elsewhere 28 , 30 – 32 , blood samples were biobanked. The procedures for blood sampling, pre-analytical conditions, and biobanking have been described in detail elsewhere 33 , 34 . In brief, venous blood samples were drawn between 8:30 a.m. and 10:30 a.m. after overnight fast in the acute phase of ischemic stroke (median [interquartile range, IQR] 3 – 6 days after index stroke). Plasma and serum were isolated within 2 h by centrifugation at 2000 × g at 4 °C for 20 min, aliquoted, and stored at − 80 °C pending analysis. Analyses of plasma/serum levels of a large number of proteins, e.g. hemostatic factors, inflammatory-related proteins, growth factors and brain injury biomarkers were performed as detailed in the supplementary methods. In addition, blood biomarkers analyzed within the clinical routine work-up at our hospital’s Department of Clinical Chemistry were also included in the data, and these analyses are also detailed in the supplementary methods. Assessments of baseline clinical characteristics were performed by clinicians blinded to the outcome, and analyses of blood biomarkers were performed by technicians blinded to clinical information. The prespecified outcome was functional outcome after 3 months as assessed at an in-person visit by a stroke neurologist by the modified Rankin Scale (mRS). This outcome was dichotomized into favorable (mRS score 0–2) and unfavorable (mRS score 3–6) outcome. Ethical approval Written informed consent was obtained by all participants or next-of-kin prior to enrollment. SAHLSIS was approved by the Regional Ethics Review Board in Gothenburg, Sweden (registration numbers L 653-97, 469-99, 469-99 T553-03, 413-04, 413-04 T586-13, and 413-04 T665-07) and performed in accordance with the 1964 Helsinki Declaration. Computational workflow Data preprocessing We excluded any cases with missing outcome (3-month mRS score), a recurrent stroke within 3 months or with > 20% missingness across features and removed features with > 30% missingness across cases. This resulted in a dataset consisting of 506 cases and 144 features. Missing values of binary and categorical features were imputed with their most common value. Categorical variables were one-hot encoded (i.e. using indicator variables with binary values 0 or 1 for each level). Numerical features were imputed by k-nearest neighbors (kNN) regression with k = 5. All variables were then standardized to a mean of zero and standard deviation of one. This was performed before kNN imputation for numerical features to prevent biased distance comparisons. Machine learning workflow We employed a robust evaluation strategy using repeated stratified five-fold cross-validation (CV) with ten repeats to estimate generalization performance. In each CV iteration, the data was randomly divided into five groups. This created a total of 50 modeling iterations, hereafter referred to as fold iterations . In each fold iteration, models were trained to predict unfavorable functional outcome on four training folds, i.e. 80% of the data, and evaluated on the held-out test fold, i.e. the remaining 20% of the data. Performance statistics were thus computed across a total of 50 test folds. Due to the repetition of CV, the test folds will not all be independent but overlapping. Prior to model training, the Boruta feature selection algorithm was applied to the training set to identify a stable subset of informative features 35 . During feature selection, Boruta iteratively trains a random forest model on an expanded dataset that includes the original features and shadow features (shuffled versions of the original features). The algorithm uses feature importance estimates to identify relevant features as those that significantly outperform the best-performing shadow feature. Hyperparameter tuning was performed on each training set using a nested five-fold CV. Performance metrics used to evaluate the models included area under the receiver operating characteristic curve (AUROC), area under the precision-recall curve (AUPRC), F 1 score, sensitivity, and specificity. Four ML methods were compared: ridge-regularized logistic regression, least absolute shrinkage and selection operator (LASSO), extreme gradient boosting (XGBoost), and a multilayer perceptron (MLP). Logistic regression (LR) models the probability of a binary outcome by applying the logistic function to a weighted sum of input features. Regularization can be applied in the form of a penalty to the magnitude of the coefficients to reduce overfitting and improve generalization. Ridge LR uses an L 2 penalty, which shrinks all coefficients toward zero proportionally, thereby stabilizing coefficient estimates while retaining the features. LASSO uses a stricter L 1 penalty, which can shrink some coefficients exactly to zero 36 . In this study, the regularization hyperparameter was tuned using nested five-fold CV. XGBoost is an optimized implementation of gradient-boosted decision trees, where trees are built sequentially to correct the errors of prior trees 37 . At each step, the model minimizes a loss function (e.g. logistic loss for classification) using gradient and second-order (Hessian) information, while applying regularization to control tree complexity. Multiple hyperparameters were tuned via a randomized search of 150 samples of the parameter space. Further details on the XGBoost optimization can be found in the supplementary methods. A multilayer perceptron (MLP) is a feedforward neural network composed of an input layer, one or more hidden layers of fully connected units, and an output layer. Each unit computes a weighted sum of its inputs followed by an activation that usually performs a nonlinear transformation. The network’s parameters are learned by backpropagating the loss computed on the outputs, iteratively adjusting them to minimize the loss function using its gradient. Because of the nonlinearity introduced by the activation functions, the MLP transforms the feature space to unravel complex geometries and capture more intricate decision boundaries. This allows for the modeling of complex relationships, including interactions between features, that linear models cannot. In this study, the MLP was constructed with four hidden layers with 32, 64, 32, and 16 units, respectively, all using exponential linear unit (ELU) activation. No systematic hyperparameter tuning was performed on the MLP. Instead, the MLP architecture and hyperparameters were developed empirically on a separate CV of the data. Further details on the MLP can be found in the supplementary methods. Feature importance To derive model-agnostic global feature importance rankings, we computed SAGE 19 values for each trained model and fold iteration. SAGE quantifies how much a model’s overall performance depends on each feature by computing the change in cross-entropy loss when that feature is withheld across all subsets of features. The values were computed on the test set of each iteration and averaged for each feature across all fold iterations. If a feature was rejected by Boruta during feature selection in a given fold iteration, but retained in at least one other, it was given a SAGE value of zero for that fold iteration. To allow for comparison of feature importance between models, the averages were then normalized. As such, the normalized mean SAGE values represent the mean estimated proportion of performance attributable to each feature. Univariate associations between variables and outcome were assessed using the Wilcoxon rank-sum test for continuous variables and the Chi-squared test for categorical variables in R 4.5.2. The modeling was performed using Python 3.13. Scikit-learn 1.6.1 was the main package used for the modeling workflow, including its implementations for LASSO and Ridge logistic regression 38 . XGBoost 3.0.2 was used for XGBoost implementation and the MLP was developed and trained using PyTorch 2.7.1 39 . SAGE values were computed using sage-importance 0.0.6. Further details on the modeling workflow can be found in the supplementary methods. Code availability Source code for this article is available in the following Github repository: https://github.com/jespeols/predicting_mRS_xML_integrated_data . Results Study population After filtering cases with missing outcome, a recurrent stroke within 3 months, or too many missing features, the dataset consisted of 506 AIS patients aged 18–69 years from the SAHLSIS cohort. Demographic and clinical characteristics of this study population can be found in Table 1 . The median age of patients was 58 (IQR: 52–64) and 63% were male. 105 of 506 patients (21%) had an unfavorable 3‑month outcome (mRS score 3–6), and most of these had moderate or moderately severe disability (mRS score distribution, score: no. (%): 0: 72 (14.2%); 1: 121 (23.9%); 2: 208 (41.1%); 3: 70 (13.8%); 4: 32 (6.3%); 5: 1 (0.2%); and 6: 2 (0.4%)). The median NIHSS score among all patients was 2.9 (IQR: 1.2–6.8), 2.0 (IQR: 0.7–3.8) in the favorable outcome group and 12.4 (IQR: 6.8–16.2) in the unfavorable outcome group. Characteristics tables containing comparisons between the two outcome groups for all clinical and blood biomarker variables can be found in the supplementary material (Supplementary Tables S1 and S5 , respectively). Table 1. Baseline clinical characteristics of the SAHLSIS cohort. Data are shown for patients in the whole cohort and those in the subgroups of favorable (mRS score 0–2) and unfavorable (mRS score 3–6) 3-month functional outcome after AIS. Baseline characteristics for the two outcome groups were compared and p -values < 0.05 were considered statistically significant and are indicated in bold. Variable 3-month functional outcome Overall N = 506 Favorable N = 401 Unfavorable N = 105 p -value Age, years, median [IQR] 58 [52–64] 58 [52–64] 59 [53–65] 0.6 Sex, male, no. (%) 319 (63) 248 (62) 71 (68) 0.3 Hypertension, no. (%) 301 (60) 238 (59) 63 (61) > 0.9 Diabetes mellitus, no. (%) 94 (19) 70 (17) 24 (23) 0.3 Hyperlipidemia, no. (%) 362 (75) 284 (74) 78 (81) 0.2 Atrial fibrillation, no. (%) 52 (11) 29 (7.8) 23 (25) < 0.001 Coronary artery disease, no. (%) 85 (17) 64 (16) 21 (21) 0.3 Smoker, no. (%) 196 (39) 159 (40) 37 (36) 0.5 Body mass index [kg/m 2 ], median [IQR] 25.9 [23.8–28.7] 26.0 [23.9–28.7] 25.5 [23.0–28.7] 0.3 Previous stroke, no. (%) 99 (20) 72 (18) 27 (26) 0.10 Stroke severity (NIHSS score), median [IQR] 2.9 [1.2–6.8] 2.0 [0.7–3.8] 12.4 [6.8–16.2] < 0.001 TOAST, no. (%) 0.001 Large artery atherosclerosis 57 (11) 43 (11) 14 (13) Small artery occlusion 111 (22) 101 (25) 10 (9.5) Cardioembolic 84 (17) 61 (15) 23 (22) Cryptogenic 136 (27) 111 (28) 25 (24) Other determined 39 (7.7) 24 (6.0) 15 (14) Undetermined 79 (16) 61 (15) 18 (17) OCSP, no. (%) < 0.001 LACI 189 (37) 166 (42) 23 (22) POCI 126 (25) 114 (29) 12 (11) TACI/PACI 190 (38) 120 (30) 70 (67) Open in a new tab mRS, modified Rankin Scale; IQR, Interquartile range; BMI, Body mass index; NIHSS, National Institutes of Health Stroke Scale; TOAST, Trial of Org 10172 in Acute Stroke Treatment; OCSP, Oxford Community Stroke Project; LACI, lacunar cerebral infarct; POCI, posterior circulation infarct; TACI, total anterior circulation infarct; PACI, partial anterior circulation infarct. Model performance Table 2 presents a performance comparison of the ML methods in the form of averaged metrics computed on the 50 test folds. The models achieve similar performance and variability across metrics. In area under the precision-recall curve (AUPRC), the MLP achieves the highest average performance at 0.773 ± 0.080, and the highest area under the receiver operating characteristic curve (AUROC) score at 0.906 ± 0.033. The MLP also achieves the highest sensitivity score at 0.655 ± 0.096, which is qualified by the lowest specificity score at 0.920 ± 0.035. In contrast, Ridge achieves the highest specificity at 0.957 ± 0.023, but lowest sensitivity at 0.553 ± 0.099. Notably, the MLP and XGBoost achieve higher F 1 score (0.667 ± 0.075 and 0.671 ± 0.078, respectively) than Ridge and LASSO (0.642 ± 0.086 and 0.647 ± 0.080, respectively). Table 2. Performance of ML methods predicting 3-month unfavorable functional outcome (mRS score 3–6) after ischemic stroke. Scores are expressed as mean ± standard deviation. Bold indicates the best-performing model for each metric. Model AUPRC AUROC F1 Sensitivity Specificity MLP 0.773 ± 0.080 0.906 ± 0.033 0.667 ± 0.075 0.655 ± 0.096 0.920 ± 0.035 LASSO 0.767 ± 0.077 0.902 ± 0.033 0.647 ± 0.080 0.572 ± 0.096 0.950 ± 0.025 Ridge 0.762 ± 0.079 0.900 ± 0.034 0.642 ± 0.086 0.553 ± 0.099 0.957 ± 0.023 XGBoost 0.756 ± 0.073 0.904 ± 0.030 0.671 ± 0.078 0.618 ± 0.108 0.944 ± 0.024 Open in a new tab Feature importance Feature importance rankings based on means of SAGE values computed on the 50 test folds are shown after normalization for the top 10 features in Fig. 1 . Stroke severity (NIHSS score) is the most important predictor across all models, followed by the neuronal injury biomarker brain-derived tau (BD-tau). Further predictors that show lower relative importance consist of multiple inflammation-related proteins such as oncostatin M (OSM), tumor necrosis factor superfamily 14 (TNFSF14), and coagulation factor von Willebrand factor (vWF). Results from Boruta feature selection are presented in the supplement (Supplementary Table S4 ) and show that a relatively small share of the features pass feature selection, but that a subset pass in all 50 fold iterations. Fig. 1. Open in a new tab Normalized mean SAGE values computed across the 50 test folds. Top 10 features ranked by averaging across models are shown. NIHSS, NIH Stroke Scale score; BD-tau, brain-derived tau; OSM, oncostatin M; vWF, von Willebrand factor; TNFSF14, tumor necrosis factor superfamily 14; EN-RAGE, aka. S100 calcium binding protein A12 (S100A12); TRAIL, TNF-related apoptosis-inducing ligand; CCL25, C–C motif chemokine ligand 25; IL-6, interleukin 6; MLP, multilayer perceptron; LASSO, least absolute shrinkage operator; XGBoost, extreme gradient boosting. Discussion This study aimed to evaluate the performance of various ML models in predicting unfavorable 3-month functional outcome after ischemic stroke using a richly annotated dataset comprising a broad set of clinical characteristics and diverse blood biomarkers, including proteomic data on inflammation-related proteins. Additionally, we sought to identify key predictors driving model performance using the model-agnostic feature importance method SAGE. The models achieved comparable performance across performance metrics, though the MLP demonstrated notably better performance in classifying unfavorable outcomes in this imbalanced dataset at the cost of lower specificity. Feature importance analysis revealed that stroke severity was the most important predictor of 3-month functional outcome across all models, with brain-derived tau (BD-tau) standing out among the remaining features. Compared to previous studies evaluating ML methods for predicting post-stroke functional outcome, the present study uses a uniquely well-characterized cohort of adult ischemic stroke patients before 70 years of age, integrating routine clinical data with broad molecular data. While comparing findings from modeling across different studies carries many caveats due to differences in modeling strategy and evaluation on different datasets from study populations with different characteristics, it can still be insightful to compare the findings and conclusions of different approaches. For instance, one previous study evaluated a MLP, random forest and logistic regression on 2604 AIS patients that did not receive recanalization treatment and showed that the MLP outperformed other approaches at predicting 3-month functional outcome 9 . Furthermore, it showed that the NIHSS score was the most important of the 38 predictors comprising mostly clinical characteristics and a small set of routine blood biomarkers. Our study solidifies this conclusion by examining a broader set of models and predictors. Another study evaluated a variety of models using five-fold CV and found that they performed comparably when predicting 6-month functional outcome on 1735 AIS patients with mainly clinical characteristics data 8 . However, in that study, the pattern of higher sensitivity at the cost of lower specificity for the MLP in comparison to other models was not observed. A third study by Lee et al. (2023) compared three tree-based models (including XGBoost) on 3687 AIS patients and used SHAP for feature importance to infer global explanations in terms of which of the 16 features (clinical characteristics and routine blood biomarkers) most impacted predictions 15 . In line with the present results, they found that initial stroke severity was the most important predictor. The other main contributing variables were age, white blood cell count (WBC), and early neurological deterioration (END). In our dataset, WBC was not selected among the most important features, and a likely explanation for this is that the present dataset included circulating levels of several circulating pro-inflammatory proteins that were not included in the study by Lee et al. We did not register data on END, which precludes comparisons on that specific variable. The study by Lee et al. further found that common co-morbidities such as atrial fibrillation, diabetes mellitus, BMI, and hypertension had a negligible impact on model output, a finding that aligns with our results showing that these clinical variables did not pass feature selection. In all of these studies, age was reported as an important variable, while in the present study it does not pass feature selection even once. This is likely due to the restricted age range of 18–69 in the SAHLSIS cohort, while the previous studies had no such age limit. Indeed, the SHAP analysis in Lee et al. showed that after 75 years of age, the impact of the age variable on model output (i.e. predicted probability of unfavorable outcome) increased notably 15 . One previous study used a modeling approach similar to ours, comparing among others MLP, XGBoost, and LR using Boruta feature selection on a variable set containing routine clinical variables and blood biomarkers for 470 ischemic or hemorrhagic stroke patients 40 . Importantly, however, the outcome was dichotomized mRS at discharge. That said, they found that the MLP slightly outperformed XGBoost and LASSO, and observed the same pattern of improved prediction of unfavorable outcomes at the cost of lower specificity as in the present study. Using SHAP, they identified NIHSS score upon admission as the dominant predictor. However, they only applied SHAP to the best-performing model, while our study adds robustness to that conclusion by comparing relative feature importance across models. Further examination of the performance results in Table 2 reveals a key trade-off between the different models. Due to the class imbalance of the dataset, there are fewer examples of unfavorable outcomes for the models to learn from, and predicting cases of unfavorable outcome will generally be more difficult for the models than predicting favorable ones. It is therefore interesting that the more complex models, namely MLP and XGBoost, were better at predicting unfavorable outcomes and balancing the two classes at the standard decision cutoff of 0.5, as shown by their higher F 1 scores. As we look at performance across cutoffs via AUPRC and AUROC, the picture changes and the models converge. However, the results indicate that there is some predictive information contained within non-linearity in the predictors and/or interactions between them. Therefore, more complex models may be more useful for data-driven research into the underlying mechanisms of stroke recovery, especially when combined with XAI methods that alleviate their black-box nature. Furthermore, it is likely that these models will scale better with more data. However, for implementation of data-driven methods in clinical practice, the transparency and simplicity of linear models carry notable benefits. On the other hand, these results indicate that such a model would require a tuned cutoff to avoid missing a substantial share of unfavorable outcomes. Feature importance analysis using SAGE showed that stroke severity (captured in this study as the maximum NIHSS score within seven days of index stroke) is the most important predictor of 3-month functional outcome across all models. This aligns with the well-established central role of neurological deficit in post-stroke prognostication 41 . The particularly dominant contribution observed in our cohort likely reflects both the intrinsic relationship between stroke severity and outcome, and the fact that our severity measure captures the peak neurological deficit rather than a single time-point assessment (e.g. admission or 24 h post-stroke) which may underestimate the true maximal deficit. Given that most prior studies rely on NIHSS score measured at a single time point, the predictive capability of stroke severity may be comparatively increased in our analysis and likely contributes to the strong relative importance of stroke severity observed in this cohort. Notably, however, BD-tau emerged as the most important blood biomarker predictor, suggesting it provides prognostic information beyond what is captured by the NIHSS score. We have previously investigated the role of BD-tau as a biomarker for post-stroke outcomes, and found an association between BD-tau and functional outcome after ischemic stroke 42 that has been reported in other cohorts, as well 43 . Furthermore, we have previously investigated how BD-tau and the NIHSS score perform as predictors of outcome depending on infarct location and hypothesized that including BD-tau may alleviate the bias toward anterior circulation stroke present in the NIHSS score 44 , 45 . Beyond the NIHSS score and BD-tau, a number of inflammation-related proteins show up with similar performance contribution. Among these, OSM, TNFSF14, EN-RAGE (aka. S100A12), CCL25, interleukin-6 (IL-6) and tumor necrosis factor-related apoptosis-inducing ligand (TRAIL) show up among the most important. This finding concords with a previous investigation we conducted into associations between inflammation-related proteins and 3-month functional outcome on the same cohort 21 . In this study, we extend this analysis by applying a more comprehensive ML methodology on a broader data set of multiple data types. The present results suggest that proteomics data may provide prognostic information in AIS, but that the NIHSS score remains the main predictor of post-stroke functional outcome. Further research including proteomics data in larger cohorts may help clarify the potential of these biomarkers in prognostication. Furthermore, broader protein panels with coverage beyond inflammation-related proteins may provide a wider biological context and more information on the pathophysiological processes underlying stroke recovery. The primary strength of this study is the extensive data on the patients in the SAHLSIS cohort, including thorough clinical workup and laboratory analysis of different types of blood biomarkers, including among others hemostatic factors, inflammation-related proteins and markers of immune system activity and neuronal injury. Beyond the extensive annotation, there are additional strengths of the cohort. First, due to the organization of the Swedish medical system, the cohort offers good representation of stroke patients within the given age range and time period within the geographical region of Västra Götaland and does not suffer from selection bias from which hospital patients arrive to. Second, the age restriction of the cohort carries with it the benefit of fewer co-morbidities. Third, this study employs a comprehensive modeling workflow consisting of preprocessing, feature selection, and nuanced evaluation with multiple performance metrics of a diverse set of models of varying complexity. Furthermore, the use of XAI to rigorously analyze and fairly compare feature importance across models allows for robust identification of drivers of unfavorable functional outcome. There are important limitations of this study that need to be considered. First, since no independent validation set was used, the results and conclusions of the study are limited to the analyzed cohort. This study focused on ischemic stroke at working age, which limits the generalizability of the results to older patients. Furthermore, as inclusion was performed in a time era when recanalization therapies were not yet part of standard routine care, the results cannot be generalized to patients receiving these treatments. Second, while the data is comprehensive, it does not include data on history of mental illness or pre-stroke cognitive function, mRS pre-stroke or at discharge, or information on post-stroke rehabilitation. Further, imaging data was only available for a subset of this cohort (n = 254) and therefore not included in the analysis. That said, we hypothesize that much of the predictive information that can be gained from imaging is captured by other features such as NIHSS score and BD-tau. For instance, we have previously demonstrated strong correlation between BD-tau and infarct volume in the subgroup of this cohort with imaging 44 . Third, the relatively small sample size carries a risk of overfitting for complex models such as the MLP and XGBoost. However, by using Boruta to include only features deemed relevant to prediction, the models were fitted on much smaller feature sets, thereby reducing this risk. Fourth, while our study uses XAI methods to interpret models, we limit this to global explanations. Local explanations are relevant both in clinical contexts and for research, for example by investigating causes of misclassification or why different models make different decisions. Future research ought to combine SAGE with SHAP to explore what drives both performance and individual predictions. Finally, while this study explores the potential of combining blood biomarkers with machine‑learning approaches to support individualized outcome prediction, these findings are preliminary. Larger, cohorts will be required to validate these results, enable stratified analyses across clinically relevant subgroups, and determine whether such approaches can ultimately yield prognostic insights of tangible value for clinical decision‑making and future clinical trial design. In conclusion, machine learning models that utilize integrated clinical data with blood-based biomarkers perform well at predicting 3-month functional outcome after ischemic stroke in the form of dichotomized mRS. All models achieved comparable performance, with the MLP slightly outperforming others in terms of AUPRC by better classification of unfavorable outcomes. Feature importance analyses using SAGE highlighted stroke severity and BD-tau as key predictors of unfavorable outcome. These findings emphasize the central role of acute stroke severity in shaping recovery trajectories after stroke, but indicate that including blood biomarkers in predictive models using ML methods holds promise in improving personalized outcome predictions. As the present study included ischemic stroke patients of working age who did not receive recanalization therapy, future studies applying and evaluating this modeling approach on larger and more diverse cohorts are warranted. Supplementary Information Below is the link to the electronic supplementary material. Supplementary Material 1 (394.9KB, pdf) Acknowledgements We would like to thank all the study participants for making this work possible, as well as the clinical and research staff involved in data collection and analysis. Author contributions CJ, TS, BA, and JO conceived and designed the study. CJ designed and led data acquisition on stroke outcomes and clinical characteristics. CJ and TS were responsible for protein measurements. JO wrote the code and performed the analyses and data visualization with input from BA, CJ, and TS. JO drafted the manuscript. All authors contributed to interpretation of results, revised the manuscript critically for important intellectual content, and approved the final version of the manuscript. Funding Open access funding provided by University of Gothenburg. This study was supported by the Knut and Alice Wallenberg Foundation through the Data-Driven Life Science (DDLS) program; the Swedish Heart and Lung Foundation (20250608); the Swedish Research Council (2025-02719); Swedish governmental funding of clinical research (ALFGBG-965328); and the King Gustaf V and Queen Victoria’s Foundation. Data availability Anonymized data will be shared upon reasonable request, provided data transfer agrees with EU legislation on the general data protection regulation and with decisions by the Ethical Review Board of Sweden and the University of Gothenburg, the latter which should be regulated in a data transfer agreement. Declarations Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References 1. Feigin, V. L. et al. Global, regional, and national burden of stroke and its risk factors, 1990–2021: A systematic analysis for the global burden of disease study 2021. Lancet Neurol. 23 , 973–1003. 10.1016/S1474-4422(24)00369-7 (2024). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 2. Bonkhoff, A. K. & Grefkes, C. Precision medicine in stroke: Towards personalized outcome predictions using artificial intelligence. Brain 145 , 457–475. 10.1093/brain/awab439 (2022). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 3. Ntaios, G. et al. An integer-based score to predict functional outcome in acute ischemic stroke: The ASTRAL score. Neurology 78 , 1916–1922. 10.1212/WNL.0b013e318259e221 (2012). [ DOI ] [ PubMed ] [ Google Scholar ] 4. Manz, C. R. et al. Validation of a machine learning algorithm to predict 180-day mortality for outpatients with cancer. JAMA Oncol. 6 , 1723–1730. 10.1001/jamaoncol.2020.4331 (2020). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 5. Alaa, A. M., Bolton, T., Angelantonio, E. D., Rudd, J. H. F. & van der Schaar, M. Cardiovascular disease risk prediction using automated machine learning: A prospective study of 423,604 UK Biobank participants. PLoS ONE 14 , e0213653. 10.1371/journal.pone.0213653 (2019). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 6. Weng, S. F., Reps, J., Kai, J., Garibaldi, J. M. & Qureshi, N. Can machine-learning improve cardiovascular risk prediction using routine clinical data?. PLoS ONE 12 , e0174944. 10.1371/journal.pone.0174944 (2017). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 7. Monteiro, M. et al. Using machine learning to improve the prediction of functional outcome in ischemic stroke patients. IEEE/ACM Trans. Comput. Biol. Bioinform. 15 , 1953–1959. 10.1109/TCBB.2018.2811471 (2018). [ DOI ] [ PubMed ] [ Google Scholar ] 8. Li, X. et al. Predicting 6-month unfavorable outcome of acute ischemic stroke using machine learning. Front. Neurol. 11 , 539509. 10.3389/fneur.2020.539509 (2020). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 9. Heo, J. et al. Machine learning-based model for prediction of outcomes in acute stroke. Stroke 50 , 1263–1265. 10.1161/STROKEAHA.118.024293 (2019). [ DOI ] [ PubMed ] [ Google Scholar ] 10. Matsumoto, K. et al. Stroke prognostic scores and data-driven prediction of clinical outcomes after acute ischemic stroke. Stroke 51 , 1477–1483. 10.1161/STROKEAHA.119.027300 (2020). [ DOI ] [ PubMed ] [ Google Scholar ] 11. Breiman, L. Random forests. Mach. Learn. 45 , 5–32. 10.1023/A:1010933404324 (2001). [ Google Scholar ] 12. Mersha, M., Lam, K., Wood, J., AlShami, A. & Kalita, J. Explainable artificial intelligence: A survey of needs, techniques, applications, and future direction. Neurocomputing 599 , 128111. 10.1016/j.neucom.2024.128111 (2024). [ Google Scholar ] 13. Doshi-Velez, F. & Kim, B. Towards a rigorous science of interpretable machine learning. Preprint at 10.48550/ARXIV.1702.08608 (2017). 14. Lundberg, S. M. & Lee, S.-I. A unified approach to interpreting model predictions. Adv. Neural Inf. Process. Syst. 30 . https://proceedings.neurips.cc/paper/2017/hash/8a20a8621978632d76c43dfd28b67767-Abstract.html (2017). 15. Lee, J., Park, K. M. & Park, S. Interpretable machine learning for prediction of clinical outcomes in acute ischemic stroke. Front. Neurol. 10.3389/fneur.2023.1234046 (2023). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 16. Luo, M.-Y. et al. Prediction of outcomes following intravenous thrombolysis in patients with acute ischemic stroke using serum UCH-L1, S100β, and NSE: A multicenter prospective cohort study employing machine learning methods. Ther. Adv. Neurol. Disord. 18 . 10.1177/17562864251342429 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 17. Wang, Q. et al. Development and validation of outcome prediction model for reperfusion therapy in acute ischemic stroke using nomogram and machine learning. Neurol. Sci. 45 , 3255–3266. 10.1007/s10072-024-07329-7 (2024). [ DOI ] [ PubMed ] [ Google Scholar ] 18. Fast, L. et al. Machine learning-based prediction of clinical outcomes after first-ever ischemic stroke. Front. Neurol. 14 , 1114360. 10.3389/fneur.2023.1114360 (2023). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 19. Covert, I., Lundberg, S. & Lee, S.-I. Understanding global feature contributions with additive importance measures. Preprint at 10.48550/arXiv.2004.00668 (2020). 20. Ho, F. K. et al. A proteomics-based approach for prediction of different cardiovascular diseases and dementia. Circulation 151 , 277–287. 10.1161/CIRCULATIONAHA.124.070454 (2025). [ DOI ] [ PubMed ] [ Google Scholar ] 21. Angerfors, A. et al. Proteomic profiling identifies novel inflammation-related plasma proteins associated with ischemic stroke outcome. J. Neuroinflammation 20 . 10.1186/s12974-023-02912-9 (2023). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 22. Gkantzios, A. et al. Stroke and emerging blood biomarkers: A clinical prospective. Neurol. Int. 14 , 784–803. 10.3390/neurolint14040065 (2022). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 23. Montellano, F. A. et al. Role of blood-based biomarkers in ischemic stroke prognosis. Stroke 52 , 543–551. 10.1161/STROKEAHA.120.029232 (2021). [ DOI ] [ PubMed ] [ Google Scholar ] 24. Ye, S. et al. A nomogram model incorporating blood biomarkers predicts 3-week functional outcomes in stroke patients. Front. Neurosci. 10.3389/fnins.2025.1609156 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 25. Li, J. et al. Residual inflammatory risk predicts poor prognosis in acute ischemic stroke or transient ischemic attack patients. Stroke 52 , 2827–2836. 10.1161/STROKEAHA.120.033152 (2021). [ DOI ] [ PubMed ] [ Google Scholar ] 26. Bamodu, O. A., Chan, L., Wu, C.-H., Yu, S.-F. & Chung, C.-C. Beyond diagnosis: Leveraging routine blood and urine biomarkers to predict severity and functional outcome in acute ischemic stroke. Heliyon 10 . 10.1016/j.heliyon.2024.e26199 (2024). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 27. Liang, Y., Li, Q., Chen, P., Xu, L. & Li, J. Comparative study of back propagation artificial neural networks and logistic regression model in predicting poor prognosis after acute ischemic stroke. Open Med. 14 , 324–330. 10.1515/med-2019-0030 (2019). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 28. Jood, K., Ladenvall, C., Rosengren, A., Blomstrand, C. & Jern, C. Family history in ischemic stroke before 70 years of age. Stroke 36 , 1383–1387. 10.1161/01.STR.0000169944.46025.09 (2005). [ DOI ] [ PubMed ] [ Google Scholar ] 29. Gray, L. J., Ali, M., Lyden, P. D. & Bath, P. M. W. Interconversion of the national institutes of health stroke scale and scandinavian stroke scale in acute stroke. J. Stroke Cerebrovasc. Dis. 18 , 466–468. 10.1016/j.jstrokecerebrovasdis.2009.02.003 (2009). [ DOI ] [ PubMed ] [ Google Scholar ] 30. Jood, K., Redfors, P., Rosengren, A., Blomstrand, C. & Jern, C. Self-perceived psychological stress and ischemic stroke: A case-control study. BMC Med. 7 . 10.1186/1741-7015-7-53 (2009). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 31. Rosengren, A., Wedel, H. & Wilhelmsen, L. Coronary heart disease and mortality in middle aged men from different occupational classes in Sweden. BMJ 297 , 1497–1500. 10.1136/bmj.297.6662.1497 (1988). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 32. Redfors, P. et al. Living alone predicts mortality in patients with ischemic stroke before 70 years of age: A long-term prospective follow-up study. BMC Neurol. 16 . 10.1186/s12883-016-0599-y (2016). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 33. Jood, K. et al. Fibrinolytic gene polymorphism and ischemic stroke. Stroke 36 , 2077–2081. 10.1161/01.STR.0000183617.54752.69 (2005). [ DOI ] [ PubMed ] [ Google Scholar ] 34. Ladenvall, C. et al. Serum C-reactive protein concentration and genotype in relation to ischemic stroke subtype. Stroke 37 , 2018–2023. 10.1161/01.str.0000231872.86071.68 (2006). [ DOI ] [ PubMed ] [ Google Scholar ] 35. Kursa, M. B. & Rudnicki, W. R. Feature selection with the Boruta Package. J. Stat. Softw. 36 , 1–13. 10.18637/jss.v036.i11 (2010). [ Google Scholar ] 36. Tibshirani, R. Regression shrinkage and selection via the lasso. J. Roy. Stat. Soc.: Ser. B Methodol. 58 , 267–288. 10.1111/j.2517-6161.1996.tb02080.x (1996). [ Google Scholar ] 37. Chen, T. & Guestrin, C. XGBoost: A Scalable Tree Boosting System . 785–794. 10.1145/2939672.2939785 (2016). 38. Pedregosa, F. et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 12 , 2825–2830 (2011). [ Google Scholar ] 39. Paszke, A. et al. PyTorch: An imperative style, high-performance deep learning library. Preprint at 10.48550/arXiv.1912.01703 (2019). 40. Gkantzios, A. et al. Evaluation of blood biomarkers and parameters for the prediction of stroke survivors’ functional outcome upon discharge utilizing explainable machine learning. Diagnostics 13 . 10.3390/diagnostics13030532 (2023). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 41. Rost, N. S. et al. Stroke severity is a crucial predictor of outcome: An international prospective validation study. J. Am. Heart Assoc. 5 . 10.1161/JAHA.115.002433 (2016). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 42. Stanne, T. M. et al. Association of plasma brain-derived tau with functional outcome after ischemic stroke. Neurology 102 . 10.1212/WNL.0000000000209129 (2024). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 43. Varela, R. et al. Plasma brain-derived tau in prognosis of large vessel occlusion ischemic stroke. Stroke 55 , 2353–2358. 10.1161/STROKEAHA.123.046117 (2024). [ DOI ] [ PubMed ] [ Google Scholar ] 44. Gonzalez-Ortiz, F. et al. Plasma brain-derived tau correlates with cerebral infarct volume. J. Intern. Med. 297 , 173–185. 10.1111/joim.20041 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 45. Inoa, V., Aron, A. W., Staff, I., Fortunato, G. & Sansing, L. H. Lower NIH stroke scale scores are required to accurately predict a good prognosis in posterior circulation stroke. Cerebrovasc. Dis. 37 , 251–255. 10.1159/000358869 (2014). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Associated Data This section collects any data citations, data availability statements, or supplementary materials included in this article. Supplementary Materials Supplementary Material 1 (394.9KB, pdf) Data Availability Statement Anonymized data will be shared upon reasonable request, provided data transfer agrees with EU legislation on the general data protection regulation and with decisions by the Ethical Review Board of Sweden and the University of Gothenburg, the latter which should be regulated in a data transfer agreement. Articles from Scientific Reports are provided here courtesy of Nature Publishing Group ACTIONS View on publisher site PDF (1.4 MB) Cite Collections Permalink PERMALINK Copy RESOURCES Similar articles Cited by other articles Links to NCBI Databases Cite Copy Download .nbib .nbib Format: AMA APA MLA NLM Add to Collections Create a new collection Add to an existing collection Name your collection * Choose a collection Unable to load your collection due to an error Please try again Add Cancel Follow NCBI NCBI on X (formerly known as Twitter) NCBI on Facebook NCBI on LinkedIn NCBI on GitHub NCBI RSS feed Connect with NLM NLM on X (formerly known as Twitter) NLM on Facebook NLM on YouTube National Library of Medicine 8600 Rockville Pike Bethesda, MD 20894 Web Policies FOIA HHS Vulnerability Disclosure Help Accessibility Careers NLM NIH HHS USA.gov Back to Top

Related documents

Record · ID 25574 · SHA-256 5032d764ae89b3c6
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive