Development and validation of an interpretable machine learning model for predicting multidrug-resistant infections in ICU patients
Yimeng Yang, Jianrui Lv, Junbin Tian, Shuo Yu, Guangdong Wang, Lei Ma
Second Affiliated Hospital of Xi'an Jiaotong University · First Affiliated Hospital of Xi'an Jiaotong University
Key points
From the paper's conclusion- Conclusions We developed and validated an interpretable RF model for early prediction of MDR infections in ICU patients and translated it into a web-based calculator with SHAP explanations, enabling rapid bedside risk stratification to support timely antimicrobial stewardship and resource allocation.
Abstract
Background Multidrug-resistant (MDR) infections in intensive care units (ICUs) are difficult to recognize early. This study developed and validated an interpretable machine-learning model for early MDR risk prediction in ICU patients. Methods A retrospective cohort was built from the Medical Information Mart for Intensive Care IV (MIMIC-IV, n=48,501) for model development with internal validation (7:3 split) and from MIMIC-III (n=38,583) for temporal validation. Candidate predictors at ICU admission included demographics, vital signs, laboratory indices, comorbidities, therapeutic interventions, and severity scores. Missing values were imputed using missForest. Highly correlated predictors were removed using correlation screening. Feature selection used the intersection of Least Absolute Shrinkage and Selection Operator regression and Boruta. Data imbalance was handled by Random Undersampling. Eight models were constructed including Logistic Regression, K-Nearest Neighbors, Decision Tree, Random Forest (RF), Extreme Gradient Boosting, Light Gradient Boosting Machine, Support Vector Machine, and Neural Network. Hyperparameters were optimized using grid search and cross-validation. Model performance, calibration, and clinical utility were evaluated. Model interpretability used SHapley Additive exPlanations (SHAP). A web calculator was implemented using Shiny in R. Results RF achieved the best overall performance in internal validation (AUC 0.784, 95% CI 0.769-0.798) and remained stable in temporal validation (AUC 0.778, 95% CI 0.771-0.786). The final model included 19 predictors. SHAP identified enteral nutrition, Acute Physiology Score III, stage of acute kidney injury, blood urea nitrogen, opioids use, hemoglobin, and platelet as the leading contributors. A web-based calculator was created to output individualized risk with SHAP-based explanations. Conclusions We developed and validated an interpretable RF model for early prediction of MDR infections in ICU patients and translated it into a web-based calculator with SHAP explanations, enabling rapid bedside risk stratification to support timely antimicrobial stewardship and resource allocation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Explainable Machine Learning Integrating Patient and Environmental Factors for Predicting Multidrug-Resistant Organism Colonization or Infection on ICU AdmissionInfection and Drug Resistance · 2026
- Comparison and validation of multiple machine learning algorithms for predicting MDRO infection in catheter-related bloodstream patients: a multicenter cohort studyMicrobiology Spectrum · 2026
- Early Prediction of Multidrug-Resistant Organism Infection in ICU Patients Using Routinely Available Clinical Data: Development and Temporal Validation of Prediction Models.Infection and drug resistance · 2026
- Development and internal-external validation of a machine learning-based risk prediction model for multidrug resistance in mechanically ventilated ICU patients with chronic obstructive pulmonary disease.Frontiers in medicine · 2026
- Development and interpretability of a machine learning-derived model for predicting the risk of subsequent short-term infection in patients undergoing maintenance hemodialysis: a retrospective cohort studyBMC Nephrology · 2026
- Development and validation of an interpretable machine learning–based model for predicting carbapenem-resistant Acinetobacter baumannii infection in postoperative ICU patients: a retrospective cohort studyFrontiers in Cellular and Infection Microbiology · 2026