ORIGINAL RESEARCH article

Front. Public Health

Sec. Infectious Diseases: Epidemiology and Prevention

Volume 13 - 2025 | doi: 10.3389/fpubh.2025.1623968

Development of a predictive model for risk factors of multidrug-resistant bacterial pneumonia in critically ill post-neurosurgical patients

Provisionally accepted
Aixiang  HuAixiang Hu1dayan  madayan ma2yanni  leiyanni lei3fangqiang  lifangqiang li4Xi  WangXi Wang1yuewei  zhangyuewei zhang1*
  • 1Infection Control Department, Beijing Tiantan Hospital, Capital Medical University, Beijing, China
  • 2Information Management and Data Center, Beijing Tiantan Hospital, Capital Medical University, Beijing, China
  • 3Department of Critical Care Medicine, Beijing Tiantan Hospital, Capital Medical University, Beijing, China
  • 4Laboratory Diagnosis Center, Beijing Tiantan Hospital, Capital Medical University, Beijing, China

The final, formatted version of the article will be published soon.

Machine learning models have emerged as pivotal tools for enhancing the predictive accuracy of multidrug-resistant bacterial pneumonia (MDR-BP) risk in critically ill patients following neurosurgery procedures. By enabling early risk stratification, these models facilitate timely diagnosis and proactive therapeutic interventions. However, existing prediction frameworks exhibit limitations in elucidating the relative importance of risk factors, thereby impeding precise clinical decision-making and individualized patient management.To evaluate the performance of six ensemble classification algorithms and three single classification algorithms in predicting MDR-BP risk factors among neurosurgical postoperative critically ill patients, identify the optimal predictive model, and determine key influential factors.We conducted a retrospective study involving 750 neurosurgical patients admitted to a neurosurgery center at a tertiary hospital in Beijing between January 2020 and December 2023. Following rigorous data preprocessing, univariate analysis was performed to screen statistically significant variables. The Synthetic Minority Over-sampling Technique (SMOTE) was applied to address class imbalance. Predictive models for MDR-BP risk factors were constructed, and their performance was validated using 10-fold cross-validation to assess mean accuracy, recall, and specificity. The SHapley Additive exPlanations (SHAP) framework was employed to quantify feature importance.The Random Forest model demonstrated superior performance, achieving the highest mean accuracy (0.775) and AUC value (0.860) compared to other models. SHAP interpretation revealed three critical predictors of MDR-BP: intensive care unit length of stay (ICU-LOS), antibiotic treatment duration, and serum albumin level.The Random Forest algorithm demonstrates superior predictive accuracy for MDR-BP risk in critically ill post-neurosurgical patients. ICU-LOS, antibiotic treatment duration, and serum albumin level are significant predictors of MDR-BP.

Keywords: machine learning models, neurosurgical postoperative care, multidrug-resistant bacterial pneumonia, Influencing factors, SHAP interpretability

Received: 06 May 2025; Accepted: 27 May 2025.

Copyright: © 2025 Hu, ma, lei, li, Wang and zhang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: yuewei zhang, Infection Control Department, Beijing Tiantan Hospital, Capital Medical University, Beijing, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.