AUTHOR=Pan Junchen , Yue Zhen , Ji Jing , You Yongping , Bi Liqing , Liu Yun , Xiong Xinglin , Gu Genying , Chen Ming , Zhang Shen TITLE=Predicting nosocomial pneumonia of patients with acute brain injury in intensive care unit using machine-learning models JOURNAL=Frontiers in Medicine VOLUME=Volume 12 - 2025 YEAR=2025 URL=https://www.frontiersin.org/journals/medicine/articles/10.3389/fmed.2025.1501025 DOI=10.3389/fmed.2025.1501025 ISSN=2296-858X ABSTRACT=IntroductionThe 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.MethodsAcute 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.ResultsA 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.ConclusionMachine 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.