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.
MethodsA 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.
ResultsFive 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.
ConclusionA 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.