Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Dec 28;14(1):31066.
doi: 10.1038/s41598-024-82280-3.

Predictive modelling of hospital-acquired infection in acute ischemic stroke using machine learning

Affiliations

Predictive modelling of hospital-acquired infection in acute ischemic stroke using machine learning

Chun-Wei Chang et al. Sci Rep. .

Abstract

Hospital-acquired infections (HAIs) are serious complication for patients with acute ischemic stroke (AIS), often resulting in poor functional outcomes. However, no existing model can specifically predict HAI in AIS patients. Therefore, we employed the Gradient Boosting matching learning algorithm to establish predictive models for HAI occurrence in AIS patients and poor 30-day functional outcomes (modified Rankin Scale > 2) in AIS patients with HAI by analyzing electronic health records from 6560 AIS patients. Model performance was evaluated through internal cross-validation and external validation using an independent cohort of 3521 AIS patients. The established models demonstrated robust predictive performance for HAI in AIS patients, achieving area under the receiver operating characteristic curves (AUROCs) of 0.857 ± 0.008 during internal validation and 0.825 ± 0.002 during external validation. For AIS patients with HAI, the second model effectively predict poor 30-day functional outcomes, with AUROCs of 0.905 ± 0.009 during internal validation and 0.907 ± 0.002 during external validation. In conclusion, machine learning models effectively identify the HAI occurrence and predict poor 30-day functional outcomes in AIS patients with HAI. Future prospective studies are crucial for validating and refining these models for clinical application, as well as for developing an accessible flowchart or scoring system to enhance clinical practices.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Distribution and classification of hospital-acquired infections (HAI) in patients with acute ischemic stroke (AIS). (A) Culture positivity rate of HAI in the urinary tract, respiratory tract, bloodstream, and other areas (including soft tissue, joint, intra-abdominal, and nasal sinus). (B) Distribution of Gram-negative pathogens isolated from blood, sputum, and urine in AIS patients with HAI. (C) Distribution of Gram-positive pathogens isolated from blood, sputum, and urine samples from AIS patients with HAI.
Fig. 2
Fig. 2
Machine learning model performance and feature importance for predicting hospital-acquired infections (HAIs) in patients with acute ischemic stroke (AIS). (A, B) Receiver Operating Characteristic (ROC) curves of the model showed mean Area under the Curve (AUROC) values of 0.86 (A) for internal validation and 0.82 (B) for external validation. (C) Distribution of Shapley Additive Explanations (SHAP) values for each patient. Red indicated high values of continuous features or “true” for categorical features, while blue indicates low values of “false”. Gray spots represent missing values. A positive SHAP value suggests the feature contributes to predicting HAI. (D) The AUROC of the model trained using the most important features (top 1 to 8) assessed with internal and external validation cohort. All features were assessed on admission. MRC: Medical Research Council.
Fig. 3
Fig. 3
Machine learning model performance and feature importance in distinguishing between favorable and poor functional status 30 days after stroke onset, as defined by a modified Rankin scale score greater than 2. (A, B) Receiver Operating Characteristic (ROC) curves of the model showed mean Area Under the Curve (AUROC) values of 0.90 (A) for internal validation and 0.91 (B) for external validation. (C) Distribution of Shapley Additive Explanations (SHAP) values for each patient. Red indicated high values of continuous features or “true” for categorical features, while blue indicates low values of “false”. Gray spots represent missing values. A positive SHAP value suggests the feature contributes to predicting poor functional outcome. (D) The AUROC of the model trained using the most important features (top 1 to 8) assessed with internal and external validation cohort. (MRC: Medical Research Council).

Similar articles

References

    1. Vermeij, F. H. et al. Stroke-associated infection is an independent risk factor for poor outcome after acute ischemic stroke: Data from the Netherlands stroke survey. Cerebrovasc. Dis.27, 465–471. 10.1159/000210093 (2009). - PubMed
    1. Elkind, M. S. V., Boehme, A. K., Smith, C. J., Meisel, A. & Buckwalter, M. S. Infection as a stroke risk factor and determinant of outcome after stroke. Stroke51, 3156–3168. 10.1161/STROKEAHA.120.030429 (2020). - PMC - PubMed
    1. Westendorp, W. F., Nederkoorn, P. J., Vermeij, J. D., Dijkgraaf, M. G. & van de Beek, D. Post-stroke infection: A systematic review and meta-analysis. BMC Neurol.11, 110. 10.1186/1471-2377-11-110 (2011). - PMC - PubMed
    1. Aslanyan, S. et al. Pneumonia and urinary tract infection after acute ischaemic stroke: A tertiary analysis of the GAIN international trial. Eur. J. Neurol.11, 49–53. 10.1046/j.1468-1331.2003.00749.x (2004). - PubMed
    1. Ovbiagele, B., Hills, N. K., Saver, J. L. & Johnston, S. C. Frequency and determinants of pneumonia and urinary tract infection during stroke hospitalization. J. Stroke Cerebrovasc. Dis.15(5), 209–213. 10.1016/j.jstrokecerebrovasdis.2006.05.004 (2006). - PMC - PubMed

LinkOut - more resources