Predicting nosocomial pneumonia of patients with acute brain injury in intensive care unit using machine-learning models
- PMID: 40291024
- PMCID: PMC12021828
- DOI: 10.3389/fmed.2025.1501025
Predicting nosocomial pneumonia of patients with acute brain injury in intensive care unit using machine-learning models
Abstract
Introduction: The aim of this study is to construct and validate new machine learning models to predict pneumonia events in intensive care unit (ICU) patients with acute brain injury.
Methods: Acute brain injury patients in ICU of hospitals from January 1, 2020, to December 31, 2021 were retrospective reviewed. Patients were divided into training, and validation sets. The primary outcome was nosocomial pneumonia infection during ICU stay. Machine learning models including XGBoost, DecisionTree, Random Forest, Light GBM, Adaptive Boost, BP, and TabNet were used for model derivation. The predictive value of each model was evaluated using accuracy, precision, recall, F1-score, and area under the curve (AUC), and internal and external validation was performed.
Results: A total of 280 ICU patients with acute brain injury were included. Five independent variables for nosocomial pneumonia infection were identified and selected for machine learning model derivations and validations, including tracheotomy time, antibiotic use days, blood glucose, ventilator-assisted ventilation time, and C-reactive protein. The training set revealed the superior and robust performance of the XGBoost with the highest AUC value (0.956), while the Random Forest and Adaptive Boost had the highest AUC value (0.883) in validation set.
Conclusion: Machine learning models can effectively predict the risk of nosocomial pneumonia infection in patients with acute brain injury in the ICU. Despite differences in populations and algorithms, the models we constructed demonstrated reliable predictive performance.
Keywords: acute brain injury; area under the curve; intensive care unit; machine-learning models; nosocomial pneumonia.
Copyright © 2025 Pan, Yue, Ji, You, Bi, Liu, Xiong, Gu, Chen and Zhang.
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
-
[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.
-
Novel machine learning models to predict pneumonia events in supratentorial intracerebral hemorrhage populations: An analysis of the Risa-MIS-ICH study.Front Neurol. 2022 Aug 25;13:955271. doi: 10.3389/fneur.2022.955271. eCollection 2022. Front Neurol. 2022. PMID: 36090880 Free PMC article.
-
[Construction of a predictive model for in-hospital mortality of sepsis patients in intensive care unit based on machine learning].Zhonghua Wei Zhong Bing Ji Jiu Yi Xue. 2023 Jul;35(7):696-701. doi: 10.3760/cma.j.cn121430-20221219-01104. Zhonghua Wei Zhong Bing Ji Jiu Yi Xue. 2023. PMID: 37545445 Chinese.
-
Predictive model for early functional outcomes following acute care after traumatic brain injuries: A machine learning-based development and validation study.Injury. 2023 Mar;54(3):896-903. doi: 10.1016/j.injury.2023.01.004. Epub 2023 Jan 4. Injury. 2023. PMID: 36732148
-
Machine learning algorithms for prediction of ventilator associated pneumonia in traumatic brain injury patients from the MIMIC-III database.Heart Lung. 2023 Nov-Dec;62:225-232. doi: 10.1016/j.hrtlng.2023.08.002. Epub 2023 Aug 16. Heart Lung. 2023. PMID: 37595390
References
-
- Gao L, Chang Y, Lu S, Liu X, Yao X, Zhang W, et al. . A nomogram for predicting the necessity of tracheostomy after severe acute brain injury in patients within the neurosurgery intensive care unit: a retrospective cohort study. Heliyon. (2024) 10:e27416. doi: 10.1016/j.heliyon.2024.e27416, PMID: - DOI - PMC - PubMed
LinkOut - more resources
Full Text Sources
Research Materials