Back

Prediction of stroke-associated pneumonia risk in stroke patients based on interpretable machine learning

Li, C.; Wang, T.; Yuan, J.; Yuan, L.; You, M.

2024-10-29 rehabilitation medicine and physical therapy
10.1101/2024.10.27.24316222
Show abstract

BackgroundStroke-associated pneumonia (SAP) is a frequent complication of stroke, characterized by its high incidence rate, and it can have a severe impact on the prognosis of patients. The limitations of current clinical treatment measures underscore the critical need to identify high-risk factors promptly to decrease the incidence of SAP. ObjectiveTo analyze the risk factors of SAP in stroke patients, construct a predictive model of SAP based on the SHAP interpretable machine learning method, and explain the important variables. MethodsA total of 763 stroke patients admitted to the Second Affiliated Hospital of Anhui University of Traditional Chinese Medicine from July 1, 2023, to May 31, 2024, were selected and randomly divided into the model training set (n=457) and model validation set (n=306) according to the ratio of 6:4. Firstly, the included data were sorted out, and then Lasso regression was used to screen the included characteristic variables. Based on the tidymodels framework, Using decision tree (DT), logistic regression, extreme gradient boosting (XGBoost), support vector machine (SVM), The classification model was constructed by five machine learning methods, including SVM and LightGBM. The grid search and 5-fold cross validation were used to optimize the hyperparameter optimization strategy and the performance index of the model. The predictive performance of the model was evaluated by the area under the receiver operating curve (AUC), calibration curve, and decision curve analysis (DCA), and we used Shapley additive explanation (SHAP) to account for the model predictions and provide interpretable insights. ResultsThe incidence of SAP in this study was 31.72% (242/763). Six variables were selected by Lasso regression, including nasogastric tube use, age, ADL score, Alb, Hs-CRP, and Hb. The model with the best performance in the validation set was the XGBoost model, with an AUC of 0.926, an accuracy of 0.914, and an F1 score of 0.889. Its calibration curve and DCA showed good performance. SHAP algorithm showed that ADL score ranked first in importance. ConclusionThe model constructed using XGBoost has good prediction performance and clinical applicability, which is expected to support clinical decision-making and improve the prognosis of patients.

Matching journals

The top 7 journals account for 50% of the predicted probability mass.

1
PLOS ONE
based on 1737 papers
Top 29%
15.9%
2
Healthcare
based on 14 papers
Top 0.1%
10.5%
3
Frontiers in Neurology
based on 74 papers
Top 2%
7.8%
4
Stroke
based on 29 papers
Top 1.0%
6.6%
5
Frontiers in Medicine
based on 99 papers
Top 4%
4.0%
6
Journal of Stroke and Cerebrovascular Diseases
based on 10 papers
Top 0.5%
3.1%
7
Scientific Reports
based on 701 papers
Top 49%
3.1%
50% of probability mass above
8
Heliyon
based on 57 papers
Top 2%
2.5%
9
Journal of NeuroEngineering and Rehabilitation
based on 14 papers
Top 1%
2.5%
10
PeerJ
based on 46 papers
Top 2%
2.5%
11
Journal of Clinical Medicine
based on 77 papers
Top 7%
2.4%
12
Annals of Translational Medicine
based on 14 papers
Top 2%
1.9%
13
BMC Medical Informatics and Decision Making
based on 36 papers
Top 5%
1.6%
14
Journal of the American Heart Association
based on 92 papers
Top 9%
1.6%
15
Frontiers in Public Health
based on 135 papers
Top 19%
1.4%
16
eLife
based on 262 papers
Top 20%
1.4%
17
Biology Methods and Protocols
based on 19 papers
Top 1%
1.4%
18
International Journal of Medical Informatics
based on 25 papers
Top 4%
1.4%
19
Respiratory Research
based on 10 papers
Top 1%
1.2%
20
International Journal of Epidemiology
based on 65 papers
Top 6%
1.2%
21
Journal of Translational Medicine
based on 21 papers
Top 1.0%
1.2%
22
International Journal of Environmental Research and Public Health
based on 116 papers
Top 18%
1.2%
23
Advanced Science
based on 12 papers
Top 1%
1.2%
24
Brain and Behavior
based on 19 papers
Top 3%
1.2%
25
F1000Research
based on 28 papers
Top 3%
1.2%
26
Clinical Infectious Diseases
based on 219 papers
Top 17%
1.2%
27
Neurorehabilitation and Neural Repair
based on 11 papers
Top 2%
0.9%
28
Gait & Posture
based on 11 papers
Top 2%
0.8%
29
BMJ Open
based on 553 papers
Top 52%
0.7%
30
Neurology
based on 38 papers
Top 7%
0.7%