Machine learning-based prediction of carbapenem-resistant Klebsiella pneumoniae infection risk and prognosis

Objectives This study aims to systematically analyze the risk factors for to carbapenem-resistant Klebsiella pneumoniae (CRKP) infection and its impact on patient outcomes using the XGBoost machine learning algorithm, and to explore its resistance characteristics, thereby providing a basis for early clinical identification of high-risk patients and optimizing treatment strategies. Methods A single-center retrospective cohort study was conducted, including 491 patients with Klebsiella pneumoniae infections between January and December 2023. Based on drug susceptibility results, patients were divided into a resistant group (n = 187) and a susceptible group (n = 304). Univariate and multivariate logistic regression analyses were used to identify independent risk factors, and both logistic regression and XGBoost machine learning prediction models were constructed to evaluate their predictive performance and clinical applicability. Results Patients in the resistant group were older, had worse inflammatory and coagulation indicators, and exhibited significantly higher mortality rates from 30 to 180 days compared to the susceptible group ( P < 0.01). Multivariate logistic regression identified age, hemoglobin, lymphocyte percentage, prothrombin time, and creatinine as independent risk factors for CRKP infection, with an area under the curve (AUC) of 0.878. The XGBoost model further identified age, albumin, D-dimer, creatinine, and uric acid as key variables, with an AUC of 0.978, demonstrating superior predictive performance. Additionally, multivariate logistic regression determined age and mean platelet volume as independent risk factors for 90-day mortality in CRKP-infected patients. Based on the XGBoost algorithm, a prognostic prediction model was constructed, incorporating five key variables: age, D-dimer, creatine kinase, procalcitonin, and mean platelet volume. Drug susceptibility analysis revealed high resistance rates of CRKP to most antibiotics, with partial sensitivity only to amikacin, chloramphenicol, and cotrimoxazole. Conclusion The XGBoost machine learning-based prediction model effectively identifies the risk of CRKP infection and poor prognosis using five key variables (age, albumin, D-dimer, creatinine, and uric acid) for infection risk, demonstrating high clinical utility and providing data support for early intervention and individualized treatment.

Authors

Institutions

Publication Details

Journal
Frontiers in Pharmacology
Published
2026-03-23
DOI
https://doi.org/10.3389/fphar.2026.1780002
Primary Topic
Antibiotic Resistance in Bacteria
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning-based prediction of carbapenem-resistant Klebsiella pneumoniae infection risk and prognosis

Ruifeng Yang, Linlin Yan, Jiaran Sun
Frontiers in Pharmacology
Antibiotic Resistance in Bacteria
article

Machine learning-based prediction of carbapenem-resistant Klebsiella pneumoniae infection risk and prognosis

Ruifeng Yang, Linlin Yan, Jiaran Sun
article en

Abstract

Objectives This study aims to systematically analyze the risk factors for to carbapenem-resistant Klebsiella pneumoniae (CRKP) infection and its impact on patient outcomes using the XGBoost machine learning algorithm, and to explore its resistance characteristics, thereby providing a basis for early clinical identification of high-risk patients and optimizing treatment strategies. Methods A single-center retrospective cohort study was conducted, including 491 patients with Klebsiella pneumoniae infections between January and December 2023. Based on drug susceptibility results, patients were divided into a resistant group (n = 187) and a susceptible group (n = 304). Univariate and multivariate logistic regression analyses were used to identify independent risk factors, and both logistic regression and XGBoost machine learning prediction models were constructed to evaluate their predictive performance and clinical applicability. Results Patients in the resistant group were older, had worse inflammatory and coagulation indicators, and exhibited significantly higher mortality rates from 30 to 180 days compared to the susceptible group ( P < 0.01). Multivariate logistic regression identified age, hemoglobin, lymphocyte percentage, prothrombin time, and creatinine as independent risk factors for CRKP infection, with an area under the curve (AUC) of 0.878. The XGBoost model further identified age, albumin, D-dimer, creatinine, and uric acid as key variables, with an AUC of 0.978, demonstrating superior predictive performance. Additionally, multivariate logistic regression determined age and mean platelet volume as independent risk factors for 90-day mortality in CRKP-infected patients. Based on the XGBoost algorithm, a prognostic prediction model was constructed, incorporating five key variables: age, D-dimer, creatine kinase, procalcitonin, and mean platelet volume. Drug susceptibility analysis revealed high resistance rates of CRKP to most antibiotics, with partial sensitivity only to amikacin, chloramphenicol, and cotrimoxazole. Conclusion The XGBoost machine learning-based prediction model effectively identifies the risk of CRKP infection and poor prognosis using five key variables (age, albumin, D-dimer, creatinine, and uric acid) for infection risk, demonstrating high clinical utility and providing data support for early intervention and individualized treatment.

Frontiers in PharmacologyVol. 17
Peking University Shougang Hospital (CN)
Good health and well-being
Openalex Percentile: Top 12%
Antibiotic Resistance in Bacteria
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.