Skip to content
Open access

Construction and validation of a machine learning-based model for predicting pneumonia risk in patients with hemorrhagic stroke

Jul 2026 · Frontiers in Medicine · Vol 13 · 0 citations · 40 references
Medicine

TL;DR

A logistic regression-based predictive model for pneumonia risk in patients with hemorrhagic stroke provides an objective, quantitative basis for early identification of high-risk patients, stratified management, and precise prevention and control, supporting a shift from reactive to proactive complication management.

Abstract

Objective This study aimed to develop and validate a distinct, stable, and interpretable predictive model using machine learning techniques to identify individuals at high risk of pneumonia early after admission. The goal was to provide a potential quantitative reference for implementing preventive interventions in clinical practice. Methods A retrospective nested case–control design was adopted. A total of 822 patients with hemorrhagic stroke admitted between January 2019 and October 2024 were enrolled. Feature selection was performed using LASSO regression to eliminate multicollinearity and identify key predictors. Five machine learning algorithms—logistic regression (LRC), gradient boosting classifier (GBC), random forest classifier (RFC), multilayer perceptron classifier (MLPC), and support vector machine classifier (SVC)—were employed to construct predictive models. Hyperparameters were optimized through 10-fold cross-validation and grid search. Model performance was comprehensively evaluated on an independent test set using metrics including area under the curve (AUC), accuracy, sensitivity, precision, and F1-score. Finally, SHAP (SHapley Additive exPlanations) values were applied to interpret the optimal model and elucidate the contribution of each feature to the prediction. Results LASSO regression selected 14 key predictors from 57 initial variables. Among the five models, the logistic regression model achieved the best performance on the test set. SHAP-based interpretability analysis revealed that the most influential factors for pneumonia risk prediction were, in descending order: left lower limb muscle strength, total cholesterol (TC), right lower limb muscle strength, low-density lipoprotein cholesterol (LDL-C), white blood cell count (WBC), consciousness status, D-dimer, age, systolic blood pressure (SBP), and bleeding location. Conclusion This study successfully developed a logistic regression-based predictive model for pneumonia risk in patients with hemorrhagic stroke. The model demonstrated favorable discrimination and stability. It provides an objective, quantitative basis for early identification of high-risk patients, stratified management, and precise prevention and control, supporting a shift from reactive to proactive complication management.

Read PDF

Similar papers

Sep 2026

Construction and evaluation of a machine-learning-based prediction model for pneumonia in patients with acute leukemia.

An interpretable XGBoost model that accurately predicts pneumonia risk in AL patients based on routine admission data is developed and validated and provides actionable risk stratification to inform preemptive diagnostic and therapeutic strategies.

W. Zhuang, Chen Huang, Xu-Dong Ma et al. · 0 citations
Open access Aug 2026

Development and validation of an interpretable machine learning model for predicting multidrug-resistant infections in ICU patients

An interpretable RF model for early prediction of MDR infections in ICU patients is developed and validated and translated into a web-based calculator with SHAP explanations, enabling rapid bedside risk stratification to support timely antimicrobial stewardship and resource allocation.

Yimeng Yang, J. Lv, Junbin Tian et al. · 0 citations
Open access Sep 2026

Machine learning models for predicting liver cancer: a real-world cohort study in China

The findings support the feasibility of leveraging large-scale inpatient laboratory data for risk-stratification model development and show good discrimination and interpretability for liver cancer prediction in a hospitalized real-world cohort using routinely available clinical and laboratory data.

Ce-Xiong Fu, Fang Li, Shi-Bing Li et al. · 0 citations
Open access Sep 2026

Development and web-based implementation of a machine learning model for predicting one-year adverse outcomes in acute ischaemic stroke

Background This study aimed to develop an interpretable and clinically applicable machine learning prediction model to assess the risk of adverse outcomes within one year following acute ischaemic stroke, and to establish a corresponding web-based risk assessment tool. Methods A retrospective cohort study included 585...

Chun-Yu Meng, Fei-Fei Zuo, Shuai Liu et al. · 0 citations
Open access Sep 2026

Development and validation of an interpretable machine-learning model for predicting treatment failure in severe trauma patients

Objective This study aims to develop and validate machine learning (ML) models for predicting treatment failure in trauma patients using comprehensive clinical and laboratory variables, and to identify key prognostic features. Methods A retrospective cohort of 318 trauma patients was included. We included 44 characteri...

Qiang Shi, Yun Liu, Jia-Hui Shen et al. · 0 citations
Open access Sep 2026

Time-Series modeling for predicting mortality risk in intensive care unit patients with pulmonary inflammation

Objective This study aims to evaluate dynamic changes in pneumonia-related mortality risk among ICU patients using time-series models and develop interpretable predictive models for early mortality assessment. Methods Data were obtained from the MIMIC-IV and eICU Collaborative Research Database. The MIMIC-IV cohort was...

Yi-Hai Zhai, Rui-Xin-Xu-Rui-Xin Xu, Hai-Su Lu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.