Published on in Vol 27 (2025)

Preprints (earlier versions) of this paper are available at https://preprints.jmir.org/preprint/71413, first published .
Identification and Validation of an Explainable Prediction Model of Sepsis in Patients With Intracerebral Hemorrhage: Multicenter Retrospective Study

Identification and Validation of an Explainable Prediction Model of Sepsis in Patients With Intracerebral Hemorrhage: Multicenter Retrospective Study

Identification and Validation of an Explainable Prediction Model of Sepsis in Patients With Intracerebral Hemorrhage: Multicenter Retrospective Study

Original Paper

Changde Hospital, Xiangya School of Medicine, Central South University (The First People's Hospital of Changde City), Changde, China

*these authors contributed equally

Corresponding Author:

Jianyi Liu, MM

Changde Hospital, Xiangya School of Medicine

Central South University (The First People's Hospital of Changde City)

818 Renmin Road

Changde, 415000

China

Phone: 86 17873670961

Email: nlbz0908@sina.com


Background: Sepsis is a life-threatening condition frequently observed in patients with intracerebral hemorrhage (ICH) who are critically ill. Early and accurate identification and prediction of sepsis are crucial. Machine learning (ML)–based predictive models exhibit promising sepsis prediction capabilities in emergency settings. However, their application in predicting sepsis among patients with ICH is still limited.

Objective: The aim of the study is to develop an ML-driven risk calculator for early prediction of sepsis in patients with ICH who are critically ill and to clarify feature importance and explain the model using the Shapley Additive Explanations method.

Methods: Patients with ICH admitted to the intensive care unit (ICU) from the Medical Information Mart for Intensive Care IV database between 2008 and 2022 were divided into training and internal test sets. The external test was performed using the eICU Collaborative Research Database, which includes over 200,000 ICU admissions across the United States between 2014 and 2015. Sepsis following ICU admission was identified using Sepsis-3.0 through clinical diagnosis combining elevation of the Sequential Organ Failure Assessment by ≥2 points with suspected infection. The Boruta algorithm was used for feature selection, confirming 29 features. Nine ML algorithms were used to construct the prediction models. Predictive performance was compared using several evaluation metrics, including the area under the receiver operating characteristic curve (AUC). The Shapley Additive Explanations technique was used to interpret the final model, and a web-based risk calculator was constructed for clinical practice.

Results: Overall, 2414 patients with ICH were enrolled from the Medical Information Mart for Intensive Care IV database, with 1689 and 725 patients assigned to the training and internal test sets, respectively. An external test set of 2806 patients with ICH from the eICU database was used. Among the 9 ML models tested, the categorical boosting (CatBoost) model demonstrated the best discriminative ability. After reducing features based on their importance, an explainable final CatBoost model was developed using 8 features. The final model accurately predicted sepsis in internal (AUC=0.812) and external (AUC=0.771) tests.

Conclusions: We constructed a web-based risk calculator with 8 features based on the CatBoost model to assist clinicians in identifying people at high risk for sepsis in patients with ICH who are critically ill.

J Med Internet Res 2025;27:e71413

doi:10.2196/71413

Keywords



Patients with intracerebral hemorrhage (ICH) who are critically ill, namely, those with life-threatening conditions that require intensive medical intervention and continuous monitoring in the intensive care unit (ICU), are highly susceptible to various clinical complications. Posthemorrhagic infection is the most prevalent complication, with an incidence as high as 58% [Ali M, Lyden P, Sacco RL, Shuaib A, Lees KR, VISTA investigators. Natural history of complications after intracerebral haemorrhage. Eur J Neurol. 2009;16(5):624-630. [CrossRef] [Medline]1,Lord AS, Langefeld CD, Sekar P, Moomaw CJ, Badjatia N, Vashkevich A, et al. Infection after intracerebral hemorrhage: risk factors and association with outcomes in the ethnic/racial variations of intracerebral hemorrhage study. Stroke. 2014;45(12):3535-3542. [FREE Full text] [CrossRef] [Medline]2]. Sepsis is a life-threatening condition characterized by acute organ dysfunction caused by a dysregulated host response to infection [Singer M, Deutschman CS, Seymour CW, Shankar-Hari M, Annane D, Bauer M, et al. The third international consensus definitions for sepsis and septic shock (Sepsis-3). JAMA. 2016;315(8):801-810. [FREE Full text] [CrossRef] [Medline]3]. Most patients with ICH who develop infections deteriorate rapidly and progress to sepsis due to systemic metabolic disorders, stress caused by excessive inflammatory factor release, and immunosuppression [Berger B, Gumbinger C, Steiner T, Sykora M. Epidemiologic features, risk factors, and outcome of sepsis in stroke patients treated on a neurologic intensive care unit. J Crit Care. 2014;29(2):241-248. [CrossRef] [Medline]4,Cheng Y, Zan J, Song Y, Yang G, Shang H, Zhao W. Evaluation of intestinal injury, inflammatory response and oxidative stress following intracerebral hemorrhage in mice. Int J Mol Med. 2018;42(4):2120-2128. [CrossRef] [Medline]5]. Consequently, patients with ICH exhibit a higher incidence of sepsis than other ICU populations, with approximately 28% of patients with ICH developing secondary sepsis [Corral L, Javierre CF, Ventura JL, Marcos P, Herrero JI, Mañez R. Impact of non-neurological complications in severe traumatic brain injury outcome. Crit Care. 2012;16(2):R44. [FREE Full text] [CrossRef] [Medline]6]. Moreover, sepsis is associated with significantly worse prognoses, leading to a 2-fold increase in mortality rates during hospitalization (36.7% vs 18.8%) and at 3 months after admission (56.5% vs 28.5%) [Berger B, Gumbinger C, Steiner T, Sykora M. Epidemiologic features, risk factors, and outcome of sepsis in stroke patients treated on a neurologic intensive care unit. J Crit Care. 2014;29(2):241-248. [CrossRef] [Medline]4,Mascia L, Sakr Y, Pasero D, Payen D, Reinhart K, Vincent J, et al. Sepsis Occurrence in Acutely Ill Patients (SOAP) Investigators. Extracranial complications in patients with acute brain injury: a post-hoc analysis of the SOAP study. Intensive Care Med. 2008;34(4):720-727. [CrossRef] [Medline]7]. A prospective cohort study reported that the early detection of sepsis promoted early treatment, reducing in-hospital mortality from sepsis by 23% [Westphal GA, Koenig A, Caldeira Filho M, Feijó J, de Oliveira LT, Nunes F, et al. Reduced mortality after the implementation of a protocol for the early detection of severe sepsis. J Crit Care. 2011;26(1):76-81. [CrossRef] [Medline]8]. Therefore, early and accurate identification of patients at high risk for sepsis is essential for initiating timely therapeutic interventions and improving clinical outcomes.

However, the pathophysiological changes induced by ICH itself present unique challenges for early sepsis recognition [Mascia L, Sakr Y, Pasero D, Payen D, Reinhart K, Vincent J, et al. Sepsis Occurrence in Acutely Ill Patients (SOAP) Investigators. Extracranial complications in patients with acute brain injury: a post-hoc analysis of the SOAP study. Intensive Care Med. 2008;34(4):720-727. [CrossRef] [Medline]7,Lin J, Tan B, Li Y, Feng H, Chen Y. Sepsis-exacerbated brain dysfunction after intracerebral hemorrhage. Front Cell Neurosci. 2021;15:819182. [FREE Full text] [CrossRef] [Medline]9]. First, primary disease manifestations such as impaired consciousness, tachypnea, blood pressure fluctuations, and thermoregulatory abnormalities (fever or hypothermia) substantially overlap with typical sepsis symptoms (high fever, tachycardia, and mental lethargy). Second, stress responses triggered by ICH may cause leukocytosis and abnormal inflammatory markers, such as elevated C-reactive protein and procalcitonin, which closely resemble diagnostic criteria of sepsis (C-reactive protein>50 mg/L and procalcitonin>0.5 µg/L). Additionally, impaired consciousness often hinders accurate symptom reporting. These overlapping features and diagnostic ambiguities render the early identification of sepsis secondary to cerebral hemorrhage a significant clinical challenge.

Artificial intelligence, a branch of computer science, focuses on developing systems capable of cognitive abilities that surpass human capacities in perception, learning, problem-solving, and decision-making [Thwaites D, Moses D, Haworth A, Barton M, Holloway L. Artificial intelligence in medical imaging and radiation oncology: opportunities and challenges. J Med Imaging Radiat Oncol. 2021;65(5):481-485. [CrossRef] [Medline]10]. Machine learning (ML), a subset of artificial intelligence, enables computers to learn from data and improve performance without explicit programming. When provided with sufficient high-quality data, ML algorithms can effectively learn to make predictions or solve complex problems. Consequently, ML-based predictive models using electronic medical records (EMRs) have gained significant clinical attention owing to their potential to enhance diagnostic accuracy, expedite decision-making, and refine prognosis estimation, as demonstrated in various acute conditions such as acute kidney injury [Hu J, Xu J, Li M, Jiang Z, Mao J, Feng L, et al. Identification and validation of an explainable prediction model of acute kidney injury with prognostic implications in critically ill children: a prospective multicenter cohort study. EClinicalMedicine. 2024;68:102409. [FREE Full text] [CrossRef] [Medline]11], atrial fibrillation [Guan C, Gong A, Zhao Y, Yin C, Geng L, Liu L, et al. Interpretable machine learning model for new-onset atrial fibrillation prediction in critically ill patients: a multi-center study. Crit Care. 2024;28(1):349. [FREE Full text] [CrossRef] [Medline]12], and heart failure [Wang K, Tian J, Zheng C, Yang H, Ren J, Liu Y, et al. Interpretable prediction of 3-year all-cause mortality in patients with heart failure caused by coronary heart disease based on machine learning and SHAP. Comput Biol Med. 2021;137:104813. [FREE Full text] [CrossRef] [Medline]13]. Although existing ML models exhibit promising sepsis prediction capabilities in general ICU and emergency settings [Fleuren LM, Klausch TLT, Zwager CL, Schoonmade LJ, Guo T, Roggeveen LF, et al. Machine learning for the prediction of sepsis: a systematic review and meta-analysis of diagnostic test accuracy. Intensive Care Med. 2020;46(3):383-400. [FREE Full text] [CrossRef] [Medline]14], critical gaps remain unaddressed. First, no ML tools have been specifically designed for sepsis detection in ICH populations. Second, most models rely on single-center datasets, which lack external validation [Shashikumar SP, Wardi G, Malhotra A, Nemati S. Artificial intelligence sepsis prediction algorithm learns to say "I don't know". NPJ Digit Med. 2021;4(1):134. [FREE Full text] [CrossRef] [Medline]15], raising concerns about their generalizability across institutions with varying patient demographics, clinical protocols, and data infrastructures. Model performance often deteriorates when applied to external cohorts due to dataset heterogeneity. Critically, despite the demonstrated potential of ML models in sepsis prediction, their inherent complexity, which often renders them “black boxes” [Azodi CB, Tang J, Shiu SH. Opening the black box: interpretable machine learning for geneticists. Trends Genet. 2020;36(6):442-455. [CrossRef] [Medline]16], coupled with the absence of successful real-world clinical integration, continues to hinder their practical adoption.

Thus, to address these limitations, we conducted a multicenter retrospective study using 2 distinct critical care databases: the Medical Information Mart for Intensive Care IV (MIMIC-IV) database for model development and the eICU Collaborative Research Database for external validation. Our objectives were twofold: (1) to develop an ML-driven web-based risk calculator for early prediction of sepsis in patients with ICH who are critically ill and (2) to clarify feature importance and explain the model using the Shapley Additive Explanations (SHAP) method [Ekanayake IU, Meddage DPP, Rathnayake U. A novel approach to explain the black-box nature of machine learning in compressive strength predictions of concrete using Shapley additive explanations (SHAP). Case Stud Constr Mater. 2022;16:e01059. [CrossRef]17], a technique for interpreting ML models and visualizing individual variable predictions. This dual-phase approach aims to bridge the translational gap between computational research and clinical application in neurocritical care.


Ethical Considerations

The MIMIC-IV and eICU databases were deidentified, anonymized, and approved for sharing by the institutional review boards of both Beth Israel Deaconess Medical Center and the Massachusetts Institute of Technology. Data access was granted to an investigator after the completion of a National Institutes of Health course and successful passing of the associated human research participant protection examination. Given that the data are accessible to the public through the MIMIC-IV and eICU database, the need for ethical approval and informed consent was waived. The contributing author, JL, obtained the necessary authorization to access the anonymized dataset (ID: 60367406) and oversaw the meticulous data extraction process.

Data Source

The prediction model was developed by deploying data from patients who were diagnosed with ICH and admitted to the ICU, sourced from the MIMIC-IV (version 3.1). This anonymized and publicly accessible database includes health records of patients admitted to the critical care units at Beth Israel Deaconess Medical Center between 2008 and 2022 [Johnson AEW, Bulgarelli L, Shen L, Gayles A, Shammout A, Horng S, et al. MIMIC-IV, a freely accessible electronic health record dataset. Sci Data. 2023;10(1):1. [FREE Full text] [CrossRef] [Medline]18]. Additionally, external testing was performed using the eICU Collaborative Research Database, a multicenter database that includes deidentified health data from over 200,000 ICU admissions across 208 hospitals in the United States between 2014 and 2015 [Pollard TJ, Johnson AEW, Raffa JD, Celi LA, Mark RG, Badawi O. The eICU Collaborative Research Database, a freely available multi-center database for critical care research. Sci Data. 2018;5:180178. [FREE Full text] [CrossRef] [Medline]19].

Data Collection and Processing

Patients who met the following criteria were included in this study: (1) a diagnosis of ICH based on the ICD-9 (International Classification of Diseases, Ninth Revision) and ICD-10 (International Statistical Classification of Diseases, Tenth Revision; ICD-9: 431 and ICD-10: I610-I619 and I629); (2) age >18 years; (3) ICU admission exceeding 1 day; and (4) for patients with multiple ICU admissions, only the first ICH-related admission was considered. Figure S1 in

Multimedia Appendix 1

Supplementary figures and tables.

DOCX File , 3200 KBMultimedia Appendix 1 outlines the patient screening process.

Data for patients with ICH admitted to the ICU within the first 24 hours were extracted using Structured Query Language from 2 databases. The extracted variables included the following: (1) demographic details such as age, sex, race, and weight; (2) comorbidities, including myocardial infarction, heart failure, diabetes mellitus, hypertension, and malignant neoplasms; (3) laboratory parameters, including mean corpuscular volume, partial thromboplastin time, magnesium, phosphate, international normalized ratio, prothrombin time, red blood cell distribution width, blood urea nitrogen, red blood cells, hemoglobin, hematocrit, white blood cells (WBCs), platelets, creatinine, glucose, anion gap, potassium, sodium, calcium, and chloride; (4) vital signs, including heart rate, respiratory rate, systolic blood pressure, diastolic blood pressure, mean arterial pressure, temperature, and percutaneous arterial oxygen saturation (SpO2); (5) interventions, such as mechanical ventilation (MV) and continuous renal replacement therapy; and (6) clinical severity indices, including the Glasgow Coma Scale (GCS), Sequential Organ Failure Assessment (SOFA), and Simplified Acute Physiology Score II (SAPSII). The average value from the first day was used for variables measured multiple times. To minimize the effect of missing data on model development, variables with >20% missing values were excluded, while those with <20% missing values were imputed using the MICE package in R [van Buuren S, Groothuis-Oudshoorn K. mice: multivariate imputation by chained equations in R. J Stat Softw. 2011;45(3):1-67. [CrossRef]20]. The primary outcome was sepsis that manifested subsequent to ICU admission. Its clinical diagnosis was established in accordance with Sepsis 3.0 criteria [Singer M, Deutschman CS, Seymour CW, Shankar-Hari M, Annane D, Bauer M, et al. The third international consensus definitions for sepsis and septic shock (Sepsis-3). JAMA. 2016;315(8):801-810. [FREE Full text] [CrossRef] [Medline]3], entailing an elevation of the SOFA score by ≥2 points in conjunction with a suspected infection. Suspected infection required temporal alignment between bacterial culture collection and antibiotic administration: (1) microbial sampling (blood or tissue cultures) within 24 hours preceding antibiotic initiation or (2) antibiotic commencement within 72 hours following initial microbial sampling.

Feature Selection

After excluding features with >20% missing values, 41 potential candidate predictors were considered for model development. To optimize performance, reduce dimensionality, and improve interpretability, the Boruta algorithm was used for feature selection. This technique, based on the random forest (RF) algorithm, identifies relevant features by comparing the importance of actual variables (their contribution to the predictive accuracy of the model) with the importance achieved randomly using permuted copies of the attributes. Features identified through this selection process were used for model development and to determine the most important and informative predictors. To address collinearity, which complicates the evaluation of the unique contribution of each feature to the outcome, the collinearity of the identified features was assessed by deploying a pairwise Spearman correlation matrix and applying a threshold of r>0.8 (Figure S2 in

Multimedia Appendix 1

Supplementary figures and tables.

DOCX File , 3200 KBMultimedia Appendix 1).

Model Development and Comparison

Data from the MIMIC-IV database were divided by 70% and 30% for the training and internal tests, respectively, to reduce the risk of overfitting. Data from the eICU database served as the external test set. Nine ML models were used to predict sepsis in patients with ICH who are critically ill: decision tree, logistic regression, extreme gradient boosting, categorical boosting (CatBoost), RF, light gradient boosting machine (LightGBM), support vector machine, k-nearest neighbor, and adaptive boosting. The prediction model was optimized through a combination of grid search, manual fine-tuning, and 10-fold cross-validations in the training set. Model performance was assessed using various metrics such as the area under the receiver operating characteristic curve (AUC), sensitivity, specificity, precision, accuracy, false positive rate, false negative rate, and F1-score. Additional evaluations included decision curve analysis and precision-recall curve analysis.

Model Explanation

To ensure an accurate interpretation of the ML model, the SHAP technique was applied to overcome the “black-box” challenge. The SHAP method provides both global and local explanations for the model. The global explanation provides consistent and accurate attribution values for each feature, highlighting the correlations among input features and sepsis. Conversely, the local explanation illustrates a specific prediction for an individual patient by using their specific data.

Clinical Application

The final model was deployed as a user-friendly web application to enhance clinical applicability. Upon inputting relevant patient data, it instantly calculates the probability of sepsis and generates individualized Shapley force plots for outcome interpretation.

Statistical Analysis

Data analyses were performed using R (version 4.4.1; R Foundation for Statistical Computing) and the DecisionLinnc1.0 (DecisionLinnc Core Team) software. DecisionLinnc1.0 is a versatile platform that integrates various programming language environments, enabling data processing, analysis, and ML through an intuitive visual interface. Continuous variables were expressed as mean (SD) or median (IQR), while categorical variables were presented as counts (n) and percentages (%). For group comparisons, the Mann-Whitney U test or Student t test was used for continuous variables, and the Fisher exact test or the chi-square test for categorical variables. A 2-tailed P value of <.05 was considered significant.


Patient Characteristics

Overall, 2414 patients with ICH were enrolled from the MIMIC-IV database, with 1689 patients designated to the training set and 725 to the internal test set. Based on whether sepsis occurred after ICU admission, patients were classified into sepsis (n=974 patients) and nonsepsis (n=1440 patients) groups. Table 1 illustrates the demographic and clinical characteristics that differed between these 2 groups. Specifically, compared to the nonsepsis group, the sepsis group exhibited higher SOFA and SAPSII scores, along with increased rates of MV and continuous renal replacement therapy. Additionally, the sepsis group exhibited elevated levels of WBC, heart rate, SpO2, blood urea nitrogen, and glucose than the nonsepsis group. Furthermore, an external test set including 2806 patients with ICH from the eICU database was used. Table S1 in

Multimedia Appendix 1

Supplementary figures and tables.

DOCX File , 3200 KBMultimedia Appendix 1 shows a comparison of the demographic and clinical variables across the training, internal test, and external test sets.

Table 1. Comparison of demographic and clinical characteristics between nonsepsis and sepsis.
VariablesOverall (N=2414)Nonsepsis (n=1440)Sepsis (n=974)P value
Demographic

Age (years), median (IQR)70.0 (58.0-81.0)71.0 (59.0-82.0)68.0 (57.0-79.0)<.001

Weight (kg), median (IQR)76.8 (64.3-90.7)76.0 (64.0-90.1)78.0 (65.0-91.7).07

Male, n (%)1299 (53.8)757 (52.6)542 (55.6).14

Race, n (%)<.001


Black216 (8.9)136 (9.4)80 (8.2)


White1388 (57.5)876 (60.8)512 (52.6)


Other810 (33.6)428 (29.7)382 (39.2)
Clinical severity, median (IQR)

SOFAa3.0 (2.0-5.0)2.0 (1.0-4.0)4.0 (2.0-6.0)<.001

SAPSIIb32.0 (25.0-40.0)30.0 (24.0-38.0)35.0 (28.0-44.0)<.001

GCSc14.0 (11.0-15.0)14.0 (12.0-15.0)14.0 (10.0-15.0).02
Vital signs, median (IQR)<.001

HRd (beats per minute)79.7 (70.6-89.1)78.0 (69.2-87.4)82.2 (72.9-91.9)

DBPe (mm Hg)70.2 (62.7-78.6)71.0 (63.5-78.9)68.9 (61.3-77.8)

SBPf (mm Hg)129.6 (119.2-138.8)130.5 (121.3-138.9)127.9 (116.0-138.5)

MAPg (mm Hg)85.5 (77.9-93.1)86.5 (78.9-93.8)83.4 (76.0-92.0)

RRh (breath per minute)18.3 (16.5-20.5)18.0 (16.2-20.0)18.8 (17.0-21.3)

SpO2i (%)97.1 (95.9-98.6)96.8 (95.6-98.1)97.8 (96.2-99.1)

Temperature (°C)36.9 (36.7-37.3)36.9 (36.7-37.1)37.1 (36.8-37.5)
Laboratory parameters, median (IQR)

Hematocrit (%)36.9 (33.0-40.3)37.5 (33.9-40.6)35.9 (31.9-39.8)<.001

Hemoglobin (g/dL)12.3 (10.9-13.5)12.5 (11.2-13.6)11.9 (10.4-13.2)<.001

Platelet (109/L)206.8 (162.0-258.0)211.0 (167.0-258.0)200.8 (152.0-258.0).004

RDWj (%)13.8 (13.1-14.7)13.6 (13.0-14.5)14.0 (13.2-15.0)<.001

RBCk (109/L)4.1 (3.6-4.5)4.1 (3.7-4.5)4.0 (3.5-4.4)<.001

WBCl (109/L)10.5 (8.0-13.3)9.7 (7.7-12.2)11.6 (9.1-14.8)<.001

MCVm (fl)91.0 (87.0-94.5)91.0 (87.5-94.0)91.0 (87.0-95.0).89

Anion gap (mmol/L)14.0 (12.0-16.0)14.0 (12.0-16.0)14.0 (12.3-16.0).10

Calcium (mg/dL)8.8 (8.4-9.1)8.9 (8.5-9.2)8.6 (8.2-9.0)<.001

Chloride (mmol/L)104.0 (101.5-107.0)104.0 (101.0-106.0)105.0 (102.0-108.7)<.001

Glucose (mg/dL)130.0 (109.0-157.0)125.0 (106.0-150.0)136.5 (115.5-167.0)<.001

Potassium (mmol/L)3.9 (3.7-4.2)3.9 (3.7-4.2)3.9 (3.6-4.3).71

Sodium (mmol/L)140.0 (137.5-142.0)139.5 (137.0-142.0)140.0 (137.5-143.0)<.001

Magnesium (mg/dL)2.0 (1.8-2.1)2.0 (1.8-2.1)2.0 (1.8-2.1).93

Phosphate (mg/dL)3.2 (2.7-3.7)3.2 (2.8-3.7)3.2 (2.7-3.8).51

INRPTn1.2 (1.1-1.3)1.1 (1.1-1.2)1.2 (1.1-1.3)<.001

PTo (seconds)12.6 (11.7-13.9)12.4 (11.6-13.7)12.8 (11.9-14.3)<.001

PTTp (seconds)28.1 (25.7-31.2)28.0 (25.8-31.2)28.4 (25.5-31.2).21

Creatinine (mg/dL)0.9 (0.7-1.1)0.9 (0.7-1.1)0.9 (0.7-1.2)<.001

BUNq (mg/dL)16.0 (12.0-22.0)15.5 (12.0-21.0)16.7 (12.3-24.0)<.001
Comorbidities, n (%)

HTNr1513 (62.7)938 (65.1)575 (59).002

Cancer364 (15.1)241 (16.7)123 (12.6).006

Diabetes600 (24.9)351 (24.4)249 (25.6).51

HFs297 (12.3)142 (9.9)155 (15.9)<.001

MIt87 (3.6)27 (1.9)60 (6.2)<.001
Interventions, n (%)<.001

CRRTu2378 (98.5)1440 (100)938 (96.3)

MVv1222 (50.6)804 (55.8)418 (42.9)

aSOFA: Sequential Organ Failure Assessment.

bSAPSII: Simplified Acute Physiology Score II.

cGCS: Glasgow Coma Scale.

dHR: heart rate.

eDBP: diastolic blood pressure.

fSBP: systolic blood pressure.

gMAP: mean arterial pressure.

hRR: respiratory rate.

iSpO2: percutaneous arterial oxygen saturation.

jRDW: red blood cell distribution width.

kRBC: red blood cell.

lWBC: white blood cell.

mMCV: mean corpuscular volume.

nINRPT: international normalized ratio.

oPT: prothrombin time.

pPTT: partial thromboplastin time.

qBUN: blood urea nitrogen.

rHTN: hypertension.

sHF: heart failure.

tMI: myocardial infarction.

uCRRT: continuous renal replacement therapy.

vMV: mechanical ventilation.

Model Development and Performance Comparison

The Boruta algorithm was used to identify relevant features, with their importance displayed in Figure S3 in

Multimedia Appendix 1

Supplementary figures and tables.

DOCX File , 3200 KBMultimedia Appendix 1. Based on the 29 features identified via Boruta, 9 ML models were developed to predict sepsis in patients with ICH following ICU admission. Among these models, the CatBoost model exhibited the best predictive performance for sepsis, followed closely by the LightGBM and RF models. Table S2 in

Multimedia Appendix 1

Supplementary figures and tables.

DOCX File , 3200 KB
Multimedia Appendix 1
shows the performance of the 9 models. Additionally, Figure 1A presents the receiver operating characteristic curves for the top 4 performing models. Figure 1B shows that by reducing features according to their importance ranking, the changes in AUCs for these 4 top models demonstrated that the CatBoost model consistently maintained nearly optimal predictive ability. Therefore, the CatBoost model outperformed the other models in sepsis prediction. Figure 1C and Table S3 in

Multimedia Appendix 1

Supplementary figures and tables.

DOCX File , 3200 KB
Multimedia Appendix 1
show the performance of the CatBoost model with varying numbers of features. Sensitivity, specificity, accuracy, and F1-score are calculated at the optimal cutoff value that maximizes the Youden index.

Figure 1. Performance of ML models predicting sepsis. (A) ROC curves for the top 4 best-performing ML models. (B) AUCs of the top 4 best-performing ML models with varied numbers of features. (C) AUC, sensitivity, specificity, and F1-score for the CatBoost model with varying numbers of features. AUC: area under the receiver operating characteristic curve; CatBoost: categorical boosting; LightGBM: light gradient boosting machine; ML: machine learning; RF: random forest; ROC: receiver operating characteristic; XGBoost: extreme gradient boosting.

Identification of the Final Model

During the feature reduction process for the CatBoost model, the final model was selected. Figure 1 and Table S3 in

Multimedia Appendix 1

Supplementary figures and tables.

DOCX File , 3200 KBMultimedia Appendix 1 illustrate the top 8 features—SOFA, SAPSII, calcium, chloride, WBC, SpO2, temperature, and MV—provided optimal results with minimal features necessary for predicting sepsis in ICU-admitted patients with ICH. Therefore, the 8-feature CatBoost model was selected as the final model for further analysis. The finalization of the hyperparameters for the CatBoost model as learning_rate=0.1, depth=10, and iterations=100; LightGBM as learning_rate=0.1; and RF as mtry=100 and depth=3. This final model achieved an AUC of 0.812 (95% CI 0.780-0.844), with a sensitivity, specificity, accuracy, and F1-score of 0.653, 0.820, 0.754, and 0.676, respectively, for sepsis prediction in patients with ICH who are critically ill. Figure 2 shows the receiver operating characteristic, decision curve analysis, and precision-recall curves of the final model. These results further validate the reliability and accuracy of the final CatBoost model in predicting sepsis.

The predictive values of SOFA and SAPSII, which all reflect the severity of the condition of the patients, were further examined before being compared with that of the 8-feature final model. Figure S4A in

Multimedia Appendix 1

Supplementary figures and tables.

DOCX File , 3200 KBMultimedia Appendix 1 illustrates that SOFA and SAPSII performed worse in the internal test than that in the final model, respectively. Figure S4B in

Multimedia Appendix 1

Supplementary figures and tables.

DOCX File , 3200 KB
Multimedia Appendix 1
also indicates that the final model offered enhanced clinical utility compared to that of the SOFA and SAPSII scores, respectively.

Figure 2. Predictive performance of the top 4 best-performing machine learning models with 8 features. (A) Receiver operating characteristic, (B) decision curve analysis, and (C) precision-recall curves. AUC: area under the receiver operating characteristic curve; CatBoost: categorical boosting; LightGBM: light gradient boosting machine; RF: random forest; XGBoost: extreme gradient boosting.

External Test of the Final Model

For the external test, the final model achieved an AUC of 0.771 (95% CI 0.752-0.790), comparable to that observed during the internal test, indicating that the final model consistently maintained high predictive performance across both test datasets. Additionally, we performed additional validation of the final model specifically in the subgroup of patients with a GCS score of ≤8. The results demonstrated robust predictive performance, with AUCs of 0.808 (95% CI 0.726-0.890) in the internal test set and 0.764 (95% CI 0.718-0.809) in the external test set. These findings indicate that our model maintains stable predictive accuracy even in patients with severe ICH, and it addresses the clinical need for sepsis prediction in heterogeneous ICH populations.

Model Explanation

Figure 3A illustrates a detailed swarm plot displaying the variables used in the CatBoost model. The horizontal axis represents SHAP values, whereas the vertical axis ranks features based on their cumulative effect on the SHAP value. Each data point represents a specific instance, with its position on the x-axis reflecting the SHAP value for that particular instance and feature. Figure 3B highlights a comprehensive case study illustrating the prediction process of the model for a specific patient. In this visualization, red markers indicate positive contributions to the prediction, whereas blue markers represent negative influences. The f(x) value corresponds to the SHAP value of each factor. For this patient, the CatBoost model predicted a lower risk of sepsis compared with that of the baseline.

Figure 3. Model explanation using the SHAP method. (A) SHAP summary dot plot and (B) waterfall plot. MV: mechanical ventilation; SAPSII: Simplified Acute Physiology Score II; SHAP: Shapley Additive Explanations; SOFA: Sequential Organ Failure Assessment; SpO2: percutaneous arterial oxygen saturation; WBC: white blood cell.

Convenient Application for Clinical Utility

The final prediction model was incorporated into the web application to improve its applicability in clinical settings [Liu X, Huang Z, Guo Y, Li Y, Zhu J, Wen J, et al. Prediction of sepsis probability of ICH based on CatBoost model. 2025. URL: https://fast.statsape.com/tool/detail?id=10 [accessed 2025-04-21] 21]. By inputting the actual values of the 8 required features, the application generates an automated prediction of sepsis risk for individual patients with ICH. Furthermore, a force plot is presented for each patient, visually demonstrating the features that influence the sepsis prediction. Specifically, blue features on the right indicate those pushing the prediction toward “nonsepsis,” whereas red features on the left indicate those pushing it toward “sepsis.”


Principal Findings

The aims of this study were to assess the risk of sepsis developing in patients with ICH and to use ML methods to provide an in-depth explanation of the model’s decision-making and its impact on features. This multicenter, retrospective analysis, to our knowledge, represents the first study to investigate and compare 9 ML models for predicting sepsis among patients with ICH who are critically ill. By integrating ML algorithms alongside clinical and laboratory data obtained from EMR, we identified key predictive risk factors and developed a targeted sepsis prediction model specifically for patients with ICH admitted to the ICU. Finally, we translated the best models into a web-based risk calculator to help clinicians identify patients at high risk.

Comparison to Prior Work

Accurately identifying sepsis and predicting patients at risk of developing it are clinically crucial for improving treatment outcomes [Horng S, Sontag DA, Halpern Y, Jernite Y, Shapiro NI, Nathanson LA. Creating an automated trigger for sepsis clinical decision support at emergency department triage using machine learning. PLoS One. 2017;12(4):e0174708. [FREE Full text] [CrossRef] [Medline]22-Møller MH, Alhazzani W, Shankar-Hari M. Focus on sepsis. Intensive Care Med. 2019;45(10):1459-1461. [CrossRef] [Medline]24]. Current approaches to identifying patients with sepsis have focused on biomarkers and automated clinical decision rules, including the SOFA criteria [Makam AN, Nguyen OK, Auerbach AD. Diagnostic accuracy and effectiveness of automated electronic sepsis alert systems: a systematic review. J Hosp Med. 2015;10(6):396-402. [FREE Full text] [CrossRef] [Medline]25,Alsolamy S, Al Salamah M, Al Thagafi M, Al-Dorzi HM, Marini AM, Aljerian N, et al. Diagnostic accuracy of a screening electronic alert tool for severe sepsis and septic shock in the emergency department. BMC Med Inform Decis Mak. 2014;14:105. [FREE Full text] [CrossRef] [Medline]26]. However, implementing a single analyte in clinical practice remains challenging owing to the heterogeneity underlying the pathophysiology of sepsis [Singer M, Deutschman CS, Seymour CW, Shankar-Hari M, Annane D, Bauer M, et al. The third international consensus definitions for sepsis and septic shock (Sepsis-3). JAMA. 2016;315(8):801-810. [FREE Full text] [CrossRef] [Medline]3,Berger B, Gumbinger C, Steiner T, Sykora M. Epidemiologic features, risk factors, and outcome of sepsis in stroke patients treated on a neurologic intensive care unit. J Crit Care. 2014;29(2):241-248. [CrossRef] [Medline]4,Bhavani SV, Carey KA, Gilbert ER, Afshar M, Verhoef PA, Churpek MM. Identifying novel sepsis subphenotypes using temperature trajectories. Am J Respir Crit Care Med. 2019;200(3):327-335. [FREE Full text] [CrossRef] [Medline]27]. Additionally, concerns have emerged about the poor sensitivity of the SOFA score, which may result in delays in sepsis detection [Serafim R, Gomes JA, Salluh J, Póvoa P. A comparison of the quick-SOFA and systemic inflammatory response syndrome criteria for the diagnosis of sepsis and prediction of mortality: a systematic review and meta-analysis. Chest. Mar 2018;153(3):646-655. [CrossRef] [Medline]28]. Furthermore, most of the biomarkers examined lacked discriminative power or clinical relevance [Parlato M, Philippart F, Rouquette A, Moucadel V, Puchois V, Blein S, et al. Circulating biomarkers may be unable to detect infection at the early phase of sepsis in ICU patients: the CAPTAIN prospective multicenter cohort study. Intensive Care Med. 2018;44(7):1061-1070. [FREE Full text] [CrossRef] [Medline]29,Shankar-Hari M, Datta D, Wilson J, Assi V, Stephen J, Weir CJ, et al. Early PREdiction of sepsis using leukocyte surface biomarkers: the ExPRES-sepsis cohort study. Intensive Care Med. 2018;44(11):1836-1848. [CrossRef] [Medline]30]. The ML technique, a robust computational tool capable of managing complex and large datasets, offers a novel approach to early sepsis identification, demonstrating excellent individual performance. It can manage highly variable datasets and understand the intricate correlation among variables in a flexible and adaptable manner. By integrating easily accessible EMR data, which enhances accuracy for clinicians and researchers, with sophisticated ML algorithms, the development of clinical prediction models can be improved [Goecks J, Jalili V, Heiser LM, Gray JW. How machine learning will transform biomedicine. Cell. 2020;181(1):92-101. [FREE Full text] [CrossRef] [Medline]31]. Among the 9 ML models evaluated in this study, the CatBoost model achieved the highest AUC value, demonstrating strong net benefit and optimal threshold probability during feature reduction. As a decision tree–based algorithm, CatBoost is well-suited for ML tasks involving categorical and heterogeneous data [Hancock JT, Khoshgoftaar TM. CatBoost for big data: an interdisciplinary review. J Big Data. 2020;7(1):94. [FREE Full text] [CrossRef] [Medline]32]. Numerous studies have confirmed the strong predictive value of the CatBoost in the medical field [Zheng Y, Guo X, Yang Y, Wang H, Liao K, Qin J. Phonocardiogram transfer learning-based CatBoost model for diastolic dysfunction identification using multiple domain-specific deep feature fusion. Comput Biol Med. 2023;156:106707. [FREE Full text] [CrossRef] [Medline]33-Hu M, Peng H, Zhang X, Wang L, Ren J. Building gender-specific sexually transmitted infection risk prediction models using CatBoost algorithm and NHANES data. BMC Med Inform Decis Mak. 2024;24(1):24. [FREE Full text] [CrossRef] [Medline]35]. In this study, the CatBoost algorithm was used to develop a final model incorporating 8 features. These features, which can be easily obtained or assessed within the first 24 hours of ICU admission, make the model a promising tool for early sepsis detection in patients with ICH during their ICU stay, even for those who have not yet met the criteria for sepsis at the time of data collection. In clinical practice, sepsis poses a particularly significant threat to patients with severe ICH, exacerbating therapeutic challenges—especially in those presenting with a GCS score ≤8 and requiring endotracheal intubation. Consequently, early identification of individuals at risk of sepsis within this population with critical illness holds substantial clinical importance. In this study, we conducted subgroup analyses focusing on patients with ICH with a GCS score ≤8 and observed that the final predictive model retained consistent accuracy in predicting sepsis risk among severe ICH cases. These findings demonstrate that our model effectively addresses the clinical need for sepsis prediction in heterogeneous ICH populations, underscoring its robust applicability in clinical settings.

Given the lack of established guidelines or consensus on feature selection for prediction models, the optimal number of features to include remains unclear. While incorporating more features may offer additional information to the model, excessive inclusion can hinder its clinical applicability, and noncausal features may reduce prediction accuracy [Li Y, Sperrin M, Ashcroft DM, van Staa TP. Consistency of variety of machine learning and statistical models in predicting clinical risks of individual patients: longitudinal cohort study using cardiovascular disease as exemplar. BMJ. 2020;371:m3919. [FREE Full text] [CrossRef] [Medline]36]. To address this challenge, the Boruta method was used for feature selection. Our final model, designed to be a simple and convenient ML prediction tool, could easily be used to facilitate clinical decision-making in patients with ICH who are critically ill. Compared with traditional single markers, the final model identified in this study demonstrates superior predictive ability for sepsis. Given the crucial role of SOFA and SAPSII in diagnosing sepsis, both are objective clinical criteria used to assess the severity of the condition of the patient. Including these 2 features is beneficial for enhancing the predictive ability of the final model [Vincent JL, Moreno R, Takala J, Willatts S, De Mendonça A, Bruining H, et al. The SOFA (Sepsis-Related Organ Failure Assessment) score to describe organ dysfunction/failure. On behalf of the working group on sepsis-related problems of the European Society of Intensive Care Medicine. Intensive Care Med. 1996;22(7):707-710. [CrossRef] [Medline]37,Hou N, Li M, He L, Xie B, Wang L, Zhang R, et al. Predicting 30-days mortality for MIMIC-III patients with sepsis-3: a machine learning approach using XGboost. J Transl Med. 2020;18(1):462. [FREE Full text] [CrossRef] [Medline]38]. When comparing the predictive power of the final model to that of the SOFA and SAPSII, we observed that the final model outperformed each traditional marker. Several predictive covariates in the final model, including temperature, are clinically recognized for their relevance in sepsis detection. As expected, SOFA correlated with model performance, owing to its frequent inclusion in sepsis definitions. However, other factors, such as calcium, which are not typically part of these criteria, also show strong univariate predictors and are included in various ML models for sepsis prediction [Fleuren LM, Klausch TLT, Zwager CL, Schoonmade LJ, Guo T, Roggeveen LF, et al. Machine learning for the prediction of sepsis: a systematic review and meta-analysis of diagnostic test accuracy. Intensive Care Med. 2020;46(3):383-400. [FREE Full text] [CrossRef] [Medline]14]. Disease severity is correlated with decreased serum total and ionic calcium levels, with hypocalcemia worsening as infection severity increases [Müller B, Becker KL, Kränzlin M, Schächinger H, Huber PR, Nylèn ES, et al. Disordered calcium homeostasis of sepsis: association with calcitonin precursors. Eur J Clin Invest. 2000;30(9):823-831. [CrossRef] [Medline]39]. This highlights the importance of blood calcium levels in predicting sepsis risk among patients with critical illness. Laboratory values are often overlooked in early warning scores [Singer M, Deutschman CS, Seymour CW, Shankar-Hari M, Annane D, Bauer M, et al. The third international consensus definitions for sepsis and septic shock (Sepsis-3). JAMA. 2016;315(8):801-810. [FREE Full text] [CrossRef] [Medline]3], but our findings suggest that these scores may miss crucial predictive information. Although the mechanism connecting chloride to sepsis remains unclear, previous studies report a correlation between chloride and sepsis [Stenson EK, Cvijanovich NZ, Anas N, Allen GL, Thomas NJ, Bigham MT, et al. Hyperchloremia is associated with complicated course and mortality in pediatric patients with septic shock. Pediatr Crit Care Med. 2018;19(2):155-160. [CrossRef] [Medline]40]. Additionally, MV increases the risk of sepsis [Zilberberg MD, Nathanson BH, Ways J, Shorr AF. Characteristics, hospital course, and outcomes of patients requiring prolonged acute versus short-term mechanical ventilation in the United States, 2014-2018. Crit Care Med. 2020;48(11):1587-1594. [CrossRef] [Medline]41]. Therefore, these clinical variables could enhance the final model, and their combined application may offer superior sepsis prediction compared to that of a single marker.

Our final model demonstrated robust performance in internal and external tests, achieving AUCs of 0.812 and 0.771, respectively. Previous studies have explored ML models for sepsis prediction. The Epic Sepsis Model, a widely used early warning system in the United States [Wong A, Cao J, Lyons PG, Dutta S, Major VJ, Ötles E, et al. Quantification of sepsis model alerts in 24 US hospitals before and during the COVID-19 pandemic. JAMA Netw Open. 2021;4(11):e2135286. [FREE Full text] [CrossRef] [Medline]42], achieved an AUC of 0.63 in an external test with a cohort of 27,697 individuals, indicating poor discrimination and calibration [Wong A, Otles E, Donnelly JP, Krumm A, McCullough J, DeTroyer-Cooley O, et al. External validation of a widely implemented proprietary sepsis prediction model in hospitalized patients. JAMA Intern Med. 2021;181(8):1065-1070. [FREE Full text] [CrossRef] [Medline]43]. In contrast, Wang et al [Wang D, Li J, Sun Y, Ding X, Zhang X, Liu S, et al. A machine learning model for accurate prediction of sepsis in ICU patients. Front Public Health. 2021;9:754348. [CrossRef] [Medline]44] developed a prediction model using supervised learning on 4449 ICU patients with infections, achieving an AUC of 0.91 for sepsis prediction. Rafiei et al [Rafiei A, Rezaee A, Hajati F, Gheisari S, Golzan M. SSP: early prediction of sepsis using fully connected LSTM-CNN model. Comput Biol Med. 2021;128:104110. [CrossRef] [Medline]45] also used a convolutional neural network to predict sepsis, incorporating onset time and achieving an AUC >0.8. However, existing studies primarily focused on sepsis in the general population. Due to the significant variability in the causes and progression of sepsis, along with the heightened risk of sepsis in patients with ICH, establishing prediction models specifically for ICU patients with ICH is crucial. Our final model, obtained through a comparison of 9 ML models and feature reduction, accurately predicted sepsis in patients with ICH who are critically ill throughout their ICU stay. The ML technique is often considered a “black box” owing to the lack of transparency in the prediction process. This opacity may cause clinicians to hesitate in relying on ML-based medical decisions. To enhance understanding and clinical applicability, the SHAP method was used to clarify the predictions of the model. The SHAP technique offers a global explanation of the overall functionality of the model and a local explanation that reveals how individual predictions are made on the basis of specific patient data. Furthermore, we provided a web-based risk calculator to help clinicians identify patients with high risk for sepsis, further underscoring its potential for clinical applicability and its benefits.

Strengths and Limitations

We acknowledge some limitations in this study. First, our sepsis prediction model was developed in an ICU setting without considering the diverse etiologies of sepsis. Due to the complexity of sepsis pathophysiological mechanisms, whether the model can reliably predict various sepsis types remains unclear. Second, the model was constructed using data from American populations, leaving its generalizability to global populations uncertain. However, with the use of a multicenter eICU database for external test, our findings may suggest potential generalizability, though further assessment is needed to confirm this. Third, our final model only predicts sepsis occurrence, not its timing. Therefore, further research is needed to investigate the prediction of sepsis timing, particularly within a 24- or 48-hour window before its occurrence. Fourth, the absence of pathogen culture results introduces uncertainty in identifying the source of infection and the specific pathogens involved. This limitation could potentially compromise the precise determination of sepsis etiology and introduce biases in the practical application of predictive models. Despite these limitations, our study lays a methodological foundation for future sepsis prediction models after ICH using EMR. To further enhance predictive performance, subsequent studies should integrate static baseline parameters and dynamic physiological trajectories extracted from EMR systems. Embedding a risk calculator within ICU interfaces may be useful for facilitating real-time patient stratification, enabling timely interventions to improve clinical outcomes. Additionally, further randomized controlled trials are warranted to assess whether timely, personalized therapeutic interventions guided by the prediction model can enhance patient outcomes.

Conclusions

We constructed a web-based risk calculator with 8 features based on the CatBoost model to assist clinicians in identifying people at high risk for sepsis in patients with ICH who are critically ill.

Acknowledgments

The authors kindly appreciate Jun Yang for his valuable help. This work was funded and supported by the Hunan Provincial Natural Science Foundation of China (grant 2024JJ7021), Spreading Wings Scientific Research Foundation of The First People’s Hospital of Changde City (grant 2024ZC04), and Science and Technology Bureau of Changde City (grant 2024ZD268).

Data Availability

The data analyzed and the codes used during this study are available from the corresponding author on reasonable request.

Authors' Contributions

JL performed the data analyses, established the machine learning models, and drafted the manuscript. Yunchun G, YG, and JZ participated in the data collection. JW, ZH, and XL participated in the design of the study and coordination. JL had primary responsibility for study design, data analyses, data interpretation, and writing the manuscript. JW and ZH have accessed and verified the data. All authors read and approved the final manuscript.

Conflicts of Interest

None declared.

Multimedia Appendix 1

Supplementary figures and tables.

DOCX File , 3200 KB

  1. Ali M, Lyden P, Sacco RL, Shuaib A, Lees KR, VISTA investigators. Natural history of complications after intracerebral haemorrhage. Eur J Neurol. 2009;16(5):624-630. [CrossRef] [Medline]
  2. Lord AS, Langefeld CD, Sekar P, Moomaw CJ, Badjatia N, Vashkevich A, et al. Infection after intracerebral hemorrhage: risk factors and association with outcomes in the ethnic/racial variations of intracerebral hemorrhage study. Stroke. 2014;45(12):3535-3542. [FREE Full text] [CrossRef] [Medline]
  3. Singer M, Deutschman CS, Seymour CW, Shankar-Hari M, Annane D, Bauer M, et al. The third international consensus definitions for sepsis and septic shock (Sepsis-3). JAMA. 2016;315(8):801-810. [FREE Full text] [CrossRef] [Medline]
  4. Berger B, Gumbinger C, Steiner T, Sykora M. Epidemiologic features, risk factors, and outcome of sepsis in stroke patients treated on a neurologic intensive care unit. J Crit Care. 2014;29(2):241-248. [CrossRef] [Medline]
  5. Cheng Y, Zan J, Song Y, Yang G, Shang H, Zhao W. Evaluation of intestinal injury, inflammatory response and oxidative stress following intracerebral hemorrhage in mice. Int J Mol Med. 2018;42(4):2120-2128. [CrossRef] [Medline]
  6. Corral L, Javierre CF, Ventura JL, Marcos P, Herrero JI, Mañez R. Impact of non-neurological complications in severe traumatic brain injury outcome. Crit Care. 2012;16(2):R44. [FREE Full text] [CrossRef] [Medline]
  7. Mascia L, Sakr Y, Pasero D, Payen D, Reinhart K, Vincent J, et al. Sepsis Occurrence in Acutely Ill Patients (SOAP) Investigators. Extracranial complications in patients with acute brain injury: a post-hoc analysis of the SOAP study. Intensive Care Med. 2008;34(4):720-727. [CrossRef] [Medline]
  8. Westphal GA, Koenig A, Caldeira Filho M, Feijó J, de Oliveira LT, Nunes F, et al. Reduced mortality after the implementation of a protocol for the early detection of severe sepsis. J Crit Care. 2011;26(1):76-81. [CrossRef] [Medline]
  9. Lin J, Tan B, Li Y, Feng H, Chen Y. Sepsis-exacerbated brain dysfunction after intracerebral hemorrhage. Front Cell Neurosci. 2021;15:819182. [FREE Full text] [CrossRef] [Medline]
  10. Thwaites D, Moses D, Haworth A, Barton M, Holloway L. Artificial intelligence in medical imaging and radiation oncology: opportunities and challenges. J Med Imaging Radiat Oncol. 2021;65(5):481-485. [CrossRef] [Medline]
  11. Hu J, Xu J, Li M, Jiang Z, Mao J, Feng L, et al. Identification and validation of an explainable prediction model of acute kidney injury with prognostic implications in critically ill children: a prospective multicenter cohort study. EClinicalMedicine. 2024;68:102409. [FREE Full text] [CrossRef] [Medline]
  12. Guan C, Gong A, Zhao Y, Yin C, Geng L, Liu L, et al. Interpretable machine learning model for new-onset atrial fibrillation prediction in critically ill patients: a multi-center study. Crit Care. 2024;28(1):349. [FREE Full text] [CrossRef] [Medline]
  13. Wang K, Tian J, Zheng C, Yang H, Ren J, Liu Y, et al. Interpretable prediction of 3-year all-cause mortality in patients with heart failure caused by coronary heart disease based on machine learning and SHAP. Comput Biol Med. 2021;137:104813. [FREE Full text] [CrossRef] [Medline]
  14. Fleuren LM, Klausch TLT, Zwager CL, Schoonmade LJ, Guo T, Roggeveen LF, et al. Machine learning for the prediction of sepsis: a systematic review and meta-analysis of diagnostic test accuracy. Intensive Care Med. 2020;46(3):383-400. [FREE Full text] [CrossRef] [Medline]
  15. Shashikumar SP, Wardi G, Malhotra A, Nemati S. Artificial intelligence sepsis prediction algorithm learns to say "I don't know". NPJ Digit Med. 2021;4(1):134. [FREE Full text] [CrossRef] [Medline]
  16. Azodi CB, Tang J, Shiu SH. Opening the black box: interpretable machine learning for geneticists. Trends Genet. 2020;36(6):442-455. [CrossRef] [Medline]
  17. Ekanayake IU, Meddage DPP, Rathnayake U. A novel approach to explain the black-box nature of machine learning in compressive strength predictions of concrete using Shapley additive explanations (SHAP). Case Stud Constr Mater. 2022;16:e01059. [CrossRef]
  18. Johnson AEW, Bulgarelli L, Shen L, Gayles A, Shammout A, Horng S, et al. MIMIC-IV, a freely accessible electronic health record dataset. Sci Data. 2023;10(1):1. [FREE Full text] [CrossRef] [Medline]
  19. Pollard TJ, Johnson AEW, Raffa JD, Celi LA, Mark RG, Badawi O. The eICU Collaborative Research Database, a freely available multi-center database for critical care research. Sci Data. 2018;5:180178. [FREE Full text] [CrossRef] [Medline]
  20. van Buuren S, Groothuis-Oudshoorn K. mice: multivariate imputation by chained equations in R. J Stat Softw. 2011;45(3):1-67. [CrossRef]
  21. Liu X, Huang Z, Guo Y, Li Y, Zhu J, Wen J, et al. Prediction of sepsis probability of ICH based on CatBoost model. 2025. URL: https://fast.statsape.com/tool/detail?id=10 [accessed 2025-04-21]
  22. Horng S, Sontag DA, Halpern Y, Jernite Y, Shapiro NI, Nathanson LA. Creating an automated trigger for sepsis clinical decision support at emergency department triage using machine learning. PLoS One. 2017;12(4):e0174708. [FREE Full text] [CrossRef] [Medline]
  23. Liu F, Yao J, Liu C, Shou S. Construction and validation of machine learning models for sepsis prediction in patients with acute pancreatitis. BMC Surg. 2023;23(1):267. [FREE Full text] [CrossRef] [Medline]
  24. Møller MH, Alhazzani W, Shankar-Hari M. Focus on sepsis. Intensive Care Med. 2019;45(10):1459-1461. [CrossRef] [Medline]
  25. Makam AN, Nguyen OK, Auerbach AD. Diagnostic accuracy and effectiveness of automated electronic sepsis alert systems: a systematic review. J Hosp Med. 2015;10(6):396-402. [FREE Full text] [CrossRef] [Medline]
  26. Alsolamy S, Al Salamah M, Al Thagafi M, Al-Dorzi HM, Marini AM, Aljerian N, et al. Diagnostic accuracy of a screening electronic alert tool for severe sepsis and septic shock in the emergency department. BMC Med Inform Decis Mak. 2014;14:105. [FREE Full text] [CrossRef] [Medline]
  27. Bhavani SV, Carey KA, Gilbert ER, Afshar M, Verhoef PA, Churpek MM. Identifying novel sepsis subphenotypes using temperature trajectories. Am J Respir Crit Care Med. 2019;200(3):327-335. [FREE Full text] [CrossRef] [Medline]
  28. Serafim R, Gomes JA, Salluh J, Póvoa P. A comparison of the quick-SOFA and systemic inflammatory response syndrome criteria for the diagnosis of sepsis and prediction of mortality: a systematic review and meta-analysis. Chest. Mar 2018;153(3):646-655. [CrossRef] [Medline]
  29. Parlato M, Philippart F, Rouquette A, Moucadel V, Puchois V, Blein S, et al. Circulating biomarkers may be unable to detect infection at the early phase of sepsis in ICU patients: the CAPTAIN prospective multicenter cohort study. Intensive Care Med. 2018;44(7):1061-1070. [FREE Full text] [CrossRef] [Medline]
  30. Shankar-Hari M, Datta D, Wilson J, Assi V, Stephen J, Weir CJ, et al. Early PREdiction of sepsis using leukocyte surface biomarkers: the ExPRES-sepsis cohort study. Intensive Care Med. 2018;44(11):1836-1848. [CrossRef] [Medline]
  31. Goecks J, Jalili V, Heiser LM, Gray JW. How machine learning will transform biomedicine. Cell. 2020;181(1):92-101. [FREE Full text] [CrossRef] [Medline]
  32. Hancock JT, Khoshgoftaar TM. CatBoost for big data: an interdisciplinary review. J Big Data. 2020;7(1):94. [FREE Full text] [CrossRef] [Medline]
  33. Zheng Y, Guo X, Yang Y, Wang H, Liao K, Qin J. Phonocardiogram transfer learning-based CatBoost model for diastolic dysfunction identification using multiple domain-specific deep feature fusion. Comput Biol Med. 2023;156:106707. [FREE Full text] [CrossRef] [Medline]
  34. Zhang C, Chen X, Wang S, Hu J, Wang C, Liu X. Using CatBoost algorithm to identify middle-aged and elderly depression, national health and nutrition examination survey 2011-2018. Psychiatry Res. 2021;306:114261. [CrossRef] [Medline]
  35. Hu M, Peng H, Zhang X, Wang L, Ren J. Building gender-specific sexually transmitted infection risk prediction models using CatBoost algorithm and NHANES data. BMC Med Inform Decis Mak. 2024;24(1):24. [FREE Full text] [CrossRef] [Medline]
  36. Li Y, Sperrin M, Ashcroft DM, van Staa TP. Consistency of variety of machine learning and statistical models in predicting clinical risks of individual patients: longitudinal cohort study using cardiovascular disease as exemplar. BMJ. 2020;371:m3919. [FREE Full text] [CrossRef] [Medline]
  37. Vincent JL, Moreno R, Takala J, Willatts S, De Mendonça A, Bruining H, et al. The SOFA (Sepsis-Related Organ Failure Assessment) score to describe organ dysfunction/failure. On behalf of the working group on sepsis-related problems of the European Society of Intensive Care Medicine. Intensive Care Med. 1996;22(7):707-710. [CrossRef] [Medline]
  38. Hou N, Li M, He L, Xie B, Wang L, Zhang R, et al. Predicting 30-days mortality for MIMIC-III patients with sepsis-3: a machine learning approach using XGboost. J Transl Med. 2020;18(1):462. [FREE Full text] [CrossRef] [Medline]
  39. Müller B, Becker KL, Kränzlin M, Schächinger H, Huber PR, Nylèn ES, et al. Disordered calcium homeostasis of sepsis: association with calcitonin precursors. Eur J Clin Invest. 2000;30(9):823-831. [CrossRef] [Medline]
  40. Stenson EK, Cvijanovich NZ, Anas N, Allen GL, Thomas NJ, Bigham MT, et al. Hyperchloremia is associated with complicated course and mortality in pediatric patients with septic shock. Pediatr Crit Care Med. 2018;19(2):155-160. [CrossRef] [Medline]
  41. Zilberberg MD, Nathanson BH, Ways J, Shorr AF. Characteristics, hospital course, and outcomes of patients requiring prolonged acute versus short-term mechanical ventilation in the United States, 2014-2018. Crit Care Med. 2020;48(11):1587-1594. [CrossRef] [Medline]
  42. Wong A, Cao J, Lyons PG, Dutta S, Major VJ, Ötles E, et al. Quantification of sepsis model alerts in 24 US hospitals before and during the COVID-19 pandemic. JAMA Netw Open. 2021;4(11):e2135286. [FREE Full text] [CrossRef] [Medline]
  43. Wong A, Otles E, Donnelly JP, Krumm A, McCullough J, DeTroyer-Cooley O, et al. External validation of a widely implemented proprietary sepsis prediction model in hospitalized patients. JAMA Intern Med. 2021;181(8):1065-1070. [FREE Full text] [CrossRef] [Medline]
  44. Wang D, Li J, Sun Y, Ding X, Zhang X, Liu S, et al. A machine learning model for accurate prediction of sepsis in ICU patients. Front Public Health. 2021;9:754348. [CrossRef] [Medline]
  45. Rafiei A, Rezaee A, Hajati F, Gheisari S, Golzan M. SSP: early prediction of sepsis using fully connected LSTM-CNN model. Comput Biol Med. 2021;128:104110. [CrossRef] [Medline]


AUC: area under the receiver operating characteristic curve
CatBoost: categorical boosting
EMR: electronic medical record
GCS: Glasgow Coma Scale
ICD-9: International Classification of Diseases, Ninth Revision
ICD-10: International Statistical Classification of Diseases, Tenth Revision
ICH: intracerebral hemorrhage
ICU: intensive care unit
LightGBM: light gradient boosting machine
MIMIC-IV: Medical Information Mart for Intensive Care IV
ML: machine learning
MV: mechanical ventilation
RF: random forest
SAPSII: Simplified Acute Physiology Score II
SHAP: Shapley Additive Explanations
SOFA: Sequential Organ Failure Assessment
SpO2: percutaneous arterial oxygen saturation
WBC: white blood cell


Edited by Z Su; submitted 17.01.25; peer-reviewed by E Kawamoto, K Wang; comments to author 15.03.25; revised version received 28.03.25; accepted 31.03.25; published 28.04.25.

Copyright

©Xianglin Liu, Zhihua Huang, Yizhi Guo, Yandeng Li, Jianming Zhu, Jun Wen, Yunchun Gao, Jianyi Liu. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 28.04.2025.

This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research (ISSN 1438-8871), is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.