An early prediction model of septic shock in patients with Escherichia coli bloodstream infection based on machine learning
- 1First Clinical Medical College, Gannan Medical University
- 2Department of Clinical Laboratory, Jiujiang Water of Life Hospital
- 3Department of Clinical Laboratory, Jiujiang City Key Laboratory of Cell Therapy, Jiujiang First People’s Hospital
Abstract
Background 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. Methods 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. Results 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. Conclusion 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.
Related
- Risk Factors for Metastatic Infectious Complications in Patients with Catheter-Related Bloodstream Infection
- Pooled prevalence of third-generation cephalosporin resistance among Escherichia coli bloodstream isolates in Southeast Asia: protocol for systematic review and meta-analysis.
- Application of machine learning to identify risk factors for bloodstream infections caused by different antimicrobial resistance phenotypes in chemotherapy patients.
- Genomic Insight into Escherichia coli Bloodstream Infections at a Tertiary Hospital in Shanghai: Predominance, Genetic Diversity, and Plasmid-Associated Virulence of CC131 and CC14.
- Risk Factors and Outcomes of Vancomycin-Resistant Enterococcus faecium Bloodstream Infection in Hematologic Malignancies and Stem Cell Transplant Recipients: A Case-Control Study
BibTeX
@article{qiu2026early,
title = {{An early prediction model of septic shock in patients with Escherichia coli bloodstream infection based on machine learning}},
author = {Xinran Qiu and Yi Wu and Wenqi Ouyang and Junlei Zhou and Lele Zheng and Guanhua Li and Guohui Xue and Jinshen Chu},
journal = {BMC Infectious Diseases},
year = {2026},
month = jul,
doi = {10.1186/s12879-026-13996-y},
url = {https://doi.org/10.1186/s12879-026-13996-y},
note = {CC BY},
}
RIS
TY - JOUR
TI - An early prediction model of septic shock in patients with Escherichia coli bloodstream infection based on machine learning
AU - Xinran Qiu
AU - Yi Wu
AU - Wenqi Ouyang
AU - Junlei Zhou
AU - Lele Zheng
AU - Guanhua Li
AU - Guohui Xue
AU - Jinshen Chu
PY - 2026
DA - 2026/07/01
JO - BMC Infectious Diseases
DO - 10.1186/s12879-026-13996-y
UR - https://doi.org/10.1186/s12879-026-13996-y
AB - Background 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. Methods 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. Results 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. Conclusion 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.
SN - 1471-2334
ER -