Open-access Development and validation of machine learning models to predict 30-day mortality in patients with cardiac arrest complicated by acute kidney injury

Abstract

Background  Cardiac Arrest (CA) often leads to Acute Kidney Injury (AKI), presenting a major health issue. This study aims to develop and validate machine learning models predicting 30-day mortality in CA patients with AKI.

Methods  A retrospective study was conducted on 1,121 adult ICU patients diagnosed with CA and AKI using data from the MIMIC-IV database. Data from 2008‒2016 (n = 900) formed the training cohort, while 2017‒2019 data (n = 221) served as the temporal validation cohort. Feature selection utilized LASSO regression, followed by the application of six machine learning algorithms. Model performance was evaluated using ROC curves, calibration curves, and decision curve analysis, with comparisons made against the APACHE II and SOFA scores.

Results  Seven key features were identified, namely, APACHE II score, lactate, anion gap, RDW, oliguria, norepinephrine, and temporary pacemaker implantation. The LASSO-Logistic Regression (LASSO-LR) model demonstrated the most stable performance in validation (AUROC = 0.751), significantly outperforming APACHE II (0.583, p < 0.001) and SOFA (0.660, p = 0.009), with a Brier score of 0.209. SHAP analysis revealed oliguria and RDW as the most significant predictors.

Conclusions  The LASSO-LR model offers a modest but statistically significant improvement over conventional scoring systems for predicting 30-day mortality in patients with CA and AKI, with acceptable calibration and interpretability. However, the clinical meaningfulness of this incremental benefit requires prospective validation before clinical implementation.

Keywords
Cardiac arrest; Acute kidney injury; Machine learning; Mortality; Predictive model

Introduction

Cardiac Arrest (CA) represents a critical, life-threatening global public health concern, often culminating in elevated mortality rates and significant long-term morbidities.1 Global statistics indicate that approximately 4.5-million individuals succumb to CA annually, with an estimated 544,000 cases reported in China.2 Despite notable advancements in Cardiopulmonary Resuscitation (CPR) techniques and subsequent therapeutic interventions in recent years, the prognosis remains dismal. Merely about 20% of patients experiencing Out-of-Hospital Cardiac Arrest (OHCA) achieve Return of Spontaneous Circulation (ROSC), and of those, only 10% survive to hospital discharge.3 Acute Kidney Injury (AKI), a prevalent and severe complication in patients with CA, is significantly correlated with the progression of chronic kidney disease and adverse prognostic outcomes.4,5 Empirical evidence indicates that the incidence of AKI among OHCA patients varies between 33% and 48%, with its presence being strongly associated with elevated 30-day and 1-year mortality rates.5,6 Consequently, evaluating mortality risk in CA patients who concurrently experience AKI is critically important in clinical practice.

Currently, despite the availability of prognostic scoring systems for patients experiencing CA, including the OHCA score,7 the Cardiac Arrest Hospital Prognosis (CAHP) score,8 the Acute Physiology and Chronic Health Evaluation II (APACHE II) score,9 and the Sequential Organ Failure Assessment (SOFA) score,10 these tools exhibit limitations in managing complex, multidimensional clinical data, particularly concerning personalized prediction and non-linear data processing.11,12 With the advancement of computational technology and data science, the implementation of machine learning techniques in the medical field has become increasingly prevalent, demonstrating significant potential in disease risk prediction. Recent studies have predominantly concentrated on risk prediction models for CA.13,14 Notably, four predictors have been identified for the development of AKI following CA: Chronic Kidney Disease (CKD), albumin level, shock, and heart rate.15 However, once AKI is established, the determinants of mortality may change. While certain indicators, such as shock, likely continue to play a crucial role, mortality in these patients is probably influenced by more complex pathophysiological processes, including multi-organ dysfunction and acute physiological derangements. Despite this understanding, there is a notable absence of machine learning-based prediction models specifically designed to predict 30-day mortality in patients with CA complicated by AKI.

This study aims to develop and validate a predictive model based on machine learning algorithms to enhance the accuracy of predicting the 30-day mortality risk for patients with CA complicated by AKI. By comprehensively analyzing clinical data, this study will provide clinicians with an additional tool to better assess patient prognosis, thereby offering a reference for the individualized management of CA patients with AKI.

Methods

Data source

This retrospective single-center clinical investigation was conducted in accordance with the Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis (TRIPOD) statement16 for model development and validation, and the Standards for Reporting Diagnostic Accuracy (STARD) guidelines for prognostic studies. Data were sourced from the Medical Information Mart for Intensive Care IV version 2.0 (MIMIC-IV 2.0),17 a database established by the Massachusetts Institute of Technology (MIT) Laboratory for Computational Physiology. This database includes anonymized data from 76,943 ICU admissions at the Beth Israel Deaconess Medical Center (BIDMC) in Boston, Massachusetts, collected between 2008 and 2019. To protect patient privacy, all identifiable information was removed in compliance with established regulations. The use of this database was approved by the Institutional Review Boards (IRB) of BIDMC and MIT. The authors completed compliance training and were certified through the Collaborative Institutional Training Initiative (CITI) program to ensure adherence to ethical standards in human research and gained access to the database (certification ID: 53446653, 51774135, 51168595).

Study population

The study included 1,121 critically ill patients (aged ≥ 18-years) with CA complicated by AKI from the Intensive Care Unit (ICU). Patients were excluded if they had end-stage CKD (CKD stage 5, n = 80). Following a chronological order, patients from 2008 to 2016 (n = 900) were used to construct the training cohort, while those from 2017 to 2019 (n = 221) served as the temporal validation cohort to evaluate the model's performance. Fig. 1 details the patient selection process and the flowchart for model construction and validation.

Fig. 1
Overview of patient selection and model validation processes. MIMIC-IV, Medical Information Mart for Intensive Care IV; ICU, Intensive Care Unit; CKD, Chronic Kidney Disease, LASSO, Least Absolute Shrinkage and Selection Operator; APACHE II, Acute Physiology and Chronic Health Evaluation-II, RDW, Red Cell Distribution Width; ROC; Receiver Operating Characteristic; AUROC, Area Under the Receiver Operating Characteristic Curve; DCA, Decision Curve Analysis; SHAP, SHapley Additive exPlanations.

Diagnosis and outcomes

According to the Kidney Disease Improving Global Outcomes (KDIGO) criteria,18 AKI is defined by any of the following conditions: 1) An increase in serum creatinine by ≥ 0.3 mg/dL (≥ 26.5 μmoL/L) within 48-hours; 2) An increase in serum creatinine to ≥ 1.5 times the baseline level within the past 7-days; or 3) Urine output ≤ 0.5 mL/kg/h for 6-hours. Baseline creatinine values were sourced from the official MIMIC-IV database. The KDIGO criteria were specifically employed to delineate the study population. Additionally, oliguria, defined as a urine output of less than 400 milliliters in 24-hours, was considered as a potential predictor based on clinical practice and previous literature.19

The primary endpoint of this study was 30-day mortality. This time frame was chosen for several reasons. Firstly, it aligns with the Core Outcome Set for Cardiac Arrest (COSCA) consensus recommendation, which designates survival at 30-days or hospital discharge as a core outcome for evaluating the effectiveness of cardiac arrest interventions.20 Secondly, 30-day mortality is a widely utilized measure in contemporary cardiac arrest research, thereby facilitating comparisons across studies.21-23 Thirdly, this endpoint captures both early hemodynamic compromise and neurological injury while minimizing confounding factors associated with long-term comorbidities.

Variable extraction

In this study, PostgreSQL software (version 14.5) was used to retrieve and process data from the MIMIC-IV database. For variables with a missing rate of less than 25%, multiple imputation was performed using the predictive mean matching method via the 'mice' package in R. Five imputed datasets (m = 5) were generated using 'mice' package, with 50 iterations conducted to ensure convergence. Least Absolute Shrinkage and Selection Operator (LASSO) regression was applied separately to each dataset for feature selection, and the same seven predictors were selected in all five datasets (selection frequency 100%). Multivariable logistic regression was then fitted to each dataset, and the results were pooled using Rubin’s rules to obtain final coefficient estimates. Since the results were highly consistent across datasets, the fourth imputed dataset was chosen as the representative dataset because its regression coefficients were closest to the pooled estimates. All subsequent analyses, including model training, hyperparameter tuning, performance evaluation, and SHAP explanation, were conducted on this representative dataset. Comprehensive statistics on the missing data are presented in Supplementary Table 1, while a comparison of the datasets before and after imputation is illustrated in Supplementary Fig. 1.

Table 1
The baseline characteristics for selected key variables.

The predictive model was constructed using clinical and laboratory data collected within the first 24-hours of ICU admission. The dataset encompassed the following categories of variables: 1) Demographic data (age, sex, marital status); 2) Clinical scores (SOFA and APACHE II); 3) Vital signs (heart rate and mean arterial pressure); 4) Laboratory parameters, including arterial blood gas, complete blood count, renal function, liver function, coagulation profile, electrolytes, and glucose levels; 5) Comorbidities (e.g., diabetes, hypertension, cardiogenic shock, atrial fibrillation, etc.); and 6) Therapeutic interventions (e.g., mechanical ventilation, norepinephrine, temporary pacemaker implantation, etc.). Baseline creatinine values and AKI stages were recorded, oliguria was defined based on urine criteria, and 30-day mortality was assessed as the outcome measure. Comorbidities were identified using International Classification of Diseases, Ninth and Tenth Revision (ICD-9/10) codes.

Statistical analysis

Quantitative data, characterized by their distribution, were analyzed accordingly: parameters with a normal distribution were detailed as mean ± standard deviation and subjected to independent samples t-tests, while those not normally distributed were depicted as median and interquartile range, analyzed using Mann-Whitney U-tests. Categorical variables were tabulated as frequency and percentage, with analysis performed using the Chi-Square test or Fisher's exact test, where appropriate.

To circumvent the risk of overfitting, feature selection was meticulously conducted employing LASSO regression with cross-validation. The Events-Per-Variable (EPV) ratio in the training cohort was approximately 71.7 (502-events for 7-predictors), well above the recommended minimum threshold, indicating adequate statistical power for model development. To ensure reproducibility of the feature selection process, a fixed random seed (set.seed(123)) was used during the cross-validation procedure. Hyperparameter tuning was systematically executed using the grid search method in combination with five-fold cross-validation, culminating in the identification of the optimal hyperparameter configuration. Six predictive models were subsequently developed: Decision Tree (DT), extreme gradient boosting (XGBoost), Support Vector Machine (SVM), light gradient boosting machine (LightGBM), K-Nearest Neighbor (KNN), and LASSO-Logistic Regression (LASSO-LR). Model performance was assessed in terms of discrimination, calibration, and clinical utility. Discrimination was quantified using the Receiver Operating Characteristic (ROC) curve and the Area Under the ROC Curve (AUROC). Calibration was evaluated via calibration plots and Brier score. Decision Curve Analysis (DCA) was employed to assess the clinical net benefit of each model across a range of threshold probabilities.

To benchmark our machine learning models against current clinical practice, we additionally evaluated the predictive performance of the APACHE II and SOFA scores. For each score, the total value was entered as a single predictor in a univariate logistic regression model fitted in the training cohort; the resulting predicted probabilities were then applied to the temporal validation cohort. Discriminatory ability was measured by AUROC and compared with that of the optimal machine learning model (LASSO-LR) using DeLong's test. Furthermore, continuous Net Reclassification Improvement (NRI) and Integrated Discrimination Improvement (IDI) were computed to assess the incremental clinical value of the LASSO-LR model beyond these traditional scores. Calibration and clinical utility of these scores were also examined using calibration curves and DCA.

After identifying LASSO-LR as the optimal model based on the above comparisons, we further enhanced its interpretability. SHapley Additive exPlanations (SHAP) were applied to the LASSO-LR model to visualize the impact of individual features on predictions. Additionally, a nomogram was constructed based on the LASSO-LR model to provide a clinically accessible tool for estimating 30-day mortality risk.

Data manipulation and all statistical analysis were conducted utilizing R software (version 4.2.3), with statistical significance demarcated at p < 0.05.

Results

Patient characteristics

This study included 1,121 critically ill patients with CA complicated by AKI, with an average age of 66.98±16.91 years, and 60.39% (677) were male. The 30-day mortality rate was 54.68% (n = 613). Patients were divided into a training cohort (n = 900) and a temporal validation cohort (n = 221) in chronological order. Table 1 presents the baseline characteristics for selected key variables, while the complete list of all candidate variables is provided in Supplementary Table 2.

Table 2
Performance comparison of predictive models for 30-day mortality in the training cohort and the temporal validation cohort.

The 30-day mortality rates for the training and temporal validation cohorts were 55.78% and 50.23%, respectively, showing no statistically significant difference (p = 0.137). Among the variables ultimately selected for model development, significant differences between the two cohorts were observed in APACHE II score, norepinephrine, and lactate levels (p < 0.05), while anion gap, Red cell Distribution Width (RDW), oliguria, and temporary pacemaker implantation were comparable between groups (p > 0.05).

Feature selection

The glmnet package in R was used to perform LASSO regression with cross-validation analysis on the 30-day mortality of ICU patients with CA complicated by AKI. In the study, 30-day mortality was used as the dependent variable, and 56 features from Supplementary Table 2 were used as independent variables. Cross-validation determined the optimal lambda (λ) value to be 0.058 (Lambda.1se, as shown in Supplementary Fig. 2). Ultimately, seven key features were selected: APACHE II score, blood lactate, anion gap, RDW, oliguria, norepinephrine, and temporary pacemaker implantation.

Sensitivity analysis for APACHE II exclusion

To assess whether the inclusion of APACHE II biased the feature selection, we repeated the LASSO procedure after excluding it from the candidate variables. The selected features were lactate, anion gap, BUN, RDW, oliguria, norepinephrine, and temporary pacemaker ‒ largely overlapping with the seven predictors identified in the original LASSO selection. In the training cohort, this sensitivity model achieved an AUROC of 0.736 (95% CI: 0.703‒0.768); in the validation cohort, it achieved an AUROC of 0.769 (95% CI: 0.708‒0.831).

Models’ construction and validation

The seven key features selected in this study were applied to six machine learning algorithms for training: DT, XGBoost, SVM, LightGBM, KNN, and LASSO-LR. Each model was trained using the training cohort and subsequently assessed on the temporal validation cohort using five-fold cross-validation. Table 2 provides a summary of the performance metrics for all evaluated models, encompassing the six machine learning models as well as the two clinical scoring systems, APACHE II and SOFA.

In the training cohort, all six machine learning models attained AUROCs exceeding 0.73. The KNN model exhibited the highest discriminatory power with an AUROC of 0.889 (95% Confidence Interval [95% CI: 0.869‒0.909]), while the SVM model demonstrated the lowest performance among them, with an AUROC of 0.737 (95% CI: 0.705‒0.770). Notably, several complex models displayed significant discrepancies between training and validation performances. Specifically, the KNN and DT models experienced substantial reductions in AUROC from training to validation, with decreases of 0.222 and 0.165, respectively, indicating pronounced overfitting. Conversely, the Lasso-LR model exhibited remarkable stability, maintaining nearly identical AUROCs in both training 0.742 (95% CI: 0.710‒0.774) and validation 0.751 (95% CI: 0.687‒0.816) phases. This stability highlights its resistance to overfitting, despite not achieving the highest raw performance in either cohort.

In the temporal validation cohort, the LASSO-LR model achieved the highest AUROC among all evaluated models (0.751). This was followed by the ensemble methods, with LightGBM and XGBoost achieving AUROCs of 0.731 and 0.724, respectively. In contrast, the DT model exhibited the lowest performance (AUROC = 0.663, 95% CI: 0.592‒0.734), as shown in Supplementary Fig. 3. Calibration analysis indicated that the Lasso-LR model was well-calibrated, as evidenced by a Brier score of 0.209 in the validation cohort (Supplementary Fig. 4). The Hosmer-Lemeshow goodness-of-fit test further confirmed adequate calibration, with p = 0.145 in the training cohort and p = 0.118 in the validation cohort. Furthermore, DCA revealed that the Lasso-LR model provided a positive net benefit across a range of threshold probabilities (Supplementary Fig. 5).

When compared to traditional clinical scoring systems, the LASSO-LR model showed statistically significant but modestly improved discrimination relative to the APACHE II score (AUROC = 0.583, 95% CI: 0.508‒0.658; DeLong's test p < 0.001) and the SOFA score (AUROC = 0.660, 95% CI: 0.589‒0.731; p = 0.009) in the validation cohort. Furthermore, continuous NRI and IDI analyses demonstrated significant incremental clinical value of the LASSO-LR model over APACHE II (continuous NRI = 0.624, 95% CI 0.374‒0.874; IDI = 0.197, 95% CI 0.144‒0.249; both p < 0.001) and SOFA (continuous NRI = 0.679, 95% CI 0.431‒0.927; IDI = 0.135, 95% CI 0.089‒0.181; both p < 0.001). Supplementary Fig.s 6‒11 present the ROC curves, calibration plots, and decision curves for these clinical scores in both the training and validation cohorts. Supplementary Table 3 provides detailed comparisons between the LASSO-LR model and all other models, including differences in AUROC with 95% CIs and results from DeLong's test.

Sensitivity analysis for temporary pacemaker

To assess the influence of the temporary pacemaker variable on model performance, we performed two sensitivity analyses. First, excluding all patients with a temporary pacemaker (n = 42) yielded model performance comparable to the original model, with Lasso-LR achieving an AUROC of 0.730 (95% CI: 0.697‒0.764) and 0.738 (95% CI: 0.671‒0.806) in the validation cohort (Supplementary Table 4; Supplementary Figs. 14‒17). Second, recoding temporary pacemaker as “not present” for these patients while retaining them in the cohort also left model performance essentially unchanged: AUROC 0.734 (95% CI: 0.701‒0.766) in the training cohort and 0.741 (95% CI: 0.676‒0.807) in the validation cohort (Supplementary Table 5).

SHAP interpretation in the optimal model

Utilizing the SHAP software package for an in-depth analysis of the LASSO-LR model, the individual impact of each feature within the sample was quantified by SHAP values. Elevated SHAP values indicate an increased risk of mortality. The contribution of each predictive variable to the mortality rate can be interpreted as its cumulative effect on the overall risk. Fig. 2 illustrates a SHAP beeswarm plot that depicts the distribution of SHAP values for each feature. Features are ranked according to their mean absolute SHAP values, underscoring their significance in the model prediction: oliguria, RDW, APACHE II score, norepinephrine, anion gap, lactate, and temporary pacemaker implantation. Supplementary Fig. 12 further elucidates the influence of these features on the predicted outcomes. Notably, temporary pacemaker implantation is associated with a lower SHAP value, suggesting a negative correlation with increased 30-day mortality risk in patients with CA complicated by AKI. However, this association is likely indicative of patient selection bias rather than a causal protective effect. In contrast, the remaining six features exhibit a positive correlation with higher SHAP values, indicating that the augmentation of these factors is associated with an elevated 30-day mortality risk.

Fig. 2
SHAP beeswarm plot of feature importance in the Lasso-LR model. Each dot represents an individual patient. The horizontal axis represents the SHAP value, indicating the impact of each feature on the model output (positive SHAP values correspond to increased mortality risk). Features are ordered on the vertical axis by their mean absolute SHAP values, reflecting their importance in the model. Color indicates the feature value for each patient: red represents higher values (or presence for categorical variables), and blue represents lower values (or absence for categorical variables). SHAP, SHapley Additive exPlanations; APACHE II, Acute Physiology and Chronic Health Evaluation-II.

Nomogram construction and evaluation

In this study, a nomogram tool was utilized to convert key predictors derived from the LASSO-LR model into a mortality risk assessment for patients with CA complicated by AKI. This nomogram assigns specific scores to each predictive variable, sums these scores to obtain a total score, and subsequently translates this total score into a probability of mortality. The model was simplified into a graphical nomogram using R software to facilitate interpretation, as illustrated in Fig. 3. The nomogram demonstrated acceptable discrimination power in the training cohort (AUROC = 0.742, 95% CI: 0.710‒0.774) and the temporal validation cohort (AUROC = 0.751, 95% CI: 0.687‒0.816), as illustrated in Fig. 4. The calibration curve analysis presented in Fig. 5 indicates that the model achieved satisfactory goodness-of-fit across both independent datasets, with Brier scores of 0.204 and 0.209, respectively. These scores indicate a reasonable alignment between predicted and observed outcomes. Given that the binary outcome prevalence in our cohort is approximately 55%, a null model predicting a probability of 0.5 for all patients would result in a Brier score of 0.25. Consequently, the Brier scores of our model signify a marked improvement over the null model, although they also suggest that the probabilistic predictions are not perfectly precise. Furthermore, the DCA curve suggests that the model's prediction for 30-day mortality offers an improved net benefit compared to the “treat all” or “treat none” strategies across a wide range of threshold probabilities. When directly compared with the SOFA score in the training cohort, the model provided a higher net benefit across the majority of clinically relevant threshold probabilities, indicating incremental clinical utility over this existing severity score (Supplementary Fig. 13). This underscores the model's clinical utility in both the training and validation datasets, as depicted in Fig. 6.

Fig. 3
Nomogram for predicting the 30-day mortality risk of death in patients with cardiac arrest complicated by acute kidney injury. APACHE II, Acute Physiology and Chronic Health Evaluation-II.

Fig. 4
ROC curves and AUROCs of the Lasso-LR model in the training cohort and temporal validation cohort. ROC, Receiver Operating Characteristic; AUROC, Area Under the Receiver Operating Characteristic Curve; LASSO-LR, LASSO-Logistic Regression.

Fig. 5
Calibration curves of the lasso-LR model in the training cohort and temporal validation cohort. LASSO-LR, LASSO-Logistic Regression.

Fig. 6
Decision curve analysis of the LASSO-LR model in the training cohort and temporal validation cohort. LASSO-LR, LASSO-Logistic Regression.

To enhance clinical accessibility, we constructed a dynamic online nomogram based on the LASSO-LR model. This interactive tool allows clinicians to input patient-specific variables and obtain an individualized 30-day mortality risk estimate. The dynamic nomogram is available at https://yuanlinx.shinyapps.io/cardiacarrestAKIDynNomapp.

Discussion

This study developed and validated multiple machine learning models to predict the 30-day mortality rate of patients with CA complicated by AKI. Through analysis of clinical data from the MIMIC-IV database, we determined that the LASSO-LR model demonstrated the most stable performance across cohorts, with superior resistance to overfitting compared to complex models such as KNN and DT. The model’s statistically significant improvement over the APACHE II and SOFA scores was confirmed in the validation cohort. These results suggest modest improvements in prediction accuracy and clinical utility. A sensitivity analysis excluding APACHE II from the LASSO feature pool yielded largely consistent predictors and comparable predictive performance, further supporting the robustness of our findings and suggesting that the inclusion of the composite score did not artificially drive the results. Collectively, these findings offer clinicians a valuable decision support tool that can enhance patient treatment strategies and management.

Through SHAP analysis, seven critical features significantly influencing the 30-day mortality risk for CA patients with AKI were identified, leading to the construction of a nomogram model based on these features. The model showed that temporary pacemaker implantation was associated with a lower SHAP value, whereas oliguria, elevated APACHE II scores, norepinephrine administration, increased anion gap, elevated lactate levels, and heightened RDW were correlated with an increased risk of 30-day mortality. The hierarchy of feature importance was oliguria, RDW, APACHE II score, norepinephrine, anion gap, lactate, and temporary pacemaker implantation. Oliguria was identified as the most critical predictor in the LASSO-LR model, highlighting its significant role in the early diagnosis and prognostic assessment of AKI.24 Empirical evidence suggests a strong association between oliguria and elevated mortality rates in patients with AKI.25 The manifestation of oliguria indicates not only a reduction in renal filtration capacity but also potentially reflects systemic metabolic imbalances and fluid dysregulation, which are critical factors contributing to the increased mortality risk in post-CA patients.26 Recognizing oliguria as a mortality risk predictor highlights the importance of optimizing renal perfusion in the management of these patients.

The APACHE II score, a widely acknowledged severity-of-disease classification system, quantifies dysfunction across multiple organ systems, with elevated scores being strongly correlated with increased mortality rates. Previous research has established that the APACHE II score not only predicts the severity and neurological outcomes in patients with CA,27,28 but also possesses prognostic significance for adverse outcomes in patients with AKI.29 This study corroborates its efficacy in prognosticating the outcomes of patients with CA complicated by AKI. Norepinephrine, a potent vasoactive agent, is recommended as a first-line therapeutic option for hemodynamic stabilization in instances of cardiogenic shock or other hypotensive conditions.30 The administration of norepinephrine, indicative of hemodynamic instability, is correlated with an elevated mortality risk in this study, aligning with findings from prior research on patients with CA.31 Furthermore, a study examining early mortality (within 7-days) in critically ill patients with AKI identified the use of norepinephrine bitartrate as an independent risk factor for mortality.32 In patients with CA complicated by AKI, the administration of norepinephrine may indicate severe hemodynamic instability, frequently associated with reduced cardiac output, insufficient tissue perfusion, and multi-organ dysfunction, thereby elevating the risk of mortality. In this study, norepinephrine was treated as a binary variable (use vs. no use) because dosing data in the MIMIC-IV database are not uniformly recorded across patients, making binary categorization more reliable and consistent with prior MIMIC-based studies.33,34

Additionally, the anion gap, lactate levels, and RDW were significant within the model. The anion gap, which reflects acid-base balance, is commonly utilized to evaluate metabolic acidosis. An elevated anion gap is indicative of lactic acidosis, ketoacidosis, or other metabolic abnormalities.35 In patients with CA complicated by AKI, an elevated anion gap may indicate lactic acidosis or the accumulation of acidic metabolic products due to renal insufficiency, thereby suggesting an increased risk of mortality.36-38 Blood lactate levels serve as sensitive indicators of tissue perfusion and oxygenation status, with numerous studies demonstrating that elevated lactate levels are closely associated with adverse outcomes in critically ill patients.39 During CA, severe hypoxemia and ischemia-reperfusion injury contribute to elevated lactate levels. The RDW reflects the variability in red blood cell size and has been associated with poor prognosis in patients with CA,40 severe AKI,41 and heart failure.42 Research suggests that elevated RDW is correlated with systemic inflammatory response, oxidative stress, and increased levels of tumor necrosis factor.43 In patients with CA complicated by AKI, elevated RDW may indicate systemic inflammation and stress, thereby heightening the risk of mortality. The integrated use of these biomarkers offers clinicians a multidimensional risk assessment, facilitating a more comprehensive understanding of the patient's condition.

The improved discrimination of the LASSO-LR model compared to traditional scoring systems such as APACHE II and SOFA may be attributed to its capacity to incorporate specific, high-impact variables pertinent to this subpopulation. While APACHE II score offers a comprehensive physiological evaluation, our model captures pathophysiological subtleties through variables such as oliguria and RDW, which hold particular significance for patients with CA complicated by AKI. Importantly, the model's Brier scores, ranging from 0.204 to 0.209, demonstrate a marked improvement over the null model benchmark of 0.25. However, these scores also suggest that the probabilistic predictions are not optimally sharp, indicating potential areas for further enhancement. Therefore, individual risk predictions from our model should be interpreted as approximate guides rather than exact probabilities. Small differences in predicted risk (e.g., 68% vs. 72%) are unlikely to be clinically meaningful. We caution against over-interpretation of small differences in total points or predicted risks.

In this study, the implantation of a temporary pacemaker was inversely associated with the 30-day mortality risk. However, this association should be interpreted with caution. Baseline comparisons show that the validation cohort had significantly higher norepinephrine use-a marker of greater severity-yet similar pacemaker use, indicating a complex selection process rather than a straightforward marker of lower severity. Hence, the pacemaker variable likely reflects unmeasured clinical factors and should not be viewed as having a direct protective effect. The variable’s interpretation remains opaque, which limits the clinical interpretability of the nomogram.

The findings of this study may have implications for clinical practice. Firstly, it represents the inaugural integration of advanced machine learning techniques with clinical data to establish a novel method for assessing mortality risk in patients with CA complicated by AKI. This integration aids clinicians in making more precise judgments in complex clinical scenarios. Secondly, the application of SHAP facilitates a deeper understanding of the predictive factors, thereby informing clinical decision-making processes. Furthermore, the implementation of a nomogram enables physicians to rapidly and intuitively evaluate mortality risk, thereby enhancing the efficiency of clinical decision-making.

Limitations

However, this study is subject to several limitations. Firstly, although a temporal validation strategy was employed, both cohorts were sourced from a single center, which restricts the generalizability of the findings to other populations and settings. Therefore, multi-center external validation is critically needed prior to clinical implementation. Secondly, the study was unable to compare the model with cardiac arrest-specific scores, such as CAHP and OHCA, due to the absence of key variables (e.g., no-flow duration) in the MIMIC-IV database. Thirdly, with an EPV of approximately 72 in the training cohort, the sample size was adequate for stable estimation of the LASSO-logistic regression model; nevertheless, complex machine learning algorithms with numerous hyperparameters may still be prone to overfitting in the absence of very large datasets. Fourthly, associations involving interventions (e.g., temporary pacemaker implantation) are subject to unmeasured selection biases and should not be interpreted as causal. Sensitivity analyses confirmed that the model performance was not driven by this variable, although its inclusion in the nomogram limits straightforward clinical interpretation. Fifth, the study did not account for certain critical but unavailable variables, such as socioeconomic status and long-term health behaviors, which could potentially impact the comprehensiveness of the predictions. Sixth, although the LASSO-selected features were stable across imputed datasets, the model's performance metrics were derived from a single representative dataset rather than pooled across all imputations, which may slightly underestimate prediction interval uncertainty. Future research should employ multicenter and prospective designs to validate and expand upon the findings.

Conclusions

This study developed and validated machine learning models for predicting 30-day mortality in patients with CA complicated by AKI. The LASSO-LR model demonstrated stable performance with superior resistance to overfitting, offering a modest but statistically significant improvement over traditional clinical scores (APACHE II and SOFA). SHAP analysis and a nomogram enhanced model interpretability, but the clinical meaningfulness of this incremental benefit requires prospective validation before clinical implementation.

Abbreviations

  • CA  cardiac arrest
  • AKI  acute kidney injury
  • ICU  intensive care unit
  • MIMIC-IV  medical information mart for intensive care IV
  • LASSO  least absolute shrinkage and selection operator
  • ROC  receiver operating characteristic
  • APACHE II  acute physiology and chronic health evaluation-II
  • SOFA  sequential organ failure assessment
  • RDW  red blood cell distribution width
  • LASSO-LR  lasso-logistic regression
  • AUROC  area under the receiver operating characteristic
  • SHAP  shapley additive exPlanations
  • CPR  cardiopulmonary resuscitation
  • OHCA  out-of-hospital cardiac arrest
  • ROSC  return of spontaneous circulation
  • CAHP  cardiac arrest hospital prognosis
  • CKD  chronic kidney disease
  • TRIPOD  transparent reporting of a multivariate prediction model for individual prognosis or diagnosis
  • MIT  massachusetts institute of technology
  • BIDMC  beth israel deaconess medical center
  • IRB  institutional review boards
  • CITI  collaborative institutional training initiative
  • KDIGO  kidney disease improving global outcomes
  • COSCA  core outcome set for cardiac arrest
  • ICD  international classification of diseases
  • DT  decision tree
  • XGBoost  extreme gradient boosting
  • LightGBM  light gradient boosting machine
  • SVM  support vector machine
  • DCA  decision curve analysis
  • CI  confidence interval

Ethics approval and consent to participate

The database was approved for research use by the Institutional Review Boards of the Massachusetts Institute of Technology and Beth Israel Deaconess Medical Center, and studies using the database were granted a waiver of informed consent. All methods were performed in accordance with the relevant guidelines and regulations.

Consent to publication

All authors give consent for publication.

Data availability

The datasets generated and/or analyzed during the current study are available from the corresponding author on reasonable request.

Funding

This work was supported by the Medical and Health Research Project of Zhejiang Province (2025KY1546).

Acknowledgements

We thank all the nurses, physicians, and providers who contributed to the care of these patients. We thank the study participants for their contributions. The schematic diagram of the graphical abstract was drawn by Figdraw.

Supplementary materials

Supplementary material associated with this article can be found, in the online version, at doi:10.1016/j.clinsp.2026.101129.

References

  • 1 Hirsch KG, Abella BS, Amorim E, Bader MK, Barletta JF, Berg K, et al. Critical care management of patients after cardiac arrest: a scientific statement from the American heart association and neurocritical care society. Circulation. 2024;149(2):e168-200.
  • 2 Hou L, Wang Y, Wang W. Prevention and control of cardiac arrest in healthy China. China CDC Wkly. 2021.3(14):304-307.
  • 3 Kiguchi T, Okubo M, Nishiyama C, Maconochie I, Ong MEH, Kern KB, et al. Out-of-hospital cardiac arrest across the world: first report from the international liaison committee on resuscitation (ILCOR). Resuscitation 2020;152:39-49.
  • 4 Janssens GN, Daemen J, Lemkes JS, van der Hoeven NW, van de Ven PM, van Royen N, et al. The influence of timing of coronary angiography on acute kidney injury in out-of-hospital cardiac arrest patients: a retrospective cohort study. Ann Intensive Care. 2022;12(1):12.
  • 5 Jeppesen KK, Rasmussen SB, Kjaergaard J, Schmidt H, Mølstrøm S, Beske RP, et al. Acute kidney injury after out-of-hospital cardiac arrest. Crit Care. 2024;28(1):169.
  • 6 Geri G, Guillemet L, Dumas F, Charpentier J, Antona M, Lemiale V, et al. Acute kidney injury after out-of-hospital cardiac arrest: risk factors and prognosis in a large cohort. Intensive Care Med. 2015;41(7):1273-80.
  • 7 Adrie C, Cariou A, Mourvillier B, Laurent I, Dabbane H, Hantala F, et al. Predicting survival with good neurological recovery at hospital admission after successful resuscitation of out-of-hospital cardiac arrest: the OHCA score. Eur Heart J. 2006;27(23):2840-5.
  • 8 Maupain C, Bougouin W, Lamhaut L, Deye N, Diehl JL, Geri G, et al. The CAHP (Cardiac Arrest Hospital Prognosis) score: a tool for risk stratification after out-of-hospital cardiac arrest. Eur Heart J. 2016;37(42):3222-8.
  • 9 Sungono V, Hariyanto H, Soesilo TEB, Adisasmita AC, Syarif S, Lukito AA, et al. Cohort study of the APACHE II score and mortality for different types of intensive care unit patients. Postgrad Med J. 2022;98(1166):914-8.
  • 10 Grossestreuer AV, Yankama TT, Moskowitz A, Ngo L, Donnino MW. Use of SOFA score in cardiac arrest research: a scoping review. Resusc Plus. 2020;4:100040.
  • 11 Blatter R, Amacher SA, Bohren C, Becker C, Beck K, Gross S, et al. Comparison of different clinical risk scores to predict long-term survival and neurological outcome in adults after cardiac arrest: results from a prospective cohort study. Ann Intensive Care. 2022;12(1):77.
  • 12 Choi JY, Jang JH, Lim YS, Lee YJ, Yoo BD, Cho YS, et al. Performance on the APACHE II, SAPS II, SOFA and the OHCA score of post-cardiac arrest patients treated with therapeutic hypothermia. PLoS One. 2018;13(5):e0196197.
  • 13 Ding X, Wang Y, Ma W, Peng Y, Huang J, Wang M, et al. Development of early prediction model of in-hospital cardiac arrest based on laboratory parameters. Biomed Eng Online. 2023;22(1):116.
  • 14 Hsieh MJ, Chiang WC, Sun JT, Chang WT, Chien YC, Wang YC, et al. A prediction model for patients with emergency medical service witnessed out-of-hospital cardiac arrest. J Formos Med Assoc. 2021;120(5):1229-36.
  • 15 Lin L, Chen L, Jiang Y, Gao R, Wu Z, Lv W, et al. Construction and validation of a risk prediction model for acute kidney injury in patients after cardiac arrest. Ren Fail. 2023;45(2):2285865.
  • 16 Collins GS, Reitsma JB, Altman DG, Moons KG. Transparent Reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement. Ann Intern Med. 2015.162(1):55-63.
  • 17 Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PC, Mark RG, et al. PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation. 2000;101(23):e215-20.
  • 18 Khwaja A. KDIGO clinical practice guidelines for acute kidney injury. Nephron Clin Pract. 2012;120(4):c179-84.
  • 19 Avila MO, Zanetta DM, Abdulkader RC, Yu L, Burdmann EA. Urine volume in acute kidney injury: how much is enough. Ren Fail. 2009.31(10):884-90.
  • 20 Haywood KL, Whitehead L, Perkins GD. An international, consensus-derived core outcome set for cardiac arrest effectiveness trials: the COSCA initiative. Curr Opin Crit Care. 2019.25(3):226-33.
  • 21 Holmberg MJ, Granfeldt A, Moskowitz A, Lauridsen KG, Bergum D, Christiansen CF, et al. Termination of resuscitation rules for in-hospital cardiac arrest. JAMA Intern Med. 2025;185(4):391-7.
  • 22 Rusnak J, Schupp T, Weidner K, Ruka M, Egner-Walter S, Forner J, et al. Differences in outcome of patients with cardiogenic shock associated with in-hospital or out-of-hospital cardiac arrest. J Clin Med. 2023;12(5):2064.
  • 23 Yonis H, Ringgren KB, Andersen MP, Wissenberg M, Gislason G, Køber L, et al. Long-term outcomes after in-hospital cardiac arrest: 30-day survival and 1-year follow-up of mortality, anoxic brain damage, nursing home admission and in-home care. Resuscitation. 2020;157:23-31.
  • 24 Yamao Y, Oami T, Yamabe J, Takahashi N, Nakada TA. Machine-learning model for predicting oliguria in critically ill patients. Sci Rep. 2024.14(1):1054.
  • 25 Bianchi NA, Stavart LL, Altarelli M, Kelevina T, Faouzi M, Schneider AG. Association of oliguria with acute kidney injury diagnosis, severity assessment, and mortality among patients with critical Illness. JAMA Netw Open. 2021.4(11):e2133094.
  • 26 Bărcan A, Chițu M, Benedek E, Rat N, Korodi S, Morariu M, et al. Predictors of mortality in patients with ST-segment elevation acute myocardial infarction and resuscitated out-of-hospital cardiac arrest. J Crit Care Med. 2016;2(1):22-9.
  • 27 Donnino MW, Salciccioli JD, Dejam A, Giberson T, Giberson B, Cristia C, et al. APACHE II scoring to predict outcome in post-cardiac arrest. Resuscitation. 2013;84(5):651-6.
  • 28 Kim SI, Kim YJ, Lee YJ, Ryoo SM, Sohn CH, Seo DW, et al. APACHE II score immediately after cardiac arrest as a predictor of good neurological outcome in out-of-hospital cardiac arrest patients receiving targeted temperature management. Acute Crit Care. 2018;33(2):83-8.
  • 29 Shen Y, Yu J, Zhou F, Yan J, Yang J, Guo Y, et al. The predictive performance of the lactate clearance rate combined with the APACHE II score in the prediction of sepsis-associated acute kidney injury in 7 days. Transl Androl Urol. 2022;11(4):543-53.
  • 30 van Diepen S, Thiele H. An overview of international cardiogenic shock guidelines and application in clinical practice. Curr Opin Crit Care. 2019.25(4):365-370.
  • 31 Wang MT, Huang WC, Yen DH, Yeh EH, Wu SY, Liao HH. The potential risk factors for mortality in patients after in-hospital cardiac arrest: a multicenter study. Front Cardiovasc Med. 2021.8:630102.
  • 32 da Hora Passos R, Ramos JGR, Mendonça EJB, Miranda EA, Dutra FRD, Coelho MFR, et al. A clinical score to predict mortality in septic acute kidney injury patients requiring continuous renal replacement therapy: the HELENICC score. BMC Anesthesiol. 2017;17(1):21.
  • 33 Xu F, Zhang L, Wang Z, Han D, Li C, Zheng S, et al. A new scoring system for predicting in-hospital death in patients having liver cirrhosis with esophageal varices. Front Med. 2021;8:678646.
  • 34 Guo S, Liu Y, Xia J, Li A, Ma X, Chen Y, et al. An interpretable machine learning model for predicting sepsis risk in ICU patients with non-traumatic subarachnoid hemorrhage: development and validation using the MIMIC-IV database. Front Neurol. 2026;17:1734264.
  • 35 Xie K, Zheng C, Wang GM, Diao YF, Luo C, Wang E, et al. Association between delta anion gap and hospital mortality for patients in cardiothoracic surgery recovery unit: a retrospective cohort study. BMC Surg. 2022;22(1):186.
  • 36 Asahina Y, Sakaguchi Y, Kajimoto S, Hattori K, Doi Y, Oka T, et al. Association of time-updated anion gap with risk of kidney failure in advanced CKD: a cohort study. Am J Kidney Dis. 2022;79(3):374-82.
  • 37 Cheng B, Li D, Gong Y, Ying B, Wang B. Serum anion gap predicts all-cause mortality in critically ill patients with acute kidney injury: analysis of the MIMIC-III Database. Dis Markers. 2020. 2020:6501272.
  • 38 Chen J, Dai C, Yang Y, Wang Y, Zeng R, Li B, et al. The association between anion gap and in-hospital mortality of post-cardiac arrest patients: a retrospective study. Sci Rep. 2022;12(1):7405.
  • 39 Gharipour A, Razavi R, Gharipour M, Modarres R, Nezafati P, Mirkheshti N. The incidence and outcome of severe hyperlactatemia in critically ill patients. Intern Emerg Med. 2021;16(1):115-123.
  • 40 Urben T, Amacher SA, Becker C, Gross S, Arpagaus A, Tisljar K, et al. Red blood cell distribution width for the prediction of outcomes after cardiac arrest. Sci Rep. 2023;13(1):15081.
  • 41 Mo M, Huang Z, Huo D, Pan L, Xia N, Liao Y, et al. Influence of red blood cell distribution width on all-cause death in critical diabetic patients with acute kidney injury. Diabetes Metab Syndr Obes. 2022;15:2301-9.
  • 42 Xanthopoulos A, Giamouzis G, Dimos A, Skoularigki E, Starling RC, Skoularigis J, et al. Red blood cell distribution width in heart failure: pathophysiology, prognostic role, controversies and dilemmas. J Clin Med. 2022;11(7):1951.
  • 43 Li X, Yin Z, Yan W, Wang M, Xue L, Zhou Q, et al. Baseline red blood cell distribution width and perforin, dynamic levels of interleukin 6 and lactate are predictors of mortality in patients with sepsis. J Clin Lab Anal. 2023;37(3):e24838.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

⁎

Corresponding author. E-mail address:13754200911@163.com (Y. Yao).

Editor:

José Maria Soares Junior

Publication Dates

  • Publication in this collection
    16 Nov 2026
  • Date of issue
    2026

History

  • Received
    14 Jan 2026
  • Reviewed
    06 Aug 2026
  • Accepted
    14 Aug 2026
  • Published
    08 Sept 2026
location_on
Faculdade de Medicina / USP Rua Dr Ovídio Pires de Campos, 225 - 6 and., 05403-010 São Paulo SP - Brazil, Tel.: (55 11) 2661-6235 - São Paulo - SP - Brazil
E-mail: clinics@hc.fm.usp.br
rss_feed Acompanhe os números deste periódico no seu leitor de RSS
Ir para o topo