Skip to main content
  • Research article
  • Open access
  • Published:

Using machine learning methods to predict 28-day mortality in patients with hepatic encephalopathy

Abstract

Background

Hepatic encephalopathy (HE) is associated with marked increases in morbidity and mortality for cirrhosis patients. This study aimed to develop and validate machine learning (ML) models to predict 28-day mortality for patients with HE.

Methods

A retrospective cohort study was conducted in the Medical Information Mart for Intensive Care (MIMIC)-IV database. Patients from MIMIC-IV were randomized into training and validation cohorts in a ratio of 7:3. Training cohort was used for establishing the model while validation cohort was used for validation. The outcome was defined as 28-day mortality. Predictors were identified by recursive feature elimination (RFE) within 24 h of intensive care unit (ICU) admission. The area under the curve (AUC) and calibration curve were used to determine the predictive performance of different ML models.

Results

In the MIMIC-IV database, 601 patients were eventually diagnosed with HE. Of these, 112 (18.64%) experienced death within 28 days. Acute physiology score III (APSIII), sepsis related organ failure assessment (SOFA), international normalized ratio (INR), total bilirubin (TBIL), albumin, blood urea nitrogen (BUN), acute kidney injury (AKI) and mechanical ventilation were identified as independent risk factors. Validation set indicated that the artificial neural network (NNET) model had the highest AUC of 0.837 (95% CI:0.774–0.901). Furthermore, in the calibration curve, the NNET model was also well-calibrated (P = 0.323), which means that it can better predict the 28-day mortality in HE patients. Additionally, the performance of the NNET is superior to existing scores, including Model for End-Stage Liver Disease (MELD) and Model for End-Stage Liver Disease-Sodium (MELD-Na).

Conclusions

In this study, the NNET model demonstrated better discrimination in predicting 28-day mortality as compared to other models. This developed model could potentially improve the early detection of HE with high mortality, subsequently improving clinical outcomes in these patients with HE, but further external prospective validation is still required.

Peer Review reports

Introduction

Hepatic encephalopathy (HE), one of the most common complications of liver cirrhosis, is defined as a brain dysfunction [1]. Significant HE occurs in approximately 30–40% of patients with cirrhosis due to hepatocellular dysfunction and portosystemic shunt [2]. Typical clinical manifestations of HE include various types of neuropsychiatric disorders, such as progressive disorientation, sleep disorders, inappropriate behavior, somnolence, coma, asterixis, hypertonia, hyperreflexia, and extrapyramidal dysfunction [3, 4]. It is worth noting that HE is a serious complication of cirrhosis associated with significant mortality and heavy financial burdens [5]. To be specific, the costs associated with HE attain 11.6 billion$, and outweigh other decompensating events in liver cirrhosis [6]. Though HE patients have improved outcomes over the past decade, several studies have indicated that the prognosis and quality of life still remain poor [7]. Specifically, HE typically heralds hepatic decompensation, and its development is usually associated with high morbidity, implying the need for liver transplantation [8,9,10]. Accordingly, it is critical to determine an easily accessible and simple model to estimate the risk of 28-day mortality in patients with HE.

Many existing scoring systems have been used to evaluate the prognosis of liver cirrhosis patients, but none of them are targeted at HE patients. Models for End-Stage Liver Disease (MELD) scores have been widely used as predictive tools for liver disease severity [11]. Originating from the MELD algorithm, Biggins et al. proposed a new score, the Model for End-Stage Liver Disease-Sodium (MELD-Na) model, which has a more accurate predictive ability than MELD [12].

Machine learning (ML), as part of artificial intelligence, was not limited by the state of data distribution and can handle complex relationships as well as high-dimensional data [13,14,15]. Consequently, the study aimed to 1) identify the significant prognostic factors for HE patients from a large database, and then to construct and validate a model that predicts 28-day mortality, 2) to compare prognostic performance of this model with those of the MELD and MELD-Na scores.

Methods

Data source

Data of this retrospective cohort study were obtained from one sizeable critical care database: the Medical Information Mart for Intensive Care (MIMIC)-IV version 2.0 [16]. As a large, single-center, freely available database, the MIMIC-IV database, has comprehensive, high-quality data of patients admitted to the intensive care units (ICUs) at the Beth Israel Deaconess Medical Center in Boston, Massachusetts, between 2008 and 2019. This study was approved by the Institutional Review Boards of Beth Israel Deaconess Medical Center (Boston, MA, USA) and Massachusetts Institute of Technology (Cambridge, MA). Individuals who have passed the collaborative institutional training initiative examination can have an access to these databases. We completed the online course and obtained access to the database (certification number: 48120484). The study was reported according to the REporting of studies Conducted using Observational Routinely Collected Health Data (RECORD) statement [17].

Participant selection

In this paper, we used the International Classification of Diseases (ICD)-9 code “5722” to identify the disease “Hepatic encephalopathy”. Indeed, all the patients had underlying liver cirrhosis that led to hepatic encephalopathy. We also tried to use ICD-9 code to identify the causes of HE. Initially, a total of 1940 HE patients were extracted from databases in this retrospective study. The exclusion criteria were (1) multiple ICU admissions, (2) age < 18 years (3) ICU stay < 24 h. Since all protected health information was de-identified, the requirement for individual patient consent was waived.

Predictors of HE

Candidate predictors extracted from MIMIC-IV included baseline information and laboratory parameters. The baseline characteristics included: age, sex, race, body mass index (BMI), myocardial infarction, congestive heart failure, peripheral vascular disease, cerebrovascular disease, dementia, chronic pulmonary disease, rheumatic disease, peptic ulcer disease, diabetes, paraplegia, renal disease, malignant cancer, severe liver disease, metastatic solid tumor, acquired immunodeficiency syndrome (AIDS), temperature, mean artery pressure (MAP), heart rate, respiratory rate, red blood cell (RBC), white blood cell (WBC), hemoglobin (HGB), platelet (PLT), red cell distribution width (RDW), hematocrit (HCT), activated partial thromboplastin time (APTT), prothrombin time (PT), international normalized ratio (INR), bicarbonate, lactate, base excess (BE), anion gap, chloride, calcium, sodium, potassium, glucose, creatinine, blood urea nitrogen (BUN), total bilirubin (TBIL), albumin, alanine transaminase (ALT), aspartate transaminase (AST), alkaline phosphatase (ALP), urine output, sepsis related organ failure assessment (SOFA) and acute physiology score III (APSIII). All data used for prediction were from < 24 h after ICU admission.

Statistical analysis

Missing data are unavoidable in the MIMIC database, and this study used multiple imputation to account for missing data. The specific missing number (%) for included variables in the dataset before imputation is shown in Supplementary Table 1.

Values are presented in Table 1 as means with standard deviations (if normal) or medians with interquartile ranges (IQR) (if non-normal) for continuous variables and total numbers with percentages for categorical variables. Proportions were compared using the χ2 test or Fisher’s exact test, whereas continuous variables were compared by the t-test or Wilcoxon rank sum test, if appropriate.

Table 1 Baseline characteristics of the MIMIC-IV cohorts

Recursive feature elimination (RFE) was used as a feature selection method in this study. Specifically, RFE in this paper is based on random forest (RF). In brief, the RFE always fits the model in according with smaller sets of features until it reaches a specified termination criterion. Then, in every cycle of the trained model, the features are ranked by importance. Finally, dependency and collinearity are eliminated. Features were considered in groups of 8/16/24/32/40/48/ALL (ALL = 51 variables, Fig. 1), according to the ranks obtained after the feature selection method.

Fig. 1
figure 1

Study flow diagram and methods used for data extraction, training, and testing. ICU, intensive care unit; MIMIC-IV, Medical Information Mart for Intensive Care-IV; HE, hepatic encephalopathy; ML, machine learning; NNET, artificial neural network; GBM, gradient boosting machine; RF, random forest; BT, bagged trees

Then, four different ML algorithms were used to develop models, including artificial neural networks (NNET), gradient boosting machine (GBM), RF, and bagged trees (BT). Initially, we randomly assigned 70% of patients in MIMIC-IV database to the training cohort and 30% to the validation cohort. The training cohort was used to establish the model, while the validation cohort was used to perform validation. When constructing the model, we employed internal validation to evaluate the stability of the prediction model in the development sets. We used ten-fold cross-validation as the resampling method to find the optimal hyperparameters; nine folds were used for training in each iteration, and the last fold was processed to tune the hyperparameters. This process was repeated 30 times. In this way, each sample was involved in both the training and testing models so that all data were used to the maximum. Next, validation was employed to evaluate the validity of each model in the validation set.

After this, all models were assessed using multiple metrics based on the model performance. We calculated the median and 95% confidence intervals (CIs) of the area under the curve (AUC), accuracy, sensitivity, specificity, negative predictive value, and positive predictive value as measures of model performance.

We used the R packages "iml" and “Shapley values” to evaluate the importance of the variables included in the model. The Shapley values can be used to enhance ML’s interpretability to describe the relative contribution of each variable within each predictive model. Specifically, The Shapley values evaluate the importance of included feature A for variables produced by all feature combinations (rather than A).

All analyses were performed using the statistical software package R version 4.0.2 (http://www.R-project.org, The R Foundation). P-values < 0.05 (two-sided test) were considered statistically significant.

Results

Baseline characteristics

As shown in Fig. 1, there were 870 patients with HE in the MIMIC-IV database; of these, 601 were eligible for this study after exclusion. In this study, 489 (81.34%) patients still survived whereas 112 (18.64%) patients died within 28 days. The process of data extraction, training preparation, and data testing using different ML algorithms was also indicated in the Fig. 1. Individuals who died were more likely to have worse baseline conditions than survivors. Causes of HE mainly included virus hepatitis, alcoholic liver disease, autoimmune hepatitis. Details are listed in Table 1.

Variable importance

The RFE algorithm selected the following 8 important predictors: APSIII, SOFA, INR, TBIL, albumin, BUN, AKI and mechanical ventilation. All 8 variables were used in subsequent analyses for all models in both the training and testing sets.

Prediction performance in testing set

The discriminatory capabilities of all the models for predicting 28-day mortality are shown in Fig. 2 and Table 2. In the training set, NNET, GBM, RF and BT models were developed, and the testing models attained AUCs of 0.837, 0.769, 0.789, and 0.741, respectively (Fig. 2). NNET had the highest predictive performance among the four models (AUC: 0.837, 95% CI: 0.774–0.901), while the poorest discriminative ability was found in BT (AUC: 0.741, 95% CI: 0.654–0.829) (Table 2).

Fig. 2
figure 2

The receiver operating characteristic curves of four different machine learning models in the validation cohort. ROC, receiver operating characteristic, AUC, area under the curve; NNET, artificial neural network; GBM, gradient boosting machine; RF, random forest; BT, bagged trees

Table 2 Prediction performance of the machine learning models in the test set

Figure 3 showed the calibration curve for the calibration performance. The Hosmer–Lemeshow goodness-of-fit test was also calculated. To be specific, the chi-squared value was calculated based on the observed and model-predicted values for each group, and the corresponding P-value was subsequently obtained. A good fit of the prediction model was indicated if the 45° diagonal bisector did not cross the 95% CI region whereas a P-value < 0.05 for the belt plot of the calibration curve indicated a poor fit of the prediction model. The NNET model had good calibration, with P-values of 0.323.

Fig. 3
figure 3

The calibration curve for different machine learning models in the validation cohort. NNET, artificial neural network; GBM, gradient boosting machine; RF, random forest; BT, bagged trees

The 8 predictor variables in the NNET model are demonstrated in Fig. 4. Each variable in the study had a different Shapley value for 28-day mortality based on the ML approach. In general, TBIL, APSIII, and albumin were variables with relatively higher Shapely values across the NNET model. More precisely, these variables have a higher impact on the outcome of the model. Additionally, the AUCs of MELD and MELD-Na in the prediction of 28-day death were 0.728 (95% CI: 0.677–0.779) and 0.711 (95% CI: 0.658–0.765), respectively (Fig. 5).

Fig. 4
figure 4

The Shapley values for different variables in the NNET model. APSIII, acute physiology score III; ALB, albumin; SOFA, sepsis related organ failure assessment; INR, international normalized ratio; BUN, blood urea nitrogen; AKI, acute kidney injury; TBIL, total bilirubin; NNET, artificial neural network

Fig. 5
figure 5

The ROC curves of NNET, MELD and MELD-Na. ROC, receiver operating characteristic; NNET, artificial neural network; MELD, Model for End-Stage Liver Disease; MELD-Na, the sodium for end-stage liver disease

Discussion

Liver cirrhosis results from the development of various acute and chronic liver diseases, and HE is a common critical complication of decompensated cirrhosis. This retrospective study analyzed a relatively large population of MIMIC-IV, and found 8 variables were independent predictors of 28-day death. Notably, in this study, all indicators were obtained within the first 24 h of ICU admission, providing a short window for identifying severe patients with HE. Additionally, among the four ML models that were validated, NNET was the best model, with good discriminative (AUC = 0.837) and calibration ability simultaneously. Our model could potentially be useful to clinicians in their decision-making when it comes to the selection of therapeutic strategies. Features obtained in the final model included APSIII, SOFA, INR, TBIL, albumin, BUN, AKI and mechanical ventilation, which is consistent with the findings of other published studies.

In a recent research, researchers also identified SOFA and systemic inflammatory response syndrome (SIRS) as factors associated with 30-day mortality in patients with HE [18]. Patients with HE are functionally immuno-suppressed and susceptible to infection [19], which is a frequent precipitant for organ dysfunction. Likewise, the resultant organ failures as indicated by high SOFA and APSIII means significant mortality [20, 21]. Changes in TBIL and albumin often reflect liver function in patients with liver cirrhosis, which is closely associated with a poor prognosis [22]. Peng Y et al. in their study concluded that TBIL was independently correlated with in-hospital death in cirrhotic patients with HE [23]. Bai Z et al. reported that albumin level was an independent risk factor for HE-associated mortality during hospitalizations in cirrhosis (OR = 0.864, 95% CI = 0.771–0.967) [24]. Other studies have also validated this finding [25,26,27,28]. By conducting a preliminary observation, Udayakumar N et al. found that high serum bilirubin values in chronic liver disease were simple parameters that would predict a poor outcome in patients with HE [9]. Moreover, serum bilirubin levels as prognostic biochemical markers have been reported elsewhere and are similar to our observations [29, 30]. One previous investigation identified elevated levels of TBIL, BUN, and decreased albumin as factors associated with poor prognosis in patients with acute HE [23]. In addition, Hung TH et al. in their study also identified that AKI increased the 3-year mortality of cirrhotic patients with HE [31]. Other study also found that AKI was the main independent predictor of ICU death and 1-year mortality [32]. Possible mechanisms may be that the increased ammonia from blood stream exacerbates cerebral edema in cirrhotic patients with HE [33,34,35]. Additionally, according to Cui Y et al., hepatorenal syndrome (HRS) was independent factor associated with 3-month death [36]. Notably, decreased kidney function usually accompanies end-stage liver disease, including HRS. Renal dysfunction can increase BUN, and in turn, resultant diffusion of BUN into the intestine can cause enhanced ammonia uptake accompanied by worsening of HE [36]. Previous studies explored the prognostic factors correlated with 180 cirrhotic patients presenting with HE who were admitted to ICU. And researchers also found that the use of mechanical ventilation was a significant risk factor for mortality [37]. The study by Saffo S et al. has demonstrated that mechanical ventilation was the strongest predictor of in-hospital mortality in their primary analysis (OR, 3.00; 95% CI, 2.14–4.20; P < 0.001) and in all sensitivity analyses [38]. Studies by Benhaddouch Z et al. came to similar conclusion [8]. This may be due to the fact that patients with hepatic encephalopathy are at a greater risk for the complications of mechanical ventilation because of possible underlying circulatory, neurologic, and immunologic disturbance [39]. Mechanical ventilation itself may aggravate the existing condition, manifested as impairment in cardiovascular and cognitive function and immune defense, consequently, patients with hepatic encephalopathy may particularly be susceptible to developing such complications as shock, progressive delirium, and infection [40, 41]. Although MELD and MELD-Na are accurate, highly specific scores that are commonly used to reveal liver disease severity and quantify mortality risk [42, 43], the predicative performance for 28-day mortality of these scores in patients with HE remains unclear. Hence, we performed the ROC curves in this study, and found that the AUCs of the MELD and MELD-Na scores for 28-day mortality was lower than that of NNET. which suggested our model was superior to other models in terms of diagnostic discrimination. The reason for this may be, that only simple indicators (creatinine, bilirubin, and INR) cannot precisely assess the degree of cirrhosis [44, 45]. Moreover, a frequently reported drawback of the MELD score was that it has the disadvantage of lacking objective parameters reflecting the patient 's physical and nutritional status, including albumin [46].

There were several strengths in this study. First, multiple ML algorithms were used to build a predictive model. Third, 8 variables selected for the final model are readily available in clinical practice, enabling the model to be implemented easily in the real world.

This study had several limitations. First, because the model was based on MIMIC-IV, which is a single-center database, it still needs to be externally validated in other datasets. Secondly, all the variables were first obtained after an ICU admission, without considering that indicators were dynamically changing. Thirdly, originated from a retrospective cohort, the model needs further prospective validation before being considered for clinical application. Lastly, the majority of the patients included in this study were White, therefore, these findings may not be extrapolated to other populations, such as Asians.

Conclusions

In this study, we proposed an individualized predictive model based on ML for 28-day mortality in HE patients upon ICU admission. We demonstrated that APSIII, SOFA, mechanical ventilation, INR, TBIL, albumin and AKI are crucial for predicting 28-day mortality. The model in our study had superior performance to MELD score or MELD-Na score predicting 28-day mortality. In the future, real-time prediction of mortality risk among HE patients might be realized, which, in turn, will optimize treatment to improve clinical prognosis.

Availability of data and materials

Publicly available datasets were analyzed in this study. These data can be found at Physionet (https://physionet.org/content/mimiciv/2.0/).

References

  1. American Association for the Study of Liver Diseases; European Association for the Study of the Liver. Hepatic encephalopathy in chronic liver disease: 2014 practice guideline by the European Association for the Study of the Liver and the American Association for the Study of Liver Diseases. J Hepatol. 2014;61(3):642–59. https://doi.org/10.1016/j.jhep.2014.05.042.

  2. Amodio P. Hepatic encephalopathy: diagnosis and management. Liver Int. 2018;38(6):966–75.

    Article  PubMed  Google Scholar 

  3. Ellul MA, Gholkar SA, Cross TJ. Hepatic encephalopathy due to liver cirrhosis. BMJ (Clin Res Ed). 2015;351:h4187.

    Google Scholar 

  4. Vilstrup H, Amodio P, Bajaj J, Cordoba J, Ferenci P, Mullen KD, Weissenborn K, Wong P. Hepatic encephalopathy in chronic liver disease: 2014 Practice Guideline by the American Association for the Study of Liver Diseases and the European Association for the Study of the Liver. Hepatology (Baltimore, MD). 2014;60(2):715–35.

    Article  PubMed  Google Scholar 

  5. Stepanova M, Mishra A, Venkatesan C, Younossi ZM. In-hospital mortality and economic burden associated with hepatic encephalopathy in the United States from 2005 to 2009. Clin Gastroenterol Hepatol. 2012;10(9):1034-1041.e1031.

    Article  PubMed  Google Scholar 

  6. Tapper EB, Finkelstein D, Mittleman MA, Piatkowski G, Chang M, Lai M. A quality improvement initiative reduces 30-day rate of readmission for patients with cirrhosis. Clin Gastroenterol Hepatol. 2016;14(5):753–9.

    Article  PubMed  Google Scholar 

  7. Patidar KR, Thacker LR, Wade JB, Sterling RK, Sanyal AJ, Siddiqui MS, Matherly SC, Stravitz RT, Puri P, Luketic VA, et al. Covert hepatic encephalopathy is independently associated with poor survival and increased risk of hospitalization. Am J Gastroenterol. 2014;109(11):1757–63.

    Article  PubMed  PubMed Central  Google Scholar 

  8. Benhaddouch Z, Abidi K, Naoufel M, Abouqal R, Zeggwagh AA. Mortality and prognostic factors of the cirrhotic patients with hepatic encephalopathy admitted to medical intensive care unit. Ann Fr Anesth Reanim. 2007;26(6):490–5.

    Article  CAS  PubMed  Google Scholar 

  9. Udayakumar N, Subramaniam K, Umashankar L, Verghese J, Jayanthi V. Predictors of mortality in hepatic encephalopathy in acute and chronic liver disease: a preliminary observation. J Clin Gastroenterol. 2007;41(10):922–6.

    Article  CAS  PubMed  Google Scholar 

  10. Findlay JY, Fix OK, Paugam-Burtz C, Liu L, Sood P, Tomlanovich SJ, Emond J. Critical care of the end-stage liver disease patient awaiting liver transplantation. Liver Transpl. 2011;17(5):496–510.

    Article  PubMed  Google Scholar 

  11. Kamath PS, Kim WR. The model for end-stage liver disease (MELD). Hepatology (Baltimore, MD). 2007;45(3):797–805.

    Article  PubMed  Google Scholar 

  12. Biggins SW, Kim WR, Terrault NA, Saab S, Balan V, Schiano T, Benson J, Therneau T, Kremers W, Wiesner R, et al. Evidence-based incorporation of serum sodium concentration into MELD. Gastroenterology. 2006;130(6):1652–60.

    Article  PubMed  Google Scholar 

  13. Beam AL, Kohane IS. Big data and machine learning in health care. JAMA. 2018;319(13):1317–8.

    Article  PubMed  Google Scholar 

  14. Zhang Z, Ho KM, Hong Y. Machine learning for the prediction of volume responsiveness in patients with oliguric acute kidney injury in critical care. Criti Care (London, England). 2019;23(1):112.

    Article  Google Scholar 

  15. Zhang Z. Predictive analytics in the era of big data: opportunities and challenges. Ann Transl Med. 2020;8(4):68.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  16. Goldberger AL, Amaral LA, Glass L, Hausdorff JM, Ivanov PC, Mark RG, Mietus JE, Moody GB, Peng CK, Stanley HE. PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation. 2000;101(23):E215-220.

    Article  CAS  PubMed  Google Scholar 

  17. Benchimol EI, Smeeth L, Guttmann A, Harron K, Moher D, Petersen I, Sørensen HT, von Elm E, Langan SM. The REporting of studies Conducted using Observational Routinely-collected health Data (RECORD) statement. PLoS Med. 2015;12(10):e1001885.

    Article  PubMed  PubMed Central  Google Scholar 

  18. Jeong JH, Park IS, Kim DH, Kim SC, Kang C, Lee SH, Kim TY, Lee SB. CLIF-SOFA score and SIRS are independent prognostic factors in patients with hepatic encephalopathy due to alcoholic liver cirrhosis. Medicine. 2016;95(26):e3935.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  19. Wasmuth HE, Kunz D, Yagmur E, Timmer-Stranghöner A, Vidacek D, Siewert E, Bach J, Geier A, Purucker EA, Gressner AM, et al. Patients with acute on chronic liver failure display “sepsis-like” immune paralysis. J Hepatol. 2005;42(2):195–201.

    Article  CAS  PubMed  Google Scholar 

  20. Lin RS, Lee FY, Lee SD, Tsai YT, Lin HC, Lu RH, Hsu WC, Huang CC, Wang SS, Lo KJ. Endotoxemia in patients with chronic liver diseases: relationship to severity of liver diseases, presence of esophageal varices, and hyperdynamic circulation. J Hepatol. 1995;22(2):165–72.

    Article  CAS  PubMed  Google Scholar 

  21. Wong F, Bernardi M, Balk R, Christman B, Moreau R, Garcia-Tsao G, Patch D, Soriano G, Hoefs J, Navasa M. Sepsis in cirrhosis: report on the 7th meeting of the International Ascites Club. Gut. 2005;54(5):718–25.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  22. Wan SZ, Nie Y, Zhang Y, Liu C, Zhu X. Assessing the prognostic performance of the child-pugh, model for end-stage liver disease, and albumin-bilirubin scores in patients with decompensated cirrhosis: a large Asian cohort from gastroenterology department. Dis Markers. 2020;2020:5193028.

    Article  PubMed  PubMed Central  Google Scholar 

  23. Peng Y, Wei Q, Liu Y, Wu Z, Zhang H, Wu H, Chai J. Prediction and risk factors for prognosis of cirrhotic patients with hepatic encephalopathy. Gastroenterol Res Pract. 2021;2021:5623601.

    Article  PubMed  PubMed Central  Google Scholar 

  24. Bai Z, Guo X, Tacke F, Li Y, Li H, Qi X. Association of serum albumin level with incidence and mortality of overt hepatic encephalopathy in cirrhosis during hospitalization. Ther Adv Gastroenterol. 2019;12:1756284819881302.

    Article  Google Scholar 

  25. Nardelli S, Gioia S, Ridola L, Farcomeni A, Merli M, Riggio O. Proton pump inhibitors are associated with minimal and overt hepatic encephalopathy and increased mortality in patients with cirrhosis. Hepatology (Baltimore, MD). 2019;70(2):640–9.

    Article  CAS  PubMed  Google Scholar 

  26. Zhang Y, Feng Y, Cao B, Tian Q. The effect of small intestinal bacterial overgrowth on minimal hepatic encephalopathy in patients with cirrhosis. Arch Med Sci. 2016;12(3):592–6.

    Article  CAS  PubMed  Google Scholar 

  27. Tapper EB, Parikh ND, Sengupta N, Mellinger J, Ratz D, Lok AS, Su GL. A risk score to predict the development of hepatic encephalopathy in a population-based cohort of patients with cirrhosis. Hepatology (Baltimore, MD). 2018;68(4):1498–507.

    Article  CAS  PubMed  Google Scholar 

  28. Labenz C, Toenges G, Huber Y, Nagel M, Marquardt JU, Schattenberg JM, Galle PR, Labenz J, Wörns MA. Development and validation of a prognostic score to predict covert hepatic encephalopathy in patients with cirrhosis. Am J Gastroenterol. 2019;114(5):764–70.

    Article  PubMed  Google Scholar 

  29. de Jongh FE, Janssen HL, de Man RA, Hop WC, Schalm SW, van Blankenstein M. Survival and prognostic indicators in hepatitis B surface antigen-positive cirrhosis of the liver. Gastroenterology. 1992;103(5):1630–5.

    Article  PubMed  Google Scholar 

  30. Magliocchetti N, Torchio P, Corrao G, Aricò S, Favilli S. Prognostic factors for long-term survival in cirrhotic patients after the first episode of liver decompensation. Ital J Gastroenterol Hepatol. 1997;29(1):38–46.

    CAS  PubMed  Google Scholar 

  31. Hung TH, Tseng CW, Tseng KC, Hsieh YH, Tsai CC, Tsai CC. Effect of renal function impairment on the mortality of cirrhotic patients with hepatic encephalopathy: a population-based 3-year follow-up study. Medicine. 2014;93(14):e79.

    Article  PubMed  PubMed Central  Google Scholar 

  32. Fichet J, Mercier E, Genée O, Garot D, Legras A, Dequin PF, Perrotin D. Prognosis and 1-year mortality of intensive care unit patients with severe hepatic encephalopathy. J Crit Care. 2009;24(3):364–70.

    Article  CAS  PubMed  Google Scholar 

  33. Guevara M, Baccaro ME, Ríos J, Martín-Llahí M, Uriz J, Ruiz del Arbol L, Planas R, Monescillo A, Guarner C, Crespo J, et al. Risk factors for hepatic encephalopathy in patients with cirrhosis and refractory ascites: relevance of serum sodium concentration. Liver Int. 2010;30(8):1137–42.

    Article  CAS  PubMed  Google Scholar 

  34. Guevara M, Baccaro ME, Gómez-Ansón B, Frisoni G, Testa C, Torre A, Molinuevo JL, Rami L, Pereira G, Sotil EU, et al. Cerebral magnetic resonance imaging reveals marked abnormalities of brain tissue density in patients with cirrhosis without overt hepatic encephalopathy. J Hepatol. 2011;55(3):564–73.

    Article  PubMed  Google Scholar 

  35. Riggio O, Angeloni S, Salvatori FM, De Santis A, Cerini F, Farcomeni A, Attili AF, Merli M. Incidence, natural history, and risk factors of hepatic encephalopathy after transjugular intrahepatic portosystemic shunt with polytetrafluoroethylene-covered stent grafts. Am J Gastroenterol. 2008;103(11):2738–46.

    Article  PubMed  Google Scholar 

  36. Cui Y, Guan S, Ding J, He Y, Li Q, Wang S, Sun H. Establishment and evaluation of a model for predicting 3-month mortality in Chinese patients with hepatic encephalopathy. Metab Brain Dis. 2019;34(1):213–21.

    Article  PubMed  Google Scholar 

  37. Cordoba J, Ventura-Cots M, Simón-Talero M, Amorós À, Pavesi M, Vilstrup H, Angeli P, Domenicali M, Ginés P, Bernardi M, et al. Characteristics, risk factors, and mortality of cirrhotic patients hospitalized for hepatic encephalopathy with and without acute-on-chronic liver failure (ACLF). J Hepatol. 2014;60(2):275–81.

    Article  PubMed  Google Scholar 

  38. Saffo S, Garcia-Tsao G. Early mechanical ventilation for grade IV hepatic encephalopathy is associated with increased mortality among patients with cirrhosis: an exploratory study. Acute Crit Care. 2022;37:355–62.

    Article  PubMed  PubMed Central  Google Scholar 

  39. Ginès P, Fernández J, Durand F, Saliba F. Management of critically-ill cirrhotic patients. J Hepatol. 2012;56(Suppl 1):S13-24.

    Article  PubMed  Google Scholar 

  40. Pinsky MR. The effects of mechanical ventilation on the cardiovascular system. Crit Care Clin. 1990;6(3):663–78.

    Article  CAS  PubMed  Google Scholar 

  41. Bassi TG, Rohrs EC, Reynolds SC. Systematic review of cognitive impairment and brain insult after mechanical ventilation. Crit Care (London, England). 2021;25(1):99.

    Article  Google Scholar 

  42. Lau T, Ahmad J. Clinical applications of the Model for End-Stage Liver Disease (MELD) in hepatic medicine. Hepat Med. 2013;5:1–10.

    PubMed  PubMed Central  Google Scholar 

  43. Said A, Williams J, Holden J, Remington P, Gangnon R, Musat A, Lucey MR. Model for end stage liver disease score predicts mortality across a broad spectrum of liver disease. J Hepatol. 2004;40(6):897–903.

    Article  PubMed  Google Scholar 

  44. Sarmast N, Ogola GO, Kouznetsova M, Leise MD, Bahirwani R, Maiwall R, Tapper E, Trotter J, Bajaj JS, Thacker LR, et al. Model for end-stage liver disease-lactate and prediction of inpatient mortality in patients with chronic liver disease. Hepatology (Baltimore, MD). 2020;72(5):1747–57.

    Article  PubMed  Google Scholar 

  45. Mahmud N, Asrani SK, Kaplan DE, Ogola GO, Taddei TH, Kamath PS, Serper M. The predictive role of model for end-stage liver disease-lactate and lactate clearance for in-hospital mortality among a national cirrhosis cohort. Liver Transpl. 2021;27(2):177–89.

    Article  PubMed  Google Scholar 

  46. Durand F, Buyse S, Francoz C, Laouénan C, Bruno O, Belghiti J, Moreau R, Vilgrain V, Valla D. Prognostic value of muscle atrophy in cirrhosis using psoas muscle thickness on computed tomography. J Hepatol. 2014;60(6):1151–7.

    Article  PubMed  Google Scholar 

Download references

Acknowledgements

We would like to thank the Massachusetts Institute of Technology and the Beth Israel Deaconess Medical Center for the MIMIC project.

Funding

None.

Author information

Authors and Affiliations

Authors

Contributions

ZZ, and JW conceived and designed this study; ZZ and WH performed the modeling and statistical analysis; all authors contributed to the acquisition, analysis, or interpretation of data; ZZ drafted the article; all authors revised the article for important intellectual content, and LZ obtained funding. The author(s) read and approved the final manuscript.

Corresponding author

Correspondence to Li Zhao.

Ethics declarations

Ethics approval and consent to participate

The authors are accountable for all aspects of the work, ensuring that questions related to the accuracy or integrity of any part of the work are appropriately investigated and resolved. Since this de-identified database is publicly available, the institutional review board approval and need for written informed consent are waived.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no conflicts of interest.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1: Table S1.

Missing number (%) for included variables in the dataset.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhang, Z., Wang, J., Han, W. et al. Using machine learning methods to predict 28-day mortality in patients with hepatic encephalopathy. BMC Gastroenterol 23, 111 (2023). https://doi.org/10.1186/s12876-023-02753-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12876-023-02753-z

Keywords