Related Experiment Video
Updated: May 9, 2025

Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Explainable machine learning model for prediction of 28-day all-cause mortality in immunocompromised patients in the
Zhengqiu Yu1,2, Lexin Fang3, Yueping Ding4
1School of Medicine, Xiamen University, 422 South Siming Road, Xiamen, 361005, Fujian, China.
Objectives:
This study aimed to develop and validate an explainable machine learning (ML) model to predict 28-day all-cause mortality in immunocompromised patients admitted to the intensive care unit (ICU). Accurate and interpretable mortality prediction is crucial for clinical decision-making and optimal allocation of critical care resources for this vulnerable patient population.
Methods:
We utilized retrospective clinical data from the MIMIC-IV (version 2.2) database, encompassing ICU admissions at Beth Israel Deaconess Medical Center from 2008 to 2019. Eligible immunocompromised patients, including those with primary immunodeficiencies and chronic acquired conditions, such as hematological malignancies, solid tumors, and organ transplantation, were selected. Data were randomly split into training (80%) and testing (20%) cohorts. Ten ML models (logistic regression, XGBoost, LightGBM, AdaBoost, Random Forest, Gradient Boosting, Gaussian Naive Bayes, Complement Naive Bayes, Multilayer Perceptron, and Support Vector Machine) were developed and evaluated using area under the receiver operating characteristic curve (AUROC), area under the precision-recall curve (AUPRC), sensitivity, specificity, accuracy, and F1 score. Model explainability was achieved through SHapley Additive exPlanations (SHAP), and decision curve analysis (DCA) assessed clinical utility. In addition, Cox proportional hazards regression was conducted to evaluate the impact of predictive factors on time-to-event outcomes.
Results:
Among the evaluated models, the Support Vector Machine (SVM) demonstrated the highest AUROC of 0.863 (95% CI 0.834-0.890) and a notable AUPRC of 0.678 (95% CI 0.624-0.736). Key predictive factors consistently identified across multiple ML models included 24-h urine output, blood urea nitrogen (BUN) levels, presence of metastatic solid tumors, Charlson Comorbidity Index (CCI), and international normalized ratio (INR). SHAP analyses provided detailed insights into how these features influenced model predictions.
Conclusions:
The explainable ML models based on various artificial intelligence methods demonstrated promising clinical applicability in predicting 28-day mortality risk among immunocompromised ICU patients. Factors such as urine output, BUN, metastatic solid tumors, CCI, and INR significantly contributed to prediction outcomes and may serve as important predictors in clinical practice.
Insights
An explainable machine learning model accurately predicts 28-day mortality in immunocompromised ICU patients. Key predictors include urine output, BUN, and comorbidities, aiding clinical decisions.
Area of Science:
- Artificial Intelligence in Medicine
- Critical Care Medicine
- Machine Learning for Healthcare
Background:
- Accurate prediction of mortality in immunocompromised ICU patients is vital for resource allocation and clinical decision-making.
- Existing models may lack interpretability, hindering clinical trust and adoption.
- Vulnerable immunocompromised populations require specialized predictive tools.
Purpose of the Study:
- To develop and validate an explainable machine learning (ML) model for predicting 28-day all-cause mortality.
- To identify key clinical factors influencing mortality risk in this patient group.
- To assess the clinical utility of the developed ML models.
Main Methods:
- Retrospective analysis of MIMIC-IV database (2008-2019) for immunocompromised ICU patients.
- Development and evaluation of ten ML models, including Support Vector Machine (SVM).
- Utilized SHapley Additive exPlanations (SHAP) for model interpretability and decision curve analysis (DCA) for clinical utility.
Main Results:
- The SVM model achieved the highest performance with an AUROC of 0.863 and AUPRC of 0.678.
- Significant predictors identified include 24-h urine output, blood urea nitrogen (BUN), metastatic solid tumors, Charlson Comorbidity Index (CCI), and international normalized ratio (INR).
- SHAP analyses provided feature-specific insights into mortality prediction.
Conclusions:
- Explainable ML models show promise for predicting 28-day mortality in immunocompromised ICU patients.
- Urine output, BUN, metastatic solid tumors, CCI, and INR are significant predictors.
- These models and identified factors can support clinical practice and resource management.
More Related Videos
Related Concept Videos
Kaplan-Meier Approach
Steps in Outbreak Investigation

