Literature DB >> 35656984

Machine Learning-Based Risk Model for Predicting Early Mortality After Surgery for Infective Endocarditis.

Li Luo1, Sui-Qing Huang1, Chuang Liu2, Quan Liu1, Shuohui Dong3, Yuan Yue1, Kai-Zheng Liu1, Lin Huang1, Shun-Jun Wang1, Hua-Yang Li1, Shaoyi Zheng4, Zhong-Kai Wu1.   

Abstract

Background The early mortality after surgery for infective endocarditis is high. Although risk models help identify patients at high risk, most current scoring systems are inaccurate or inconvenient. The objective of this study was to construct an accurate and easy-to-use prediction model to identify patients at high risk of early mortality after surgery for infective endocarditis. Methods and Results A total of 476 consecutive patients with infective endocarditis who underwent surgery at 2 centers were included. The development cohort consisted of 276 patients. Eight variables were selected from 89 potential predictors as input of the XGBoost model to train the prediction model, including platelet count, serum albumin, current heart failure, urine occult blood ≥(++), diastolic dysfunction, multiple valve involvement, tricuspid valve involvement, and vegetation >10 mm. The completed prediction model was tested in 2 separate cohorts for internal and external validation. The internal test cohort consisted of 125 patients independent of the development cohort, and the external test cohort consisted of 75 patients from another center. In the internal test cohort, the area under the curve was 0.813 (95% CI, 0.670-0.933) and in the external test cohort the area under the curve was 0.812 (95% CI, 0.606-0.956). The area under the curve was significantly higher than that of other ensemble learning models, logistic regression model, and European System for Cardiac Operative Risk Evaluation II (all, P<0.01). This model was used to develop an online, open-access calculator (http://42.240.140.58:1808/). Conclusions We constructed and validated an accurate and robust machine learning-based risk model to predict early mortality after surgery for infective endocarditis, which may help clinical decision-making and improve outcomes.

Entities:  

Keywords:  cardiac surgery; infective endocarditis; machine learning; prognosis; risk model

Mesh:

Year:  2022        PMID: 35656984      PMCID: PMC9238722          DOI: 10.1161/JAHA.122.025433

Source DB:  PubMed          Journal:  J Am Heart Assoc        ISSN: 2047-9980            Impact factor:   6.106


European System for Cardiac Operative Risk Evaluation The First Affiliated Hospital of Sun Yat‐sen University least absolute shrinkage and selection operator Nanfang Hospital Society of Thoracic Surgeons Sun Yat‐sen University Prediction Model for Infective Endocarditis urine occult blood

Clinical Perspective

What Is New?

The infective endocarditis‐specific, machine learning–based, clinical prediction model, Sun Yat‐sen University Prediction Model for Infective Endocarditis, had a satisfactory predictive value across independent study samples and can be used to predict early mortality after surgery for IE and perform risk stratification. The model outperformed the European System for Cardiac Operative Risk Evaluation II in patients with infective endocarditis. The Sun Yat‐sen University Prediction Model for Infective Endocarditis is the first infective endocarditis‐specific risk model that uses urine occult blood, diastolic dysfunction, and tricuspid valve involvement as predictors.

What Are the Clinical Implications?

The model can be used to identify patients with infective endocarditis at high risk of early mortality after surgery, and thus may help clinical decision‐making and improve outcomes. Infective endocarditis (IE) is one of the most life‐threatening cardiac diseases with a rising prevalence rate. According to the 2016 Global Burden of Disease study, the prevalence rate in China increased by 26.7% from 1990 to 2016. Globally, IE is still an important cause of death and disability, and in 2017, IE was associated with 2.23 million disability‐adjusted life‐years; an increase of 17.1% from that in 2007. Approximately 50% to 60% of patients with IE received surgical treatment. Studies have shown that patients who meet the surgical indications recommended by guidelines have overall good outcomes. , , However, surgery for IE is high risk, and the mortality rate within 30 days after surgery ranges from 8% to 30%. , Risk models can efficiently identify patients with a high postoperative mortality risk and are useful for decision‐making and patient counseling. Although recommended by recent guidelines, non‐IE‐specific scoring systems such as the Society of Thoracic Surgeons (STS) score and European System for Cardiac Operative Risk Evaluation II (EuroSCORE II) perform unsatisfactorily in patients with IE. , , , Patients with IE can have many associated comorbidities during the disease course, such as cardiovascular system disorders, infections, inflammation, and complications of other organ systems. Although risk scoring systems specific for IE surgery have recently been developed, their accuracy is somewhat low. In addition, information required for these methods (such as blood culture results) may not be easy to obtain in a short time, which limits their clinical application. , , Therefore, there is a need for a user‐friendly risk scoring system specifically for IE surgery. Machine learning is very useful for discovering hidden structures and patterns in intricate high‐dimensional data and has been applied in many medical fields. , , Machine learning algorithms are different from linear models, such as logistic regression, because they are computational methods that efficiently navigate the space of free parameters to arrive at a model with high predictive value. In this study, we used machine learning to develop a simple and easy‐to‐use risk model to identify patients with IE who are at high risk of early mortality after surgery. The accuracy and robustness of the model were evaluated in separate cohorts, and the predictive value of the model was compared with that of commonly used scoring systems.

Methods

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Data Sources and Extraction

This study was approved by the Institutional Review Board of The First Affiliated Hospital of Sun Yat‐sen University (approval number: 2018[100]). Because of the use of de‐labeled retrospective data, the requirement of informed consent from patients was waived. Data of hospitalized patients who met the definite modified Duke criteria for IE, including native valve endocarditis and prosthetic valve endocarditis, were included in the present study as previously described. Exclusion criteria were (1) did not have heart surgery, (2) pregnancy, (3) malignancy or life‐threatening diseases, and (4) missing data of interest. Data extracted from electronic medical records were (1) patient demographic characteristics, (2) medical history; (3) clinical symptoms and signs, (4) laboratory and echocardiographic findings, (5) surgery‐related information; and (6) discharge status and short‐term (30 days after surgery) follow‐up results. The EuroSCORE II score (http://www.euroscore.org/calc.html) and Charlson index were calculated for each patient using online calculators. All data were reviewed, extracted, and cross‐checked independently by 2 experienced clinicians. Disagreements between 2 reviewers were resolved by consultation with a third reviewer. Patient data from 2 centers were used in this study. Data of patients with IE consecutively admitted to the First Affiliated Hospital of Sun Yat‐sen University (FAH‐SYSU) from October 2013 to August 2021 were categorized as the FAH‐SYSU cohort, and the data were split into the training‐validation cohort and the FAH‐SYSU test cohort. Data of patients admitted from October 2013 through June 2019 were used as the training‐validation cohort for model development and selection, and data of patients admitted from July 2019 to August 2021 were used for internal testing (FAH‐SYSU test cohort). Data of patients with IE consecutively admitted to Nanfang Hospital (NFH) of Southern Medical University from July 2018 to September 2021 were used for external testing (NFH cohort) (Figure 1).
Figure 1

Flow chart of infective endocarditis patients.

FAH‐SYSU indicates the First Affiliated Hospital of Sun Yat‐sen University; and NFH, Nanfang Hospital.

Flow chart of infective endocarditis patients.

FAH‐SYSU indicates the First Affiliated Hospital of Sun Yat‐sen University; and NFH, Nanfang Hospital.

Definitions

Early mortality was defined as all‐cause mortality that occurred in hospital or within 30 days after surgery. Current heart failure was defined as New York Heart Association class III/IV at admission. Diastolic dysfunction and pulmonary hypertension were defined and graded according to echocardiography. Valve involvement referred to an infected valve(s). Unless otherwise stated, other variables and cutoffs were defined according to the International Classification of Diseases, Ninth Revision, Clinical Modification codes (ICD‐9‐CM). Potential predictive variables were patient characteristics at hospital admission and surgical data as indicated previously (Table 1 and Table 2).
Table 1

Demographics and Clinical Characteristics of Patients in the Training‐Validation Cohort

VariableNo./No. (%)
Early mortality20/276 (7.2)
Demographic characteristic
Age, y, mean (SD) [range], y43.70 (15.32) [13–84]
Age older than 60 y50/276 (18.1)
Age older than 70 y13/276 (4.7)
Female sex82/276 (29.7)
Current smoker37/276 (13.4)
Medical history
Hypertension40/276 (14.5)
Coronary heart disease13/276 (4.7)
Diabetes10/276 (3.6)
Chronic obstructive pulmonary disease4/276 (1.4)
Preoperative continuous renal replacement therapy3/276 (1.1)
Peripheral vascular disease9/276 (3.3)
Congenital heart disease53/276 (19.2)
Percutaneous coronary intervention history2/276 (0.7)
Pacemaker/implantable cardioverter‐defibrillator implantation1/276 (0.4)
Preoperative cardiac arrest or cardiopulmonary resuscitation4/276 (1.4)
Recurrence or previous infective endocarditis1/276 (0.4)
Previous cardiac surgery17/276 (6.2)
Prosthetic valve endocarditis9/276 (3.3)
Preoperative mechanical ventilation or respiratory failure6/276 (2.2)
Preoperative central neurological complications63/276 (22.8)
Cerebral infarction within 3 mo24/276 (8.7)
Preoperative embolization event76/276 (27.5)
Moderate or severe anemia* 46/276 (16.7)
Renal insufficiency17/276 (6.2)
Malnutrition
Moderate35/276 (12.7)
Severe8/276 (2.9)
Current heart failure 47/276 (17.0)
Symptom and sign
Atrial fibrillation or atrial flutter23/276 (8.3)
Cardiac conduction block3/276 (1.1)
Surgery‐related information
Duration of preoperative treatment, mean (SD)[range], days12.83 (8.53) [2–65]
Positive preoperative blood culture result139/242 (57.4)
Biological valve replacement61/262 (23.3)
Mechanical valve replacement201/262 (76.7)
Type of operation
Isolated valvuloplasty14/276 (5.1)
Valve replacement262/276 (94.9)
Valvuloplasty and valve replacement66/276 (23.9)
Right‐side heart surgery73/276 (26.4)
Pulmonary vale7/276 (2.5)
Valvuloplasty3/276 (1.1)
Valve replacement4/276 (1.4)
Tricuspid valve66/276 (23.9)
Valvuloplasty56/276 (20.3)
Valve replacement10/276 (3.6)
Entire heart surgery § 20/276 (7.2)

Moderate or severe anemia referred to hemoglobin <90 g/L.

Malnutrition was diagnosed based on the serum albumin (ALB) level, moderate malnutrition referred to 25≤ALB <30 g/L, and severe malnutrition referred to ALB <25 g/L.

Current heart failure referred to New York Heart Association class III/IV at admission.

Entire heart surgery referred to the situation in which the patient received both left‐ and right‐side cardiac surgery.

Table 2

Laboratory Findings and Echocardiographic Characteristics of Patients in the Training‐Validation Cohort

VariableMean (SD) [range]
Early mortality, No./No. (%)20/276 (7.2)
Laboratory finding
White blood cell counts, ×109/L8.85 (3.26) [1.72–22.01]
Platelet count, ×109/L250.43 (93.55) [53–574]
Hemoglobin, g/L112.99 (24.25) [58–228]
Hematocrit, %34.31 (6.95) [20.70–71.70]
Red cell distribution width, %15.38 (2.32) [11–25]
N‐terminal pro‐B‐type natriuretic peptide, pg/mL2914.37 (10860.59) [16.10–160559.00]
Serum creatinine*, µmol/L91.59 (62.01) [36–602]
Renal insufficiency compensation phase, No./No. (%)28/276 (10.1)
Renal insufficiency decompensated phase, No./No. (%)15/276 (5.4)
Kidney failure phase, No./No. (%)3/276 (1.1)
Uremia phase, No./No. (%)0/276 (0.0)
Blood urea nitrogen, mmol/L6.57 (4.55) [2.00–40.60]
Uric acid, µmol/L379.23 (139.39) [112–798]
Serum albumin, g/L36.18 (5.53) [20.9–50.2]
Total bilirubin, µmol/L14.96 (9.79) [1.29–107.60]
Aspartate transaminase, U/L28.01 (22.41) [4.50–254.00]
Fibrin, g/L3.78 (1.27) [1.06–7.78]
Blood glucose , mmol/L5.04 (4.55) [1.4–13.4]
Mildly elevated, No./No. (%)20/276 (7.2)
Moderately elevated, No./No. (%)5/276 (1.8)
Severely elevated, No./No. (%)2/276 (0.7)
Urine occult blood ≥ (++), No./No. (%)118/265 (44.5)
Blood culture result, No./No. (%)
Negative103/242 (42.6)
Streptococcus viridans 44/242 (18.2)
Other Streptococcus 6/242 (2.5)
Staphylococcus aureus 15/242 (6.2)
Coagulase‐negative Staphylococcus 2/242 (0.8)
Other bacteria71/242 (29.3)
Fungus1/242 (0.4)
Echocardiographic characteristic, No./No. (%)
Valve involved
Left heart257/276 (93.1)
Aortic valve141/276 (51.1)
Mitral valve165/276 (59.8)
Aortic and mitral valve48/276 (17.8)
Right heart24/276 (8.7)
Pulmonary valve8/276 (2.9)
Tricuspid valve16/276 (5.8)
Single valve involved221/276 (80.1)
Multiple valves involved55/276 (19.9)
Vegetation formation257/276 (93.1)
Size of vegetation § , mean (SD)[range], mm11.20 (7.13) [0–45.00]
Larger than 10 mm152/276 (55.1)
Larger than 15 mm88/276 (31.9)
Larger than 20 mm31/276 (11.2)
LVEF, mean (SD)[range], %66.77 (8.44) [30–97]
LVEF<40%2/276 (0.7)
Pulmonary artery pressure, mean (SD)[range]40.52 (13.63) [16–86]
Moderate or higher pulmonary hypertension53/276 (19.2)
Severe pulmonary hypertension16/276 (5.8)
Diastolic dysfunction174/276 (63.0)
Class I121/276 (43.8)
Class II41/276 (14.9)
Class III12/276 (4.3)
Medium or more pericardial effusion3/276 (1.1)
Heart abscess29/276 (10.5)
Paravalvular abscess23/276 (8.3)
Left atrial thrombus2/276 (0.7)

LVEF indicates left ventricular ejection fraction.

Patients with serum creatine levels of 133–177 µmol/L were considered at the renal insufficiency compensation phase, 178–442 µmol/L were considered at renal insufficiency decompensated phase, 443–707 µmol/L were considered at the kidney failure phase, and over 707 µmol/L were considered at the uremia phase.

Fasting blood glucose >7 mmol/L was considered as mildly elevated, >8.4 mmol/L was considered as moderately elevated, and >11.1 mmol/L was considered as severely elevated.

Valve involvement referred to valve affected by infection.

Size of vegetation referred to the largest diameter of vegetation measured by echocardiography.

Demographics and Clinical Characteristics of Patients in the Training‐Validation Cohort Moderate or severe anemia referred to hemoglobin <90 g/L. Malnutrition was diagnosed based on the serum albumin (ALB) level, moderate malnutrition referred to 25≤ALB <30 g/L, and severe malnutrition referred to ALB <25 g/L. Current heart failure referred to New York Heart Association class III/IV at admission. Entire heart surgery referred to the situation in which the patient received both left‐ and right‐side cardiac surgery. Laboratory Findings and Echocardiographic Characteristics of Patients in the Training‐Validation Cohort LVEF indicates left ventricular ejection fraction. Patients with serum creatine levels of 133–177 µmol/L were considered at the renal insufficiency compensation phase, 178–442 µmol/L were considered at renal insufficiency decompensated phase, 443–707 µmol/L were considered at the kidney failure phase, and over 707 µmol/L were considered at the uremia phase. Fasting blood glucose >7 mmol/L was considered as mildly elevated, >8.4 mmol/L was considered as moderately elevated, and >11.1 mmol/L was considered as severely elevated. Valve involvement referred to valve affected by infection. Size of vegetation referred to the largest diameter of vegetation measured by echocardiography.

Variable Selection and Model Construction

Potential predictors with more than 5% missing records were excluded before any analysis. For other variables, we used the mean of individual continuous variables to replace the missing records, and a negative result was used to replace the missing records of individual categorical variable. The point‐biserial correlation coefficient was calculated for all continuous variables, and those with a 2‐tailed value of P<0.01 were selected for further model development. To eliminate the adverse effects of potential multicollinearity within the clinical data, all categorical variables were input into a least absolute shrinkage and selection operator (LASSO) regression model for multivariate analysis. The penalty weight (lambda) was selected with minimum mean‐square error based on 3‐fold cross‐validation. With a larger penalty, the estimates of weaker predictors shrink toward zero and were thus excluded from the model. Variables remaining in the LASSO model were selected for further model development. All variables selected based on the training‐validation cohort were used as input for XGBoost model development. For hyperparameter selection, a 3‐fold cross‐validation and grid search was performed. The hyperparameters used for modeling are shown in Table S1. An online calculator based on the completed risk model was developed and published. A classical logistic regression model, and other machine learning models, including gradient boosting decision tree, light gradient boosting machine, random forest, and extra trees, were constructed using the same variables. The Python (version 3.7.6) package “scikit‐learn” was used to perform LASSO regression, logistic regression, and gradient boosting decision tree, light gradient boosting machine, random forest, and extra trees modeling; the XGBoost (version 1.2.1) Python package was used to build the XGBoost model.

Statistical Analysis

Normally distributed continuous variables were expressed as mean (SD) [range], and nonnormally distributed continuous variables were expressed as median (interquartile range). The distribution of continuous variables was assessed using the Shapiro–Wilk normality test. Categorical variables were expressed as count and percentage. The comparison of continuous variables was performed using Student’s t test and Mann‐Whitney U test. The χ2 test or Fisher’s exact test was used for comparisons of categorical variables. A 2‐tailed value of P<0.01 was considered statistically significant. The models were evaluated in 2 cohorts that were independent from the training‐validation cohort (internal and external test). The area under the receiver operating curve (AUC) was used to assess the accuracy of the models, and the 95% CI of the AUC was calculated by 1000 bootstrap resamples. We evaluated the calibration of the XGBoost model and performed decision curve analysis based on the integrated test set, which contained all the cases in the internal and external test sets. We also compared the accuracy of the ensemble learning models, the classic logistic regression model, and EuroSCORE II. Statistical analysis was performed with R software (version 4.1.2, R Foundation).

Feature Contribution Analysis

We used the permutation‐based importance (function PermutationImportance) of the ELI5 Python package (https://eli5.readthedocs.io/) to report the feature contribution for the XGBoost model.

Results

Baseline Characteristics of the Training‐Validation Cohort

Data of 276 consecutive cases from the FAH‐SYSU cohort formed the training‐validation cohort, in which early mortality occurred in 20 patients (7.2%). The baseline characteristics of patients are summarized in Table 1 and Table 2. The mean (SD) age of the patients was 43.70 (15.32) years, and 82 patients (29.7%) were female. A total of 267 patients (96.7%) were diagnosed with native valve endocarditis, and 9 (3.3%) with prosthetic valve endocarditis. Fifty‐five patients (19.9%) had multiple valves involvement. Seventy‐three patients (26.4%) underwent right‐side heart surgery. Preoperative embolization events occurred in 76 patients (27.5%) and were the most common complication. A total of 47 patients (17%) had current heart failure. Various degrees of diastolic dysfunction were found in more than half (174; 63%) of the patients. Urine occult blood (UOB)≥(++) was present in 44.5% of the patients. Blood culture results were available for 242 patients (87.7%) and were negative in 103 patients (42.6%). Streptococcus viridans was the most prevalent bacteria among patients with positive blood culture results. A total of 89 potential predictive variables were entered in the feature screening process. To avoid the adverse effects caused by the linear correlation between some continuous and categorical variables, they were analyzed separately. Among the 20 continuous variables, 3 variables were statistically significant predictors of early mortality after surgery for IE. These variables were platelet count (R=−0.21, P<0.01), serum albumin (R=−0.21, P<0.01), and Charlson score (R=0.20, P<0.01) (Table S2). Among the 69 categorical variables, 7 potential predictors were retained in the LASSO regression model. These variables included current heart failure, moderate or severe malnutrition, UOB≥(++), diastolic dysfunction, multiple valve involvement, tricuspid valve involvement, and vegetation >10 mm. The dynamic process of LASSO regression is shown in Figure S1. The Charlson index is a composite score that covers multiple characteristics of patients. We discarded this variable from the final prediction model to ensure the model was simple and to avoid model distortion due to repeated inclusion of features. The diagnosis of malnutrition was based on serum albumin level. Considering that continuous variables may contain more information than categorical variables, the continuous variable (serum albumin) rather than the categorical variable (malnutrition) was included in the prediction model. Finally, 8 variables from the training‐validation cohort were input into the XGBoost model for model training and validation: platelet count, serum albumin, current heart failure, UOB≥(++), diastolic dysfunction, multiple valve involvement, tricuspid valve involvement, and vegetation >10 mm. After training, a machine learning–based risk model was constructed and named the Sun Yat‐sen University Prediction Model for Infective Endocarditis (SYSUPMIE). We further developed an online calculator based on SYSUPMIE (http://42.240.140.58:1808/; Figure 2). By entering all values of the required 8 variables, users can easily calculate the probability of early mortality and obtain information on risk stratification.
Figure 2

The online calculator* for predicting early mortality after infective endocarditis surgery.

*The Department of Cardiac Surgery of the First Affiliated Hospital of Sun Yat‐sen University is responsible for the online calculator (http://42.240.140.58:1808). SYSUPMIE indicates Sun Yat‐sen University Prediction Model for Infective Endocarditis.

The online calculator* for predicting early mortality after infective endocarditis surgery.

*The Department of Cardiac Surgery of the First Affiliated Hospital of Sun Yat‐sen University is responsible for the online calculator (http://42.240.140.58:1808). SYSUPMIE indicates Sun Yat‐sen University Prediction Model for Infective Endocarditis.

Performance of SYSUPMIE

The mean AUC based on 5 times 3‐fold cross‐validation of SYSUPMIE in the training‐validation cohort was 0.810±0.073. The results of the receiver‐operator characteristic curve analysis of SYSUPMIE and other algorithms in the training‐validation cohort are shown in Figure S2. The performance of SYSUPMIE was internally evaluated in the FAH‐SYSU test cohort to illustrate the accuracy of the prediction model. The FAH‐SYSU test cohort consisted of 125 consecutive patients with IE who underwent surgery at the FAH‐SYSU from July 2019 to August 2021, and it was time independent from the training‐validation cohort. There were 11 cases of early mortality (8.8%) in this cohort. The variables used for the internal test are shown in Table S3. The AUC of the model in the FAH‐SYSU test cohort was 0.813 (95% CI, 0.670–0.933; Figure 3A), which indicated that the model had satisfactory discriminatory power.
Figure 3

Model performance in the test sets.

A through C, ROC analysis of Sun Yat‐sen University Prediction Model for Infective Endocarditis (SYSUPMIE), classic logistic regression model, random forest model, extra trees model, LightGBM model, GBDT model and EuroSCORE II for predicting early mortality after surgery for IE in the internal test set of the First Affiliated Hospital of Sun Yat‐sen University, in the external test set of Nanfang Hospital, and in the integrated test set. D, Calibration curve of SYSUPMIE in the integrated test set. E, Decision curve analysis (DCA) of SYSUPMIE, classic logistic regression, random forest model, extra trees model, LightGBM model, GBDT model and EuroSCORE II based on the integrated test set. AUC indicates area under the curve; EuroSCORE II, European System for Cardiac Operative Risk Evaluation II; ET, extra trees; FAH‐SYSU, First Affiliated Hospital of Sun Yat‐sen University; GBDT, gradient boosting decision trees; LGBM, light gradient boosting machine; LR, logistic regression; RF, random forest; ROC, receiver‐operator characteristic curve; and SY, Sun Yat‐sen University Prediction Model for Infective Endocarditis.

Model performance in the test sets.

A through C, ROC analysis of Sun Yat‐sen University Prediction Model for Infective Endocarditis (SYSUPMIE), classic logistic regression model, random forest model, extra trees model, LightGBM model, GBDT model and EuroSCORE II for predicting early mortality after surgery for IE in the internal test set of the First Affiliated Hospital of Sun Yat‐sen University, in the external test set of Nanfang Hospital, and in the integrated test set. D, Calibration curve of SYSUPMIE in the integrated test set. E, Decision curve analysis (DCA) of SYSUPMIE, classic logistic regression, random forest model, extra trees model, LightGBM model, GBDT model and EuroSCORE II based on the integrated test set. AUC indicates area under the curve; EuroSCORE II, European System for Cardiac Operative Risk Evaluation II; ET, extra trees; FAH‐SYSU, First Affiliated Hospital of Sun Yat‐sen University; GBDT, gradient boosting decision trees; LGBM, light gradient boosting machine; LR, logistic regression; RF, random forest; ROC, receiver‐operator characteristic curve; and SY, Sun Yat‐sen University Prediction Model for Infective Endocarditis.

External Test of SYSUPMIE

To evaluate the generalizability of SYSUPMIE, an external test was performed using the NFH cohort. A total of 75 consecutive patients with IE who underwent surgery at NFH of Southern Medical University from July 2018 to September 2021 comprised the NFH cohort. The mean (SD) [range] age of the patients was 46.67 (14.67) years (range, 14–70 years), 28 patients (37.3%) were female, 3 patients (4%) were diagnosed with prosthetic valve endocarditis, and 7 patients (9.3%) died within 30 days or in hospital after surgery. The variables used for external test are shown in Table S3. Variables, including vegetation >10 mm, multiple valves involved, diastolic dysfunction, and serum albumin, in the NFH cohort were significantly different from those in the FAH‐SYSU test cohort (P<0.05; Figure S3). The performance of SYSUPMIE in the NFH cohort reached a predictive value similar to that of the FAH‐SYSU validation cohort, with an AUC of 0.812 (95% CI, 0.606–0.956; Figure 3B), which proved that SYSUPMIE had good generalizability.

Comparisons Between Models

A comparison between the performance of SYSUPMIE and already established risk score models was carried out in the test cohorts. Receiver‐operator characteristic curve analysis indicated that SYSUPMIE significantly outperformed EuroSCORE II in the FAH‐SYSU test cohort (AUC, 0.813; 95% CI, 0.670–0.933 versus AUC, 0.632; 95% CI, 0.479–0.761, P<0.01), the NFH cohort (AUC, 0.812; 95% CI, 0.606–0.956 versus AUC, 0.680; 95% CI, 0.374–0.932, P<0.01), and the integrated test set (AUC, 0.810; 95% CI, 0.702–0.909 versus AUC, 0.619; 95% CI, 0.489–0.746, P<0.01) (Figure 3A through 3C). To illustrate the superiority of XGBoost algorithm, the 8 variables were used to build a classical logistic regression model and ensemble learning models, including gradient boosting decision tree, light gradient boosting machine, random forest, and extra trees, based on the training‐validation cohort. The predictive value of those models was significantly lower than that of SYSUPMIE (all, P<0.01) but higher than that of EuroSCORE II (all, P<0.01) (Figure 3A through 3C). Decision curve analysis based on the integrated test set indicated that SYSUPMIE had a better clinical application value than EuroSCORE II, other ensemble learning models, and the classical logistic regression model within a probability threshold ranging from 0.02 to 0.40. Notably, we found that in the data sets from both centers EuroSCORE II had proved to be of minimal value with respect to guiding clinical decision‐making (Figure 3E). A small number of missing data in the training set was imputed in the preprocessing stage (Table S4). To demonstrate the impact of imputation strategy on model performance, a comparison of performance between SYSUPMIE and an XGBoost model trained using unimputed data was performed. The performance of SYSUPMIE, which was trained using imputed data, was slightly better than that of the XGBoost model, which was trained using unimputed data in the in the FAH‐SYSU test cohort (AUC, 0.813; 95% CI, 0.670–0.933 versus AUC, 0.803; 95% CI, 0.652–0.928, P<0.001), the NFH cohort (AUC, 0.812; 95% CI, 0.606–0.956 versus AUC, 0.796; 95% CI, 0.583–0.954, P<0.001), and the integrated test set (AUC, 0.810; 95% CI, 0.702–0.909 versus AUC, 0.795; 95% CI, 0.680–0.902, P<0.001) (Figure S4).

Risk Stratification

The calibration of the new model was further evaluated based on the integrated test set. The results showed that SYSUPMIE might overestimate the probability of early mortality when the predicted probability was >30% (Figure 3D). Therefore, a risk stratification system was developed in order to make SYSUPMIE more clinically applicable. Risk cutoff values of 0.055 and 0.35 were selected at 95% sensitivity and 95% specificity, respectively, according to 3‐fold cross‐validation of the training‐validation cohort (Figure S5). Patients were divided into low‐, medium‐, and high‐risk groups. The integrated test set was used to evaluate these risk cutoff values. The confusion matrices demonstrated that the risk stratification system possessed satisfactory discriminatory power for low‐, medium‐, and high‐risk patients (Figure 4A). The probability of early mortality after surgery for low‐risk patients was 1.44% (95% CI, 0–0.044), for medium‐risk patients was 10.21% (95% CI, 0.051–0.162), and for high‐risk patients was 35.89% (95% CI, 0.071–0.571) (Figure 4B).
Figure 4

Risk stratification and feature contribution analysis for SYSUPMIE.

A, Confusion matrices at cutoffs of 0.35 and 0.055 for the high‐ and low‐risk groups, based on the integrated test set. B, The actual probability of early mortality in low‐, medium‐, and high‐risk groups, based on the integrated test set. C, Relevance of SYSUPMIE risk to early mortality and features. D, Feature contribution analysis, based on the integrated test set. The error bars denote SD of feature contribution. ALB indicates serum albumin; HF, heart failure; PLT, platelet count; SYSUPMIE, Sun Yat‐sen University Prediction Model for Infective Endocarditis; and UOB, urine occult blood.

Risk stratification and feature contribution analysis for SYSUPMIE.

A, Confusion matrices at cutoffs of 0.35 and 0.055 for the high‐ and low‐risk groups, based on the integrated test set. B, The actual probability of early mortality in low‐, medium‐, and high‐risk groups, based on the integrated test set. C, Relevance of SYSUPMIE risk to early mortality and features. D, Feature contribution analysis, based on the integrated test set. The error bars denote SD of feature contribution. ALB indicates serum albumin; HF, heart failure; PLT, platelet count; SYSUPMIE, Sun Yat‐sen University Prediction Model for Infective Endocarditis; and UOB, urine occult blood. The completed machine learning–based risk model, SYSUPMIE, which was a “black box” model, integrated 8 preoperative features to predict the risk of early mortality. Comparison with the classical logistic regression model indicated that there was not simply a linear correlation between these features and the risk of mortality. Although there was a degree of correlation between each feature and the predicted risk (Figure 4C), it was apparent that the model did not completely rely on the strength of the correlations when making predictions. Thus, we quantified how much these various features contributed to explaining patient‐to‐patient variation in risk (Figure 4D). The results showed that serum albumin levels had the greatest effect, followed by platelet count and current heart failure. Patients with hypoalbuminemia, a decreased platelet count, and current heart failure were more likely to have a higher risk of early mortality (Figure 4C and 4D).

Discussion

The early mortality rate of surgery for IE remains the greatest among all valve operations. Risk scores are useful tools to aid decision‐making and guide perioperative management, and an accurate and scientific risk assessment plays a vital role in the management of IE and may affect the outcome of treatment. In this study, we built a machine learning–based prediction model, SYSUPMIE, for predicting early mortality after surgery for IE. A comprehensive evaluation of the model (SYSUPMIE) was performed with internal and external validation using independent cohorts. The evaluation showed that SYSUPMIE exhibited satisfactory accuracy and generalizability. We further developed an open‐access online calculator based on SYSUPMIE. By providing the values of 8 variables, users can easily and quickly calculate the probability of early mortality after surgery for IE and obtain information for risk stratification of patients with IE. EuroSCORE II and STS score are recommended by clinical guidelines and the most used scoring systems, but they are neither accurate nor easy to use. Several previous studies , have found that EuroSCORE II performed unsatisfactorily in patients with IE. The usability of STS score is also limited because it is applicable to only 7 fixed procedure types, and it requires more than 40 items. We attempted to retrospectively calculate STS scores for the patients include in this study but stopped because of mismatched procedures and not being able to determine all the variables required. Although EuroSCORE II and STS score perform well in cardiac diseases that do not involve infection or vegetation formation on heart valves, their accuracy with respect to IE is very low. This is likely because the models were not specifically developed for IE, and IE patients accounted for only a very small portion of the development cohorts and thus the effects of characteristics that are directly associated with early mortality after surgery for IE were diluted. Taking EuroSCORE II as an example, there were only 497 patients with active endocarditis in its development cohort, which accounted for only 2.2% of all cases (497/22381). STS‐IE (2010) is an IE‐specific risk score that was developed using the largest series available of IE treated surgically. STS‐IE uses 13 variables, which greatly simplifies calculation of STS score and avoids being applicable only to fixed surgical procedures. However, the development of STS‐IE score used medical records from 2002 to 2008. As guidelines have been updated since then, it is not clear whether STS‐IE is still useful. Moreover, STS‐IE has a C‐index of 0.75784, which is relatively low and needs to be improved. Although risk score systems that were developed after STS‐IE, such as Defeo score (2012), PALSUSE (2014), AEPEI (2017), and RISK‐E (2017) provide higher accuracy and greater value, all have some limitations. The SYSUPMIE model does not have many of the limitations of prior systems. First, we did not include composite scores as in PALSUSE, in which “logistic EuroSCORE ≥ 10” is a predictor. Including composite scores put the model at risk of being too complex and increases the chances of overfitting because of the introduction of unknown multicollinearity. Second, we did not make a fine distinction between subtypes of IE, as do Defeo score and RISK‐E. Because infection can be heterogeneous, a finer distinction will narrow the clinical value of score. The SYSUPMIE model incudes left‐ and right‐side involvement, native valve endocarditis and prosthetic valve endocarditis, and acute and nonacute IE; thus, the model is applicable to various clinical scenarios. Finally, SYSUPMIE is practical. It does not require variables that have a high likelihood of being inaccurate or cannot be obtained in a short time, such as blood culture results, which are required for RISK‐E, Defeo, and PALSUSE. Additionally, the online calculator provides quick access to the model using readily obtainable data that have a low likelihood of being inaccurate. In our development cohort, blood culture results were not available for about 12% of the patients. Furthermore, the negative result in 103 patients was based on only a single 3‐day blood culture and thus has a high likelihood of being inaccurate. Indeed, it usually takes 3 to 7 days to obtain the reliable blood culture results, and most patients might have received empirical antibiotics or completed surgical procedures during this time frame. The selection of predictors is a necessary compromise of feasibility and effectiveness. Although previous studies have demonstrated the potential value of several variables (eg, high‐sensitivity C‐reactive protein, red cell distribution width, high‐sensitivity troponin T, creatinine, and N‐terminal of the prohormone brain natriuretic peptide) for predicting early mortality after cardiac surgery, introducing every conceivable risk factor does not necessarily lead to increased performance of a model. Of note, age was not a variable used in SYSUPMIE. Undoubtedly, older age increases the risk of cardiac surgery and aging‐associated frailty syndrome has been shown to be significantly correlated with poor outcomes after cardiac surgery. Furthermore, age is used in most cardiac surgery risk score systems. , , , , However, overall patients with IE are younger than most patients requiring cardiac surgery. , In our development cohort, although the mean age of survivors was slightly less than that of nonsurvivors (43.36±15.119 versus 48.05±17.509 years), there was no significant difference (P=0.1877) between the 2 groups (Figure S6). Patients with perivalvular complications in our cohorts did not have a higher risk, although perivalvular complications were once considered to be a high‐risk factor. Thus, it was also not included in SYSUPMIE. In fact, whether perivalvular abscesses increase the perioperative mortality rate is inconclusive. Another prospective study found that although paravalvular abscesses increase the need for surgical treatment to correct hemodynamic disorders and clear the infection, they do not increase the mortality rate. To our knowledge, SYSUPMIE is the first risk model that uses UOB, diastolic dysfunction, and tricuspid valve involvement as predictors. Positive UOB results may be an indication of occult renal impairment caused by infection, immune response, or embolism. UOB≥(++) was very common in our IE patients, with an incidence as high as 40% (186/465). Previous studies have found a strong association between postoperative mortality and diastolic dysfunction, as it can further aggravate the circulatory disturbance caused by heart failure and may cause postoperative atrial fibrillation. , , Contrary to the results of other studies that suggest the prognosis of right‐sided IE is better than that of left‐sided IE, , we found that tricuspid valve involvement was a risk factor for early mortality. Although the effect of tricuspid valve dysfunction on hemodynamics and systemic embolism is smaller than that of mitral and aortic valve dysfunction, right‐side IE is associated with a high recurrence rate, especially in intravenous drug users, and its impact on mortality should not be ignored. The robust performance of SYSUPMIE, which is superior to that of classical logistic regression models, shows that machine learning algorithms, especially gradient boosting algorithms like XGBoost, are a good approach to this kind of classification task using structured, clinical tabular data , , and can be used when the number of cases is limited. Traditional logistic regression modeling has higher requirements with respect to the scale of data, which limits its application when the amount of available data is small and when events have a low incidence. Moreover, methods have been developed to derive information about the importance of individual variables for a specific prediction, which makes it possible to reveal how machine learning models leverage patient characteristics for risk prediction. Different from using the coefficients of variables to explain how variables affect the prediction in a linear model, this kind of interpretability can even yield medical insights. Feature contribution analysis indicated that hypoalbuminemia and thrombocytopenia were strong predictors of early mortality after surgery for IE. Hypoalbuminemia reflects systemic inflammation, impaired antioxidant function, poor nutrient reserves, and potential kidney damage. Thrombocytopenia reflects the severity of underlying sepsis and an elevated risks of hemorrhage. Both are indicators of disease severity and the nature of the host response. Our results emphasize the possible risks of antiplatelet therapy in IE, as has been shown in previous studies. Although many IE patients have indications for antithrombotic therapy, particularly those with mechanical prosthetic valves and coronary stents, the potential risks and benefits of antithrombotic therapy must be carefully weighed. Note that both serum albumin level and platelet count reflected pretreatment status, as the data were from admission before the patient received any interventions. Thus, using SYSUPMIE to dynamically evaluate patients receiving exogenous albumin supplementation and platelet transfusion therapy may result in an inaccurate risk estimate, and neither can the model indicate an effect of treatment when used in this manner. This study had several limitations. Limited by the size of the study population, SYSUPMIE was not calibrated based on our data because this would be unreasonable. Clinicians must be very cautious in understanding the probability given by the model, and should comprehensively consider risk stratification and decision curve analysis before any decision‐making. All data were from southern China, which could potentially limit the generalizability of SYSUPMIE in other areas of the world. Bias inherent to observational studies still cannot be avoided because our study used retrospectively collected data. Larger, multicenter external data are needed to further validate and calibrate the model. In addition, no model is future proof as epidemiology changes and medical treatments evolve.

Conclusions

In this study, we developed and validated a machine learning–based prediction model (SYSUPMIE) to predict early mortality after surgery for IE. The model was shown to be accurate and robust in identifying patients with IE at high risk of early mortality after surgery and thus may help clinical decision‐making and improve outcomes.

Sources of Funding

This work was supported by the National Science Foundation of China (Grant numbers 81770319 and 82070297) and the Natural Science Funds of Guangdong Province (Grant number 2019A1515010218).

Disclosures

None. Tables S1–S4 Figures S1–S6 Click here for additional data file.
  41 in total

1.  Early surgery in patients with infective endocarditis: a propensity score analysis.

Authors:  Olcay Aksoy; Daniel J Sexton; Andrew Wang; Paul A Pappas; Wissam Kourany; Vivian Chu; Vance G Fowler; Christopher W Woods; John J Engemann; G Ralph Corey; Tina Harding; Christopher H Cabell
Journal:  Clin Infect Dis       Date:  2007-01-02       Impact factor: 9.079

2.  Valve surgery in active infective endocarditis: a simple score to predict in-hospital prognosis.

Authors:  Manuel Martínez-Sellés; Patricia Muñoz; Ana Arnáiz; Mar Moreno; Juan Gálvez; Jorge Rodríguez-Roda; Arístides de Alarcón; Emilio García Cabrera; María C Fariñas; José M Miró; Miguel Montejo; Alfonso Moreno; Josefa Ruiz-Morales; Miguel A Goenaga; Emilio Bouza
Journal:  Int J Cardiol       Date:  2014-05-09       Impact factor: 4.164

3.  Evolution of Prognosis in Left-Sided Infective Endocarditis: A Propensity Score Analysis of 2 Decades.

Authors:  Teresa Sevilla; Javier López; Itziar Gómez; Isidre Vilacosta; Cristina Sarriá; Pablo Elpidio García-Granja; Carmen Olmos; Salvatore Di Stefano; Luis Maroto; José Alberto San Román
Journal:  J Am Coll Cardiol       Date:  2017-01-03       Impact factor: 24.094

4.  Predictors of early mortality after surgical treatment of infective endocarditis: a single-center experience.

Authors:  Povilas Jakuska; Egle Ereminiene; Egle Muliuolyte; Vidas Kosys; Lukas Pavlavičius; Giedrius Zukovas; Dainius Karciauskas; Rimantas Benetis
Journal:  Perfusion       Date:  2019-09-04       Impact factor: 1.972

Review 5.  Challenges in Infective Endocarditis.

Authors:  Thomas J Cahill; Larry M Baddour; Gilbert Habib; Bruno Hoen; Erwan Salaun; Gosta B Pettersson; Hans Joachim Schäfers; Bernard D Prendergast
Journal:  J Am Coll Cardiol       Date:  2017-01-24       Impact factor: 24.094

Review 6.  Machine Learning in Medicine.

Authors:  Rahul C Deo
Journal:  Circulation       Date:  2015-11-17       Impact factor: 29.690

7.  [Profile of infective endocarditis at Brazzaville University Hospital].

Authors:  M S Ikama; M Nkalla-Lambi; G Kimbally-Kaky; M L Loumouamou; J L Nkoua
Journal:  Med Sante Trop       Date:  2013 Jan-Mar

8.  The need for a specific risk prediction system in native valve infective endocarditis surgery.

Authors:  Marisa De Feo; Maurizio Cotrufo; Antonio Carozza; Luca S De Santo; Francesco Amendolara; Salvatore Giordano; Ester E Della Ratta; Gianantonio Nappi; Alessandro Della Corte
Journal:  ScientificWorldJournal       Date:  2012-03-12

9.  Exploring prognostic indicators in the pathological images of hepatocellular carcinoma based on deep learning.

Authors:  Jie-Yi Shi; Xiaodong Wang; Guang-Yu Ding; Zhou Dong; Jing Han; Zehui Guan; Li-Jie Ma; Yuxuan Zheng; Lei Zhang; Guan-Zhen Yu; Xiao-Ying Wang; Zhen-Bin Ding; Ai-Wu Ke; Haoqing Yang; Liming Wang; Lirong Ai; Ya Cao; Jian Zhou; Jia Fan; Xiyang Liu; Qiang Gao
Journal:  Gut       Date:  2020-09-30       Impact factor: 23.059

10.  Usefulness of FRAIL Scale in Heart Valve Diseases.

Authors:  Piotr Duchnowski; Piotr Szymański; Mariusz Kuśmierczyk; Tomasz Hryniewiecki
Journal:  Clin Interv Aging       Date:  2020-07-09       Impact factor: 4.458

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.