Application of machine learning prediction models for in-hospital mortality in diabetic sepsis patients: a study based on the MIMIC IV database.
- 1Department of Anesthesiology, Shanghai Jing'an District Zhabei Central Hospital, Shanghai, People's Republic of China.
- 2Department of Anesthesiology, Shanghai Jing'an District Zhabei Central Hospital, Shanghai, People's Republic of China. [email protected].
Abstract
Background
Sepsis complicated by diabetes mellitus represents a significant clinical challenge in intensive care units (ICUs), associated with substantial morbidity and mortality. Accurate prognostication of in-hospital mortality in this complex patient population is crucial for optimizing clinical decision making, resource allocation, and patient management strategies.Methods
We conducted a retrospective cohort study utilizing data from the Medical Information Mart for Intensive Care (MIMIC-IV) database. The study focused on adult ICU patients with concurrent diagnoses of sepsis and diabetes mellitus. Six machine learning algorithms were evaluated for their predictive performance: Logistic Regression (LR), K-Nearest Neighbors (KNN), Random Forest (RF), Gradient Boosting Decision Tree (GBDT), XGBoost and LightGBM. Additionally, we assessed the prognostic capability of the Sequential Organ Failure Assessment (SOFA) score. Model discrimination was quantified using the area under the receiver operating characteristic curve (AUC). To enhance model interpretability, we employed SHAP (SHapley Additive exPlanations) values to elucidate the relative importance of predictor variables.Results
The study cohort comprised 7716 patients, with 1357 (17.6%) experiencing in-hospital mortality. Among the machine learning models evaluated, GBDT exhibited superior predictive performance achieving an AUC of 0.792 (95% CI: 0.769-0.814). This performance surpassed that of other machine learning algorithms and the conventional SOFA score. SHAP analysis provided valuable insights into the hierarchical importance of various clinical and demographic features contributing to the GBDT model's predictions.Conclusion
Our findings demonstrate the potential of machine learning approaches in accurately predicting in-hospital mortality among ICU patients with sepsis and diabetes mellitus. These advanced analytical techniques outperform traditional scoring systems such as SOFA. The integration of SHAP values enhances model interpretability, potentially facilitating the adoption of these predictive tools in clinical practice. Further multi-center validation studies and prospective trials are warranted to confirm the generalizability of these results and to explore the clinical impact of implementing such models in diverse healthcare settings.
Related
- A machine learning-driven and explainable prediction model for in-hospital mortality in patients with diabetes mellitus and congestive heart failure: integrating XGBoost and SHAP approaches.
- A machine learning model for in-hospital mortality prediction in patients with sepsis-related myocardial injury
- Competing Risk Prediction of COVID-19 Hospital Mortality with Model Diagnostics and Exploratory Evaluation in Mexico
- Explainable machine learning and deep learning models for predicting in-hospital mortality in burn patients
- Performance, Recalibration, and Implementation of In-Hospital Mortality Prediction Models for Myocardial Infarction
BibTeX
@article{shen2026application,
title = {{Application of machine learning prediction models for in-hospital mortality in diabetic sepsis patients: a study based on the MIMIC IV database.}},
author = {Zongxin Shen and Haijiao Zhang and Yu Wang},
journal = {BMC medical informatics and decision making},
year = {2026},
month = oct,
doi = {10.1186/s12911-026-03580-4},
url = {https://europepmc.org/article/MED/42907983},
note = {CC BY},
}
RIS
TY - JOUR
TI - Application of machine learning prediction models for in-hospital mortality in diabetic sepsis patients: a study based on the MIMIC IV database.
AU - Zongxin Shen
AU - Haijiao Zhang
AU - Yu Wang
PY - 2026
DA - 2026/10/22
JO - BMC medical informatics and decision making
DO - 10.1186/s12911-026-03580-4
UR - https://europepmc.org/article/MED/42907983
AB - Background Sepsis complicated by diabetes mellitus represents a significant clinical challenge in intensive care units (ICUs), associated with substantial morbidity and mortality. Accurate prognostication of in-hospital mortality in this complex patient population is crucial for optimizing clinical decision making, resource allocation, and patient management strategies.Methods We conducted a retrospective cohort study utilizing data from the Medical Information Mart for Intensive Care (MIMIC-IV) database. The study focused on adult ICU patients with concurrent diagnoses of sepsis and diabetes mellitus. Six machine learning algorithms were evaluated for their predictive performance: Logistic Regression (LR), K-Nearest Neighbors (KNN), Random Forest (RF), Gradient Boosting Decision Tree (GBDT), XGBoost and LightGBM. Additionally, we assessed the prognostic capability of the Sequential Organ Failure Assessment (SOFA) score. Model discrimination was quantified using the area under the receiver operating characteristic curve (AUC). To enhance model interpretability, we employed SHAP (SHapley Additive exPlanations) values to elucidate the relative importance of predictor variables.Results The study cohort comprised 7716 patients, with 1357 (17.6%) experiencing in-hospital mortality. Among the machine learning models evaluated, GBDT exhibited superior predictive performance achieving an AUC of 0.792 (95% CI: 0.769-0.814). This performance surpassed that of other machine learning algorithms and the conventional SOFA score. SHAP analysis provided valuable insights into the hierarchical importance of various clinical and demographic features contributing to the GBDT model's predictions.Conclusion Our findings demonstrate the potential of machine learning approaches in accurately predicting in-hospital mortality among ICU patients with sepsis and diabetes mellitus. These advanced analytical techniques outperform traditional scoring systems such as SOFA. The integration of SHAP values enhances model interpretability, potentially facilitating the adoption of these predictive tools in clinical practice. Further multi-center validation studies and prospective trials are warranted to confirm the generalizability of these results and to explore the clinical impact of implementing such models in diverse healthcare settings.
SN - 1472-6947
ER -