PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 26, 2026SHILAP Revista de lepidopterología1 citationsOpen Access

Interpretable machine learning for early detection of carbapenem-resistant Klebsiella pneumoniae in ICUs: risk prediction using LASSO and XGBoost

QPQiuyan PanXZXiaoyu ZhouBZB Zhang

Key Points

  • To develop a reliable early-warning model for predicting carbapenem-resistant Klebsiella pneumoniae infections using standard clinical data.
  • Retrospective cohort study of 401 ICU patients with K. pneumoniae infections from January 2022 to January 2025.
  • Patients were randomly allocated to training (n=281) and validation (n=120) sets for model development.
  • LASSO regression identified predictors, and an XGBoost model's performance was evaluated against six other algorithms.
  • CRKP isolates represented 15.7% of cases (63/401).
  • The XGBoost model achieved an AUC of 0.852 (95% CI: 0.745–0.959) in the validation set with 73.7% sensitivity and 89.1% specificity.
  • SHAP analysis identified procalcitonin, specimen source, and prior resistance exposures as key predictors.

Abstract

Background Carbapenem-resistant Klebsiella pneumoniae (CRKP) infections in intensive care units are associated with poor outcomes. The delay in obtaining culture-based susceptibility results often forces clinicians to choose between under-treatment and overtreatment with empirical antibiotics. A reliable early risk assessment using only standard clinical data could help address this challenge. Methods This single-center retrospective cohort study included 401 ICU patients with culture-confirmed K. pneumoniae infections (January 2022 to January 2025). Patients were randomly allocated to training ( n = 281) and validation ( n = 120) sets. Predictors extracted from electronic health records comprised demographics, severity scores (APACHE II, SOFA), comorbidities, invasive procedures, inflammatory markers, specimen type, history of multidrug-resistant (MDR) infection, and antibiotic exposure within the preceding 90 days. Feature selection was performed using Least Absolute Shrinkage and Selection Operator (LASSO) regression on the training set. The selected features were used to develop an XGBoost model, whose performance was compared against six other machine learning algorithms (logistic regression, random forest, etc.). Model discrimination was evaluated using the area under the receiver operating characteristic curve (AUC), calibration with Brier scores and calibration curves, and clinical utility with decision curve analysis. SHapley Additive exPlanations (SHAP) values were employed to interpret the model. Results CRKP isolates accounted for 15.7% (63/401) of cases. LASSO regression identified nine predictors: procalcitonin (PCT), specimen type, prior MDR infection, prior carbapenem exposure, history of stroke, APACHE II score, white blood cell count, age, and hemoglobin. In the independent validation set, the XGBoost model achieved an AUC of 0.852 (95% CI: 0.745–0.959), with a sensitivity of 0.737, specificity of 0.891, accuracy of 0.867, and an F1-score of 0.636. The model demonstrated good calibration (Brier score: 0.088) and provided a net clinical benefit across a wide range of risk thresholds. SHAP analysis highlighted PCT, specimen source (blood), and prior resistance-related exposures as the most influential predictors. Conclusion The integration of LASSO feature selection with the XGBoost algorithm, utilizing only routine clinical data, generates a reliable early-warning model for CRKP infection risk prior to the availability of susceptibility reports. This tool shows promising discriminative ability and calibration, offering potential to guide empirical therapy and support antimicrobial stewardship. Future multicenter prospective studies are warranted to validate its generalizability and real-world clinical impact.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Pan et al. (2026) studied this question.

synapsesocial.com/papers/69edaafc4a46254e215b32e4https://doi.org/10.3389/fpubh.2026.1798927
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Explainable Machine Learning Model to Preoperatively Predict Postoperative Complications in Inpatients With Cancer Undergoing Major Operations2024 · 11 citations
  2. 2Epidemiology of carbapenem-resistant Klebsiella pneumoniae in China and the evolving trends of predominant clone ST11: a multicentre, genome-based study2024 · 35 citations
  3. 3Antimicrobial resistance of clinical bacterial isolates in China: current status and trends2024 · 112 citations
  4. 4Five-year change of prevalence and risk factors for infection and mortality of carbapenem-resistant Klebsiella pneumoniae bloodstream infection in a tertiary hospital in North China2020 · 90 citations
  5. 5Risk Factors and Predictive Nomogram for Carbapenem-Resistant Klebsiella pneumoniae in Children in a Grade 3 First-Class General Hospital in Central China2024 · 5 citations