An early prediction model of septic shock in patients with Escherichia coli bloodstream infection based on machine learning

Escherichia coli bloodstream infection ( E. coli BSI) is a global clinical challenge with markedly higher mortality once it progresses to septic shock. Current tools are impractical in primary care, creating an urgent clinical need for accessible, laboratory-based early prediction tools. Thus, we developed and validated an interpretable machine learning model using routine laboratory indicators acquired prior to septic shock to predict septic shock in patients with E. coli BSI. A retrospective analysis was conducted on 719 patients with E. coli BSI treated at a tertiary referral center. The cohort was randomly divided into training ( n = 503) and test ( n = 216) sets. Feature selection was performed using univariate analysis, LASSO regression, and the Boruta algorithm. The chosen final model underwent 10-fold cross-validation, utilizing the area under the receiver operating characteristic curve (AUC) as the main metric for discrimination. To account for unequal class sizes, balanced accuracy was used. Bootstrap resampling with replacement was performed on all enrolled patients, alongside external validation, to assess the stability of the final model. Decision curve analysis (DCA) was performed to confirm the model’s clinical benefits. SHapley Additive exPlanations (SHAP) analysis was conducted to strengthen model interpretability. Five core features were selected as predictive factors: procalcitonin, total protein, chloride, platelet count, and total carbon dioxide. The Extreme Gradient Boosting model achieved the best predictive performance among all candidates, with an AUC of 0.807 in the test set, 0.836 in bootstrap validation, and a balanced accuracy of 0.741. The DCA indicated a substantial clinical net benefit. External validation confirmed the stable predictive efficacy of the model, with a consistent AUC of 0.807. SHAP analysis indicated that procalcitonin and total protein were strongly correlated with the onset of septic shock. A robust and interpretable machine learning model constructed using routine laboratory indicators and validated through both bootstrap resampling and external validation was established to predict septic shock in patients with E. coli BSI. This approach provides a convenient and objective tool for risk assessment, enabling timely interventions and potentially improving outcomes in this high-mortality population.

Authors

Institutions

Publication Details

Journal
BMC Infectious Diseases
Published
2026-07-27
DOI
https://doi.org/10.1186/s12879-026-13996-y
Primary Topic
Sepsis Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An early prediction model of septic shock in patients with Escherichia coli bloodstream infection based on machine learning

Guanhua Li, Guohui Xue, Jin Zhou, Lele Zheng et al.
BMC Infectious Diseases
Sepsis Diagnosis and Treatment
article

An early prediction model of septic shock in patients with Escherichia coli bloodstream infection based on machine learning

Guanhua Li, Guohui Xue, Jin Zhou, Lele Zheng, Jinshen Chu, Yi Wu, Wenqi Ouyang, Xinran Qiu
article en

Abstract

Escherichia coli bloodstream infection ( E. coli BSI) is a global clinical challenge with markedly higher mortality once it progresses to septic shock. Current tools are impractical in primary care, creating an urgent clinical need for accessible, laboratory-based early prediction tools. Thus, we developed and validated an interpretable machine learning model using routine laboratory indicators acquired prior to septic shock to predict septic shock in patients with E. coli BSI. A retrospective analysis was conducted on 719 patients with E. coli BSI treated at a tertiary referral center. The cohort was randomly divided into training ( n = 503) and test ( n = 216) sets. Feature selection was performed using univariate analysis, LASSO regression, and the Boruta algorithm. The chosen final model underwent 10-fold cross-validation, utilizing the area under the receiver operating characteristic curve (AUC) as the main metric for discrimination. To account for unequal class sizes, balanced accuracy was used. Bootstrap resampling with replacement was performed on all enrolled patients, alongside external validation, to assess the stability of the final model. Decision curve analysis (DCA) was performed to confirm the model’s clinical benefits. SHapley Additive exPlanations (SHAP) analysis was conducted to strengthen model interpretability. Five core features were selected as predictive factors: procalcitonin, total protein, chloride, platelet count, and total carbon dioxide. The Extreme Gradient Boosting model achieved the best predictive performance among all candidates, with an AUC of 0.807 in the test set, 0.836 in bootstrap validation, and a balanced accuracy of 0.741. The DCA indicated a substantial clinical net benefit. External validation confirmed the stable predictive efficacy of the model, with a consistent AUC of 0.807. SHAP analysis indicated that procalcitonin and total protein were strongly correlated with the onset of septic shock. A robust and interpretable machine learning model constructed using routine laboratory indicators and validated through both bootstrap resampling and external validation was established to predict septic shock in patients with E. coli BSI. This approach provides a convenient and objective tool for risk assessment, enabling timely interventions and potentially improving outcomes in this high-mortality population.

BMC Infectious Diseases
Jiujiang University (CN), Jiujiang First People's Hospital (CN), Gannan Medical University (CN), First Affiliated Hospital of Gannan Medical University (CN)
Reduced inequalities, Peace, Justice and strong institutions
Openalex Percentile: Top 9%
Sepsis Diagnosis and Treatment
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.