AUTHOR=Hu Aixiang , Ma Dayan , Lei Yanni , Li Fangqiang , Wang Xi , Zhang Yuewei TITLE=Development of a predictive model for risk factors of multidrug-resistant bacterial pneumonia in critically ill post-neurosurgical patients JOURNAL=Frontiers in Public Health VOLUME=Volume 13 - 2025 YEAR=2025 URL=https://www.frontiersin.org/journals/public-health/articles/10.3389/fpubh.2025.1623968 DOI=10.3389/fpubh.2025.1623968 ISSN=2296-2565 ABSTRACT=BackgroundMachine 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.ObjectiveTo 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.MethodsWe 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.ResultsThe 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.ConclusionThe 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.