Next Article in Journal
Vitamin D Status and Risk of All-Cause and Cause-Specific Mortality in Osteoarthritis Patients: Results from NHANES III and NHANES 2001–2018
Next Article in Special Issue
Dietary Potassium Intake and Risk of Diabetes: A Systematic Review and Meta-Analysis of Prospective Studies
Previous Article in Journal
The Importance of Nutritional Aspects in the Assessment of Inflammation and Intestinal Barrier in Patients with Inflammatory Bowel Disease
Previous Article in Special Issue
Prediction Tool to Estimate Potassium Diet in Chronic Kidney Disease Patients Developed Using a Machine Learning Tool: The UniverSel Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Machine Learning Models Predicting Cardiovascular and Renal Outcomes and Mortality in Patients with Hyperkalemia

1
Medical Science, Kawasaki Medical School, 577 Matsushima, Kurashiki, Okayama 701-0192, Japan
2
Cardiovascular, Renal, and Metabolism, Medical Affairs, AstraZeneca K.K., Tower B Grand Front Osaka, 3-1 Ofukacho, Kita-ku, Osaka 530-0011, Japan
3
Department of Cardiology, Keio University School of Medicine, 35 Shinanomachi, Shinjyuku-ku, Tokyo 160-8582, Japan
4
IQVIA Solution Japan K.K., Keikyu dai-ichi Building, 4-10-18 Takanawa, Minato-ku, Tokyo 108-0074, Japan
5
Real World Data Co., Ltd., 76 Nakanocho, Nakagyo-ku, Kyoto 604-0086, Japan
*
Author to whom correspondence should be addressed.
Nutrients 2022, 14(21), 4614; https://doi.org/10.3390/nu14214614
Submission received: 31 August 2022 / Revised: 20 October 2022 / Accepted: 22 October 2022 / Published: 3 November 2022
(This article belongs to the Special Issue The Effect of Potassium on Human Health)

Abstract

:
Hyperkalemia is associated with increased risks of mortality and adverse clinical outcomes. The treatment of hyperkalemia often leads to the discontinuation or restriction of beneficial but potassium-increasing therapy such as renin-angiotensin-aldosterone inhibitors (RAASi) and high-potassium diet including fruits and vegetables. To date, limited evidence is available for personalized risk evaluation in this heterogeneous and multifactorial pathophysiological condition. We developed risk prediction models using extreme gradient boosting (XGB), multiple logistic regression (LR), and deep neural network. Models were derived from a retrospective cohort of hyperkalemic patients with either heart failure or chronic kidney disease stage ≥3a from a Japanese nationwide database (1 April 2008–30 September 2018). Studied outcomes included all-cause death, renal replacement therapy introduction (RRT), hospitalization for heart failure (HHF), and cardiovascular events within three years after hyperkalemic episodes. The best performing model was further validated using an external cohort. A total of 24,949 adult hyperkalemic patients were selected for model derivation and internal validation. A total of 1452 deaths (16.6%), 887 RRT (10.1%), 1,345 HHF (15.4%), and 621 cardiovascular events (7.1%) were observed. XGB outperformed other models. The area under receiver operator characteristic curves (AUROCs) of XGB vs. LR (95% CIs) for death, RRT, HHF, and cardiovascular events were 0.823 (0.805–0.841) vs. 0.809 (0.791–0.828), 0.957 (0.947–0.967) vs. 0.947 (0.936–0.959), 0.863 (0.846–0.880) vs. 0.838 (0.820–0.856), and 0.809 (0.784–0.834) vs. 0.798 (0.772–0.823), respectively. In the external dataset including 86,279 patients, AUROCs (95% CIs) for XGB were: death, 0.747 (0.742–0.753); RRT, 0.888 (0.882–0.894); HHF, 0.673 (0.666–0.679); and cardiovascular events, 0.585 (0.578–0.591). Kaplan–Meier curves of the high-risk predicted group showed a statistically significant difference from that of the low-risk predicted groups for all outcomes (p < 0.005; log-rank test). These findings suggest possible use of machine learning models for real-world risk assessment as a guide for observation and/or treatment decision making that may potentially lead to improved outcomes in hyperkalemic patients while retaining the benefit of life-saving therapies.

1. Introduction

Hyperkalemia, characterized by abnormally elevated serum potassium levels, is a common electrolyte abnormality that is often found in patients with heart failure (HF) and chronic kidney disease (CKD) [1,2,3,4,5,6]. The prevalence of hyperkalemia is 2–3% in the general population, whereas notably higher frequencies of hyperkalemia have been reported in patients with diabetes, advanced kidney disease, and those treated with renin-angiotensin-aldosterone inhibitors (RAASi) [7].
Numerous studies have shown that hyperkalemia is associated with increased risks of mortality and adverse clinical outcomes, suggesting the possibility that hyperkalemia can be a marker for the worsening of patients’ general conditions or even the cause of adverse outcomes in certain conditions [8]. Direct and short-term associations between hyperkalemia and mortality risk were reported [9,10,11,12]. Moreover, increased risks of long-term cardiovascular and renal outcomes with a rapid decline of kidney function in hyperkalemic patients were reported [13,14,15], While an association between increased risks of adverse clinical outcomes and hyperkalemia has been well documented, there is limited information on their causality, partially because hyperkalemia is usually multifactorial in its pathogenesis and underlying conditions that can exert influences on patients’ prognoses. For instance, the RAASi treatment discontinuation for reducing the risk of hyperkalemia in HF patients may increase the risk of adverse clinical outcomes [16,17]. Likewise, intense dietary restrictions to mitigate potassium intake for hyperkalemia may lead to the reduced intake of a healthy diet, which in turn may increase the mortality risk of patients with end-stage kidney disease [18,19]. The heterogeneous nature of hyperkalemia makes it difficult to simultaneously assess the risk of different types of adverse clinical events, raising the needs for personalized risk assessment strategies. However, to date, limited evidence is available for conducting risk evaluations of hyperkalemic patients in real-world settings.
Artificial intelligence (AI) in combination with electronic health records has been thought to have the potential to address risks for pathological conditions with heterogenous backgrounds by predicting one-dimensional outcomes based on patients’ multifactorial conditions [20]. In fact, the combination of novel machine learning technology and a high-dimensional real-world database has been shown to be effective for more accurate risk predictions of various diseases compared with conventional statistical risk modeling approaches [20,21]. Thus, it is quite natural to extend the AI approach to personalized risk prediction of hyperkalemic patients with multifactorial conditions.
This study aimed to develop and validate novel AI risk prediction models for hyperkalemic patients with a heterogeneous clinical background using two independent real-world databases. The new machine learning algorithms can assess the risk of mortality and cardiovascular and renal outcomes. The combination of machine learning technology and high-dimensional real-world data has the potential to provide practical predictive accuracy for the personalized detection of hyperkalemic patients at high risk of adverse clinical outcomes and may lead to the improvement of prognosis with more timely and appropriate treatment.

2. Materials and Methods

2.1. Study Design, Patient Selection, and Data Handling

Data used in this study were extracted from the databases provided by Medical Data Vision Co., Ltd. (MDV; Tokyo, Japan) and Real World Data Co., Ltd. (RWD; Kyoto, Japan). These databases include extensive data on prescriptions, procedures, examinations, laboratory data, and hospital diagnoses based on ICD-10 codes from clinical practice, covering hundreds of medical institutions across most geographic regions and all age groups in Japan. Detailed explanations of these data sources are described in the supplementary materials. Models were derived on a retrospective cohort of patients with hyperkalemia extracted from existing hospital records collected in MDV from 1 April 2008 to 30 September 2018.
We selected subjects with hyperkalemia from individuals with at least one serum potassium measurement and aged ≥18 years. Patients with hyperkalemia were defined as those with at least two episodes of elevated serum potassium levels ≥5.1 mmol/L within 12 months. Subjects who were already on dialysis prior to their first hyperkalemic episode, or who had cancer, or who had no history of either HF or CKD stage ≥3a were excluded to ensure substantial patient background homogeneity. The index date was the date of the first hyperkalemic episode, defined as the measurement of serum potassium level ≥5.1 mmol/L. Patients were followed up until the time of death, exit from the dataset or the end of study period, whichever came first.
The data handling flow of the internal dataset is depicted in Figure S1. The dataset of selected patients was divided randomly into two subsets: 80% of patients were included in the model derivation set and 20% were included in the internal validation set. To rigorously assess risk factors of patients, subjects whose hospital records were not available during prior 12 months of the index date were subsequently dropped for model derivation; however, those subjects were retained in the validation set to evaluate the model among broad types of hyperkalemic patients. The derivation set was used to derive the models and cross-validations. For external validation, we selected all patients based on the inclusion and exclusion criteria from the RWD database during the period of 1 January 2009, to 31 December 2019.

2.2. Risk Factors and Outcomes

We collected information on medications, medical history, and risk factors based on the information recorded during the 12 months prior to the index date. Risk factors included prescription of RAASi (including angiotensin-converting enzyme inhibitors, angiotensin receptor blockers, and mineralocorticoid receptor antagonists (MRAs)) and other hyperkalemia-inducing drugs, the presence of high-risk conditions (CKD, diabetes mellitus, HF and hypertension), and other comorbidities. We also collected information on laboratory values and typical therapies for hyperkalemia. Variables which were used as predictors for the model are listed in Table S1. Some data were missed particularly among the laboratory tests (Table S1). The number of missing data can be retrieved by deducting the observed rate of each variable from the total number of patients (n = 8752) in the derivation set. The handling of missing values for each machine learning algorithm can also be found in the method details of the supplementary materials.
The occurrence of clinical outcomes was searched over three years from the first hyperkalemic episode. The studied outcomes were all-cause death, renal replacement therapy introduction (RRT) including dialysis or kidney transplantation, hospitalization for HF (HHF), and cardiovascular events (myocardial infarction, arrhythmia, cardiac arrest, or stroke). Detailed definitions of these outcomes are listed in Table S2. Furthermore, we exploratorily tested various other types of clinical outcomes listed in Table S3.

2.3. Machine Learning Algorithms

We adopted three types of machine learning algorithms: multiple logistic regression (LR) with L1/L2 regularization [22], extreme gradient boosting (XGB) [23], and deep neural network (NN) [24]. These algorithms were selected based on previous reports showing successful risk predictions using high-dimensional electronical medical record data [25,26]. Models were separately built for the binary classification based on the probability for each clinical outcome; patients were classified as high risk if the probability of the outcome exceeded the pre-determined cut-off points. Detailed explanations of algorithms are described in the Supplementary Materials.
For hyperparameter optimizations of each model, the hyperparameter set that performed best under n-fold cross-validation (5-fold for LR/XGB and 3-fold for NN) was selected (Table S4). All procedures for model development were implemented using Python 3.7.

2.4. Selection of Clinical Variables

Of 81 clinical variables used in the initial models, we selected 64 common variables that can predict the risks of pre-defined clinical outcomes while maintaining the model performance. We took a two-phase approach for the selection. In phase one, we included all the 81 variables, and evaluated prediction accuracy of the models by area under receiver operator characteristics curve (AUROC) within the training dataset. In phase two, we summarized each variable importance by summing the values for all the outcomes and selected candidate variables for deletion according to the following criteria: (1) the rank of summed variable importance lower than 20%, (2) variables that were clinically similar to each other, or (3) variables made of other variables combination. We then evaluated AUROC for the clinical outcomes using experimentally built models by excluding the candidate variables one by one. We finally determined to select the 64 variables set since the prediction accuracy could no longer be maintained when the number of variables was reduced further than the 64 variables (Table S2).

2.5. Validation

The performance of the optimized model was first tested on the internal validation set. For each combination of outcomes and machine learning algorithms, AUROC values, specificity, sensitivity, positive predictive value (PPV), and negative predictive value (NPV) were calculated with the cut-off points of probability of outcomes, i.e., the point maximizing the sum of sensitivity + specificity − 1, herein defined as the best cut-off point. The best cut-off point was set as the cut-off value to the point on the ROC curve farthest from the diagonal line where AUC = 0.5. That is, (sensitivity + specificity − 1) was calculated to obtain the cut-off point that is the maximum value thereof. The point where this (sensitivity + specificity − 1) is the maximum value is defined as the Youden index that provides efficient tradeoff between sensitivity and specificity. An AUROC ≥ 0.80 was considered as an indicator of good prediction performance. To help interpret the instance, Shapley additive explanations (SHAP) values [27] were calculated for each outcome with variables ranked in the top 20 for importance.
The machine learning model which showed the best performance was subjected to external validation, where the model was applied to the external dataset extracted from RWD database. For each outcome, AUROCs, specificity, sensitivity, PPV, and NPV were calculated. The survival curve analysis was carried out based on the probability of clinical outcomes as a threshold. As a result, Kaplan–Meier curves layered in subgroups of high- and low-risk groups were drawn based on the best cut-off points. The survival probabilities between the two groups were verified by the log rank test. Since we could obtain the cause of hospitalization from part of patients (98.4%) in the external validation set, the outcome definitions of HHF and cardiovascular events were modified by counting all hospitalizations with relevant diagnostic codes used to define HF and cardiovascular events (Table S2). Given limitations of modified definitions for these outcomes, as a post hoc analysis, we performed the analysis in a subgroup of patients whose causal information of hospitalization events were available and applied the original definition used in the internal dataset. We also performed another condition of external validation analysis, by restricting the data collection period for input variables within one month after the first hyperkalemic episode for risk predictions of clinical outcomes that occurred after the data collection period, to assess the prediction performance for future adverse events based on the information collected shortly after hyperkalemic episodes. These external validation analyses were performed at an institution independent from the institution performing the model development to ensure reliability of results.

3. Results

3.1. Patient Selection and Characteristics

Out of 1,208,894 adult patients with at least one serum potassium measurement, we selected 24,949 hyperkalemic patients for model derivation. Among these patients, 4990 patients were held out for the internal validation set; after excluding 11,207 patients whose hospital records were not available during the 12 months prior to the hyperkalemic episode, we selected 8752 patients for the derivation set (Figure 1). For external validation, we selected 86,279 patients from RWD database based on the inclusion and exclusion criteria (Figure S2).
Table 1 shows the patient characteristics for model derivation, internal validation, and external validation sets. Patients included in the derivation and internal validation sets showed similar characteristics with a mean age of 75 years old and 54% males. The mean serum potassium level was 5.4 mmol/L. Approximately 80% and 50–60% of patients had CKD and HF, respectively. Patients included in the external validation set also showed similar age and gender distributions with a mean age of 75 years old and 54% males. The mean serum potassium level was 5.7 mmol/L. 65% and 45% of patients had CKD and HF, respectively.

3.2. Model Derivation and Internal Validation

During the study period, 1452 deaths (16.6%), 887 RRT (10.1%), 1345 HHF (15.4%), and 621 cardiovascular events (7.1%) were observed within three years after hyperkalemic episodes in the derivation set. Table 2 presents the prediction performance of XGB, LR, and NN models on the internal validation set with the best cut-off value. A higher prediction performance was obtained in predicting the outcomes with XGB than LR and NN models. The AUROC curves for each model are shown in Figure 2. With XGB, the AUROCs for all outcomes exceeded the threshold for good prediction performance (AUROC ≥ 0.80). The AUROCs of XGB vs. LR for death, RRT, HHF, and cardiovascular events were 0.823 (0.805–0.841) vs. 0.809 (0.791–0.828), 0.957 (0.947–0.967) vs. 0.947 (0.936–0.959), 0.863 (0.846–0.880) vs. 0.838 (0.820–0.856), and 0.809 (0.784–0.834) vs. 0.798 (0.772–0.823), respectively. The results of exploratory outcomes including the prediction performance and AUROC curves are shown in Table S5 and Figure S3.
The best cut-off point was set as the cut-off value to the point on the ROC curve that maximizes the sum of sensitivity + specificity – 1, i.e., the Youden index, that provides efficient tradeoff between sensitivity and specificity.
Figure 3 shows the SHAP summary plots of the top 20 most important variables for XGB. For each type of outcomes, different sets of variables were ranked as variables with high importance. Age, estimated glomerular filtration rate (eGFR), CKD stage, and history of emergency room visit were commonly observed among variables with high importance. Likewise, prescriptions of drugs such as heparin, loop diuretics and sodium bicarbonate, RAASi discontinuation within one year from hyperkalemic episode, and some types of laboratory data including HbA1c, triglyceride, and brain natriuretic peptide commonly appeared among the top 20 most important variables across all outcomes. Compared to LR (Figure 4), XGB considered a broader magnitude of contributions by each clinical variable for risk predictions.

3.3. External Validation

Based on the performance evaluation using the internal validation set, XGB was applied to the external validation set. The prediction performances are shown in Table 3. The AUROCs for death, RRT, HHF, and cardiovascular events were 0.747 (0.742–0.753), 0.888 (0.882–0.894), 0.673 (0.666–0.679), and 0.585 (0.578–0.591), respectively (Figure S4). The Kaplan–Meier curves of high- and low-risk groups based on the best cut-off values showed higher incidence of all outcomes in the high-risk group (p < 0.005; log-rank test) (Figure 5). When we performed the analysis in a subgroup of patients (n = 84,904) whose causal information of hospitalization events were available and applied the original definitions of outcomes used in the derivation set, the AUROCs for death, RRT, HHF, and cardiovascular events were 0.746 (0.741–0.752), 0.887 (0.881–0.893), 0.784 (0.773–0.796), and 0.636 (0.619–0.652), respectively (Figure S5).
The prediction performances were similar when the data collection period was restricted within one month after hyperkalemic episodes and were used to predict the risk of clinical outcomes that occurred after the data collection period. The AUROCs for death, RRT, HHF, and cardiovascular events were 0.711 (0.704–0.718), 0.867 (0.859–0.874), 0.662 (0.655–0.668), and 0.586 (0.579–0.593), respectively (Figure S6; Table S6).

4. Discussion

We developed and tested the machine learning models for risk predictions of mortality and adverse clinical outcomes over three years after the first hyperkalemic episode. Risk models were built based on multifaceted information obtained from hyperkalemic patients. Among the machine learning models tested, XGB provided the best prediction performance, resulting in AUROCs over 0.8 for all outcomes. The XGB model was further tested on the external validation set and showed that the prediction performances were maintained for death and RRT, but decreased for HHF and cardiovascular events. The high-risk group based on stratification by the machine learning models showed higher incidences for all outcomes.
The prediction models for similar types of outcomes were reported in several studies. A study in patients with HF with preserved ejection fraction showed AUROCs of 0.72 to predict mortality and 0.76 to predict HHF [28]. Another study in dialysis patients showed an AUROC of 0.75 to predict one-year mortality [29]. In our study, the results of internal validation showed prediction performance for death and cardiovascular events were in a similar range, while the prediction performance for RRT and HHF were numerically higher. Although the differences between XGB and LR were not substantial, the XGB models consistently performed better than LR models. Furthermore, the XGB models provided numerically higher sensitivity (recall) and positive predictive values (precision) compared to LR models. These differences could be notable when the model is used for screening patients at high-risk of adverse clinical events. The results of external validation showed the prediction performance of death and RRT were maintained at high levels with some decrease in AUROCs of 0.07–0.08. Considering the models were not optimized for the external dataset, some decreases in prediction performance were within the expected range; however, the decrease of HHF and cardiovascular events were greater by approximately 0.2 AUROCs. This variation could partially be explained by the modified outcome definitions of hospitalization events used in the external validation set. The inclusion of hospitalization events not relevant for HF or cardiovascular events could lead to over estimation of these outcomes in both the high- and low-risk groups, resulting in decreased prediction performance. In fact, the prediction performances were increased by 0.05–0.11 when we applied the original definition of these outcomes to the subset of external validation cohort. These findings suggest that the further performance decline in HHF and cardiovascular events was affected by the modification of outcome definitions.
The important variables shown in the SHAP summary plots suggested that contributions of each clinical variable for risk predictions were identical by outcome types. HF diagnosis, history of emergency visit, high brain natriuretic peptide value, and older age positively related to the risk of HHF, while low eGFR value, advanced CKD stage, history of acute kidney injury, and younger age contributed to the risk of RRT. Likewise, history of cerebrovascular disease, atrial fibrillation or atrial flutter, and myocardial infarction contributed to the risk of cardiovascular events, while older age, history of chronic pulmonary disease, sepsis, and emergency room visit contributed to the risk of death. Interestingly, some variables provided interpretations inconsistent with the clinical knowledge. For instance, our results showed not having RAASi discontinuation after hyperkalemia contributed to the risk of clinical outcomes. Previous studies reported increased risk of adverse clinical outcomes in patients who discontinued RAASi treatment [16,17]. This discrepancy may be explained partially by the fact that the patients not on RAASi treatment at first hyperkalemic episode were also included in the group of “not having RAASi discontinuation” after hyperkalemia. In other words, there were two types of patients including patients with continued RAASi treatment (n = 2566) or those without RAASi treatment (n = 3677) in the population of “not having RAASi discontinuation”. Likewise, the prescription of some medications may not show the risks themselves, but the risk of underlying pathophysiological conditions indicated for such medications. For instance, the prescription of MRA, which is commonly prescribed for the treatment of HF, was selected in the important variables for the risk prediction of HHF. Likewise, treatment by sodium bicarbonate may indicate that patients had metabolic acidosis and were at risk for end-stage kidney disease. Therefore, we must be careful with these interpretations as most predictors were taken from the date of onset of hyperkalemia; and the importance of these variables does not mean the effect of clinical variables as treatments modify the risk of each outcome. The model should merely be used to evaluate the risk of adverse clinical outcomes based on the presented conditions of patients.
Recent studies have shown that hyperkalemic patients are at high risk of long-term cardiovascular and renal outcomes and rapid kidney function decline [13,14]. On the other hand, hyperkalemic patients often have recurrent hyperkalemic episodes [12]. Therefore, treatment of hyperkalemia needs to consider both risks of hyperkalemia and long-term clinical outcomes. However, the treatment for hyperkalemia is complex. Numerous studies have reported that the discontinuation of RAASi treatment to lower serum potassium levels is associated with increased risk of adverse clinical outcomes while reducing the risk of hyperkalemia [16,17]. Likewise, intense dietary restrictions to mitigate potassium intake for hyperkalemia may lead to the reduced intake of a healthy diet, which in turn may increase the mortality risk of patients with end-stage kidney disease [18,19]. In addition, it has been reported that the increased net endogenous acid production (NEAP) by diet was associated with the progression of the renal function decline [30,31]. Since NEAP is an index proportional to protein intake/potassium intake, NEAP can be decreased by high-potassium diet. In fact, several studies reported that the lower CKD risk associated with the high-potassium diet including fruits and vegetables and the increased CKD progression risk associated with low-potassium diets [32,33] or decreased potassium urinary excretion [34,35]. KDOQI clinical practice guideline for nutrition in CKD 2020 Update recommends that reducing NEAP through increased dietary intake of fruits and vegetables in order to reduce the rate of decline of residual kidney function [36]. These data suggest that while potassium restriction can be beneficial for high-risk hyperkalemia patients, intense potassium restriction for low-risk hyperkalemia patients may contribute to higher risk of worsening renal function than risks due to hyperkalemia. Therefore, potassium diet should be carefully guided by considering the risk–benefit balance and each patient’s condition. Nevertheless, it is also true that appropriate dietary guidance based on risk assessment is a very challenging clinical entity because of no indicators, biomarkers, or criteria available for hyperkalemia prognosis at the moment. The developed models provide information on mortality, and cardiovascular and renal outcome risks, within three years after hyperkalemic episodes, which may be used to identify hyperkalemic patients at high risk for adverse clinical outcomes. Therefore, the risk prediction model can play an important role in the personalized risk evaluation of hyperkalemic patients, which enables more proper balancing of the dietary restriction and medical therapy for better clinical outcomes. The treatment of hyperkalemia often leads to the discontinuation or restriction of beneficial but potassium-increasing therapy such as RAASi and high-potassium diet including fruits and vegetables. Based on the personalized risk evaluation of hyperkalemic patients, the AI model aids the mitigation of the adverse event risks of patients while retaining the benefit of these life-saving therapies.

5. Strengths and Limitations

One important strength is that the model was tested on an external dataset including more than ten times the number of patients than the derivation set. The prediction performance for the all-cause death, and higher incidence of all clinical outcomes in the high-risk group suggested that the model would work on datasets collected under different settings. However, the prediction performance for HHF and cardiovascular events was decreased, suggesting the need for further attempts to improve the prediction performances. The modifications of outcome definition due to the lack of causal information for hospitalization events could lead to lower prediction performance; therefore, further studies are warranted using clinical outcomes with high specificity applicable across different datasets. Several other approaches may also be considered such as increasing sizes and variety of the training dataset. Advanced technologies such as transfer learning have proven successful to maintain good prediction performance of prediction models across different datasets [37,38]. In this study, we selected the sophisticated machine learning algorithms that have proven effective in previous reports. However, available machine learning algorithms, particularly simpler algorithms, were not comprehensively studied.
The external validation was performed at an independent institution from the institution that performed the model derivation to ensure the reliability of the results. Due to limitations in exchanging the detailed learning conditions, we did not optimize the model in the external dataset; and we did not compare the different machine learning models in the external dataset since the comparison of unoptimized models might not be an ideal condition. However, further studies are needed to externally validate the models in a distinct population or database. Building predictive models using real-world databases had the advantage of large sample sizes representing various clinical settings. However, available information was limited to structured data. Furthermore, MDV collects only deaths that occurred in hospital; therefore, we could not retrieve information on deaths that occurred outside of hospitals. There are some redundancies among the predictor variables used in the final model. For instance, both eGFR value and CKD stage were used as predictor variables. Although we made effort to reduce such redundancies in the variable selection process, they could not be fully removed for maintaining the satisfactory prediction performance of the model. The machine learning modeling algorithm such as the XGB modeling is effective when there are several types of relationships between explanatory variables and objective variables dependent on other variables. Therefore, the application of the machine learning algorithm can aid in the risk prediction based on the numerous types of clinical variables.
Finally, it is important to note that the risk models did not explicitly nor implicitly provide information on the treatment effects of any therapeutic interventions. The treatment of high-risk patients would thoroughly be dependent on existing therapeutic guidelines and assessments by treating physicians based on their clinical knowledge.

6. Conclusions

We report the development and validation of risk prediction models using novel machine learning technologies to detect hyperkalemic patients at high risk of mortality, and cardiovascular and renal outcomes, over three years after their first hyperkalemic episode. Although further studies are warranted to improve model applicability in different settings, these findings suggested a possible use of machine learning models for real-world risk assessment as a guide for observation and/or treatment decision making with the potential to lead to the improvement of long-term cardiovascular and renal outcomes, and mortality in patients with hyperkalemia, while retaining the benefit of life-saving therapies.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/nu14214614/s1, Table S1: Clinical variables used as predictors for the model; Table S2: Definitions of primary and secondary clinical outcomes; Table S3: Definitions of exploratory clinical outcomes; Table S4: Tuning hyperparameters for each modeling algorithm; Table S5: Prediction performance of the machine learning models for exploratory outcomes on the internal validation set. Table S6: Prediction performance of the extreme gradient boosting models on the external validation set based on the restricted condition; Table S7: TRIPOD checklist; Figure S1: Data handling of the internal dataset; Figure S2: Patient flow diagram for external validation; Figure S3: Receiver operator characteristics curves of the machine learning model in the external validation set applying the same outcome definition used in the derivation set; Figure S6: Kaplan-Meier plots of high- and low-risk groups based on risk predictions in the external validation set based on the restricted condition.

Author Contributions

Conception and design: all authors. Analysis and interpretation of data: all authors. Data verification: S.O. and M.O. Drafting the article: S.O., M.O., X.M. and T.Y. Revising the article: E.K., S.O., S.K., M.O., X.M., T.K., K.S. and T.Y. Providing intellectual content of critical importance to the work described: E.K., S.O., S.K., M.O., X.M., T.K., K.S. and T.Y. Final responsibility in the decision to submit this manuscript for publication: E.K., S.O., S.K., M.O., X.M., T.K., K.S. and T.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This study was funded by AstraZeneca.

Institutional Review Board Statement

As this study used patient records which were already anonymized and deidentified, the ethics review was waived. The use of deidentified data was in accordance with the local regulations.

Informed Consent Statement

Patient consent was waived because the data used in this study was already anonymized and deidentified. The use of deidentified data was in accordance with local regulations.

Data Availability Statement

The data included in this manuscript were used under contract with the supplier (Medical Data Vision Co., Ltd. and Real World Data Co., Ltd.) and cannot be freely distributed by the authors.

Acknowledgments

We are grateful to Masatsugu Arai, Hyosung Kim, Hitomi Motobayashi, and Takashi Kikuchi from AstraZeneca for statistical inputs, valuable comments, and logistic support; Andrew P. Craig, Seok-Won Kim, and Sven Demiya from IQVIA Solutions Japan K.K. for their input on the study design and support for statistical analyses; and Jin Nishimura and Keiji Yokota from RWD Co., Ltd., for their support for statistical analyses for the external validation in this study.

Conflicts of Interest

This study and the corresponding analyses were supported and funded by AstraZeneca. All authors from AstraZeneca participated in the organization of the study design, interpretation of the results, contribution to the manuscript drafts and revisions, and the decision to approve publication of the final manuscript. E.K. reports consultancy and speaker bureau fees from AstraZeneca. S.O. and T.Y. are employed by AstraZeneca. S.K. reports investigator-initiated grant funding from Bayer and Daiichi Sankyo, and personal fees from AstraZeneca, Bayer, Bristol Myers Squibb and Pfizer. M.O. and X.M. are employed by IQVIA Solutions Japan K.K. T.K. is employed by RWD Co. Ltd. which supports maintenance of the RWD database owned by the Health, Clinic and Education Information Evaluation Institute (Kyoto, Japan). IQVIA Solutions Japan K.K. did not own the database used, neither MDV nor RWD databases. Therefore, both MDV and RWD databases were not concerned with any conflicts of interest. In this study, both IQVIA Solution Japan K.K. and RWD Co. Ltd. were funded by AstraZeneca to perform their roles. The model derivation and internal validation were performed by IQVIA Solutions Japan K.K. and the external validation was performed by RWD Co., Ltd.

References

  1. Gumz, M.L.; Rabinowitz, L.; Wingo, C.S. An Integrated View of Potassium Homeostasis. N. Engl. J. Med. 2015, 373, 60–72. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Palmer, B.F. Regulation of Potassium Homeostasis. Clin. J. Am. Soc. Nephrol. 2015, 10, 1050–1060. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Chaitman, M.; Dixit, D.; Bridgeman, M.B. Potassium-Binding Agents for the Clinical Management of Hyperkalemia. Pharm. Ther. 2016, 41, 43–50. [Google Scholar]
  4. Khanagavi, J.; Gupta, T.; Aronow, W.S.; Shah, T.; Garg, J.; Ahn, C.; Sule, S.; Peterson, S. Hyperkalemia among hospitalized patients and association between duration of hyperkalemia and outcomes. Arch. Med. Sci. 2014, 10, 251–257. [Google Scholar] [CrossRef]
  5. Palmer, B.F. Managing hyperkalemia caused by inhibitors of the renin-angiotensin-aldosterone system. N. Engl. J. Med. 2004, 351, 585–592. [Google Scholar] [CrossRef] [Green Version]
  6. Kovesdy, C.P. Updates in hyperkalemia: Outcomes and therapeutic strategies. Rev. Endocr Metab. Disord 2017, 18, 41–47. [Google Scholar] [CrossRef] [Green Version]
  7. Kovesdy, C.P. Management of hyperkalaemia in chronic kidney disease. Nat. Rev. Nephrol. 2014, 10, 653–662. [Google Scholar] [CrossRef]
  8. Tromp, J.; van der Meer, P. Hyperkalaemia: Aetiology, epidemiology, and clinical significance. Eur. Heart J. Suppl. 2019, 21, A6–A11. [Google Scholar] [CrossRef] [Green Version]
  9. Luo, J.; Brunelli, S.M.; Jensen, D.E.; Yang, A. Association between Serum Potassium and Outcomes in Patients with Reduced Kidney Function. Clin. J. Am. Soc. Nephrol. 2016, 11, 90–100. [Google Scholar] [CrossRef] [Green Version]
  10. Collins, A.J.; Pitt, B.; Reaven, N.; Funk, S.; McGaughey, K.; Wilson, D.; Bushinsky, D.A. Association of Serum Potassium with All-Cause Mortality in Patients with and without Heart Failure, Chronic Kidney Disease, and/or Diabetes. Am. J. Nephrol. 2017, 46, 213–221. [Google Scholar] [CrossRef]
  11. Krogager, M.L.; Torp-Pedersen, C.; Mortensen, R.N.; Køber, L.; Gislason, G.; Søgaard, P.; Aasbjerg, K. Short-term mortality risk of serum potassium levels in hypertension: A retrospective analysis of nationwide registry data. Eur. Heart J. 2017, 38, 104–112. [Google Scholar] [CrossRef] [PubMed]
  12. Kashihara, N.; Kohsaka, S.; Kanda, E.; Okami, S.; Yajima, T. Hyperkalemia in Real-World Patients under Continuous Medical Care in Japan. Kidney Int. Rep. 2019, 4, 1248–1260. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  13. Kovesdy, C.P.; Matsushita, K.; Sang, Y.; Brunskill, N.J.; Carrero, J.J.; Chodick, G.; Hasegawa, T.; Heerspink, H.L.; Hirayama, A.; Landman, G.W.D.; et al. Serum potassium and adverse outcomes across the range of kidney function: A CKD Prognosis Consortium meta-analysis. Eur. Heart J. 2018, 39, 1535–1542. [Google Scholar] [CrossRef] [Green Version]
  14. Kohsaka, S.; Okami, S.; Kanda, E.; Kashihara, N.; Yajima, T. Cardiovascular and Renal Outcomes Associated with Hyperkalemia in Chronic Kidney Disease: A Hospital-Based Cohort Study. Mayo Clin. Proc. Innov. Qual. Outcomes 2021, 19, 274–285. [Google Scholar] [CrossRef]
  15. Fauvel, J.P.; Gueyffier, F.; Thijs, L.; Ducher, M. Combined effect of renal function and serum potassium level in sudden cardiac death in aging hypertensive subjects. Hypertens. Res. 2018, 41, 469–474. [Google Scholar] [CrossRef] [PubMed]
  16. Fu, E.L.; Evans, M.; Clase, C.M.; Tomlinson, L.A.; van Diepen, M.; Dekker, F.W.; Carrero, J.J. Stopping Renin-Angiotensin System Inhibitors in Patients with Advanced CKD and Risk of Adverse Outcomes: A Nationwide Study. J. Am. Soc. Nephrol. 2021, 32, 424–435. [Google Scholar] [CrossRef]
  17. Linde, C.; Bakhai, A.; Furuland, H.; Evans, M.; McEwan, P.; Ayoubkhani, D.; Qin, L. Real-World Associations of Renin-Angiotensin-Aldosterone System Inhibitor Dose, Hyperkalemia, and Adverse Clinical Outcomes in a Cohort of Patients with New-Onset Chronic Kidney Disease or Heart Failure in the United Kingdom. J. Am. Heart Assoc. 2019, 8, e012655. [Google Scholar] [CrossRef]
  18. Saglimbene, V.M.; Wong, G.; Ruospo, M.; Almer, S.C.; Garcia-Larsen, V.; Natale, P.; Teixeira-Pinto, A.; Campbell, K.L.; Carrero, J.J.; Stenvinkel, P.; et al. Fruit and Vegetable Intake and Mortality in Adults undergoing Maintenance Hemodialysis. Clin. J. Am. Soc. Nephrol. 2019, 14, 250–260. [Google Scholar] [CrossRef] [Green Version]
  19. Kelly, J.T.; Palmer, S.C.; Wai, S.N.; Ruospo, M.; Carrero, J.J.; Campbell, K.L.; Strippoli, G.F. Healthy Dietary Patterns and Risk of Mortality and ESRD in CKD: A Meta-Analysis of Cohort Studies. Clin. J. Am. Soc. Nephrol. 2017, 12, 272–279. [Google Scholar] [CrossRef] [Green Version]
  20. Raket, L.L.; Jaskolowski, J.; Kinon, B.J.; Brasen, J.C.; Jönsson, L.; Wehnert, A.; Fusar-Poli, P. Dynamic ElecTronic hEalth reCord deTection (DETECT) of individuals at risk of a first episode of psychosis: A case-control development and validation study. Lancet Digit. Health 2020, 2, e229–e239. [Google Scholar] [CrossRef]
  21. Fox, K.A.A.; Lucas, J.E.; Pieper, K.S.; Bassand, J.P.; Camm, A.J.; Fitzmaurice, D.A.; Goldhaber, S.Z.; Goto, S.; Haas, S.; Hacke, W.; et al. Improved risk stratification of patients with atrial fibrillation: An integrated GARFIELD-AF tool for the prediction of mortality, stroke and bleed in patients with and without anticoagulation. BMJ Open 2017, 7, e017157. [Google Scholar] [CrossRef] [PubMed]
  22. Ng, A.Y. Feature selection, L1 vs. L2 regularization, and rotational invariance. In Proceedings of the Twenty-First International Conference on Machine Learning, New York, NY, USA, 4–8 July 2004; Volume 2004, p. 78. [Google Scholar]
  23. Chen, T.; Guestrin, C. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; Volume 2016, pp. 785–794. [Google Scholar]
  24. Schmidhuber, J. Deep learning in neural networks: An overview. Neural Netw. 2015, 61, 85–117. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  25. Ravizza, S.; Huschto, T.; Adamov, A.; Böhm, L.; Büsser, A.; Flöther, F.F.; Hinzmann, R.; König, H.; McAhren, S.M.; Robertson, D.H.; et al. Predicting the early risk of chronic kidney disease in patients with diabetes using real-world data. Nat. Med. 2019, 25, 57–59. [Google Scholar] [CrossRef] [PubMed]
  26. Makino, M.; Yoshimoto, R.; Ono, M.; Itoko, T.; Katsuki, T.; Koseki, A.; Kudo, M.; Haida, K.; Kuroda, J.; Yanagiya, R.; et al. Artificial intelligence predicts the progression of diabetic kidney disease using big data machine learning. Sci. Rep. 2019, 9, 11862. [Google Scholar] [CrossRef] [Green Version]
  27. Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. Adv. Neural Inf. Processing Syst. 2017, 2017, 4765–4774. [Google Scholar]
  28. Angraal, S.; Mortazavi, B.J.; Gupta, A.; Khera, R.; Ahmad, T.; Desai, N.R.; Jacoby, D.L.; Masoudi, F.A.; Spertus, J.A.; Krumholz, H.M. Machine Learning Prediction of Mortality and Hospitalization in Heart Failure with Preserved Ejection Fraction. JACC Heart Fail. 2020, 8, 12–21. [Google Scholar] [CrossRef]
  29. Akbilgic, O.; Obi, Y.; Potukuchi, P.K.; Karabayir, I.; Nguyen, D.V.; Soohoo, M.; Streja, E.; Molnar, M.Z.; Rhee, C.M.; Kalantar-Zadeh, K.; et al. Machine Learning to Identify Dialysis Patients at High Death Risk. Kidney Int. Rep. 2019, 4, 1219–1229. [Google Scholar] [CrossRef] [Green Version]
  30. Kanda, E.; Ai, M.; Kuriyama, R.; Yoshida, M.; Shiigai, T. Dietary acid intake and kidney disease progression in the elderly. Am. J. Nephrol. 2014, 39, 145–152. [Google Scholar] [CrossRef]
  31. Scialla, J.J.; Appel, L.J.; Astor, B.C.; Miller, E.R., 3rd; Beddhu, S.; Woodward, M.; Parekh, R.S.; Anderson, C.A.; African American Study of Kidney Disease and Hypertension Study Group. Net endogenous acid production is associated with a faster decline in GEF in African Americans. Kidney Int. 2012, 82, 106–112. [Google Scholar] [CrossRef] [Green Version]
  32. Jhee, J.H.; Kee, Y.K.; Park, J.T.; Chang, T.I.; Kang, E.W.; Yoo, T.H.; Kang, S.W.; Han, S.H. A diet rich in vegetables and fruit and incident CKD: A community-based prospective cohort study. Am. J. Kidney Dis. 2019, 74, 491–500. [Google Scholar] [CrossRef]
  33. Toba, K.; Hosojima, M.; Kobasawa, H.; Kuwahara, S.; Murayama, T.; Yamamoto-Kabasawa, K.; Kaseda, R.; Wada, E.; Watanabe, R.; Tanabe, N.; et al. Higher estimated net endogenous acid production with lower intake of fruits and vegetables based on a dietary survey is associated with the progression of chronic kidney disease. BMC Nephrol. 2019, 20, 421. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  34. Kim, H.W.; Park, J.T.; Yoo, T.H.; Lee, J.; Chung, W.; Lee, K.B.; Chae, D.W.; Ahn, C.; Kang, S.W.; Choi, K.H.; et al. Urinary potassium excretion and progression of CKD. Clin. J. Am. Soc. Nephrol. 2019, 14, 330–340. [Google Scholar] [CrossRef] [PubMed]
  35. Araki, S.; Haneda, M.; Koya, D.; Kondo, K.; Tanaka, S.; Arima, H.; Kume, S.; Nakazawa, J.; Chin-Kanasaki, M.; Ugi, S.; et al. Urinary potassium excretion and renal and cardiovascular complications in patients with type 2 diabetes and normal renal function. Clin. J. Am. Soc. Nephrol. 2015, 10, 2152–2158. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  36. Ikizler, T.A.; Burrowes, J.D.; Byham-Gray, L.D.; Campbell, K.L.; Carrero, J.J.; Chan, W.; Fouque, D.; Friedman, A.N.; Ghaddar, S.; Goldstein-Fuchs, D.J.; et al. Kdoqi Clinical Practice Guideline for Nutrition in Ckd: 2020 Update. Am. J. Kidney Dis. 2020, 76, S1–S107. [Google Scholar] [CrossRef]
  37. Kholghi, M.; Sitbon, L.; Zuccon, G.; Nguyen, A. Active learning: A step towards automating medical concept extraction. J. Am. Med. Inform. Assoc. 2016, 23, 289–296. [Google Scholar] [CrossRef]
  38. Lv, X.; Guan, Y.; Deng, B. Transfer learning based clinical concept extraction on data from multiple sources. J. Biomed. Inform. 2014, 52, 55–64. [Google Scholar] [CrossRef]
Figure 1. Patient flow diagram for model development.
Figure 1. Patient flow diagram for model development.
Nutrients 14 04614 g001
Figure 2. Receiver operator characteristics curves evaluated on the internal validation set. The black rings on each plot show the best-cut off values. XGB, extreme gradient boosting; LR, logistic regression; NN, neural network; AUROC, area under the operator receiver characteristics curve.
Figure 2. Receiver operator characteristics curves evaluated on the internal validation set. The black rings on each plot show the best-cut off values. XGB, extreme gradient boosting; LR, logistic regression; NN, neural network; AUROC, area under the operator receiver characteristics curve.
Nutrients 14 04614 g002
Figure 3. Shapley additive explanations summary plots of the top 20 most important variables for the extreme gradient boosting model.
Figure 3. Shapley additive explanations summary plots of the top 20 most important variables for the extreme gradient boosting model.
Nutrients 14 04614 g003
Figure 4. Shapley additive explanations summary plots of the top 20 most important variables for the logistic regression model.
Figure 4. Shapley additive explanations summary plots of the top 20 most important variables for the logistic regression model.
Nutrients 14 04614 g004
Figure 5. Kaplan–Meier plots of high- and low-risk groups based on risk predictions in the external validation set.
Figure 5. Kaplan–Meier plots of high- and low-risk groups based on risk predictions in the external validation set.
Nutrients 14 04614 g005
Table 1. Characteristics of patients at the first hyperkalemic episode in the derivation, internal validation, and external validation sets.
Table 1. Characteristics of patients at the first hyperkalemic episode in the derivation, internal validation, and external validation sets.
Derivation Set
(N = 8752)
Internal Validation Set
(N = 4990)
External Validation Set
(N = 86,279)
Age (years)
mean ± SD75.7 ± 12.474.9 ± 12.874.9±13.1
Gender, male, n (%)4717 (53.9)2697 (54.1)46,976 (54.4)
Follow up time (days)
mean ± SD755.2 ± 641.6805.3 ± 743.4664.2 ± 443.3
Serum potassium value (mmol/L)
mean ± SD5.4 ± 0.45.5 ± 0.55.7 ± 2.2
Serum potassium value group, n (%)
≥5.1 and <5.5 mmol/L6326 (72.3)3347 (67.1)55,984 (64.9)
≥5.5 and <6.0 mmol/L1727 (19.7)1094 (21.9)18,443 (21.4)
≥6.0 and <6.5 mmol/L434 (5.0)328 (6.6)5656 (6.6)
≥6.5 and <7.0 mmol/L145 (1.7)123 (2.5)2492 (2.9)
≥7.0 mmol/L120 (1.4)98 (2.0)3704 (4.3)
CKD, n (%)6854 (78.3)4033 (80.8)56,224 (65.2)
Stage 127 (0.4)11 (0.3)654 (1.2)
Stage 2165 (2.4)80 (2.0)3771 (6.7)
Stage 3a1215 (17.7)628 (15.6)8607 (15.3)
Stage 3b1944 (28.4)1073 (26.6)12,863 (22.9)
Stage 42212 (32.3)1215 (30.1)14,570 (25.9)
Stage 51,291 (18.8)1025 (25.4)15,759 (28.0)
HF, n (%)5206 (59.5)2628 (52.7)38,955 (45.2)
Diabetes, n (%)4954 (56.6)2478 (49.7)31,073 (36.0)
Hypertension, n (%)7247 (82.8)3605 (72.2)31,956 (37.0)
Dyslipidemia, n (%)3039 (34.7)1391 (27.9)17,194 (19.9)
Comorbidity, n (%)
Myocardial infarction382 (4.4)268 (5.4)5,322 (6.2)
Peripheral vascular disease1648 (18.8)798 (16.0)9,844 (11.4)
Cerebrovascular disease2,567 (29.3)1255 (25.2)13,455 (15.6)
Chronic pulmonary disease1821 (20.8)829 (16.6)8,620 (10.0)
Moderate to severe disease130 (1.5)68 (1.4)868 (1.0)
Atrial flutter or atrial fibrillation1846 (21.1)900 (18.0)9,827 (11.4)
Valvular heart disease1347 (15.4)623 (12.5)8,594 (10.0)
Acute kidney injury385 (4.4)309 (6.2)3,271 (3.8)
Sepsis1161 (13.3)537 (10.8)7,178 (8.3)
Gastrointestinal bleeding320 (3.7)178 (3.6)3,330 (3.9)
Peripheral oedema343 (3.9)150 (3.0)926 (1.1)
eGFR value (mL/min/1.73 m2)
mean ± SD35.3 ± 22.032.9 ± 21.737.7 ± 26.6
RAASi treatment, n (%)5075 (58.0)2485 (49.8)30,445 (35.3)
Angiotensin converting enzyme inhibitors1,041 (11.9)555 (11.1)7,629 (8.8)
Angiotensin receptor blockers3653 (41.7)1755 (35.2)21,475 (24.9)
MRA1,820 (20.8)881 (17.7)9,003 (10.4)
Hyperkalemia treatment, n (%)
Thiazide diuretics264 (3.0)122 (2.4)3,472 (4.0)
Loop diuretics2186 (25.0)1251 (25.1)26,134 (30.3)
Calcium gluconate181 (2.1)151 (3.0)2,587 (3.0)
Sodium bicarbonate658 (7.5)402 (8.1)1,086 (1.3)
Potassium binder (SPS/CPS)607 (6.9)404 (8.1)4,388 (5.1)
Glucose injection and insulin181 (2.1)133 (2.7)972 (1.1)
SD, standard deviation; CKD, chronic kidney disease; HF, heart failure; eGFR, estimated glomerular filtration rate; RAASi, renin-angiotensin-aldosterone system inhibitor; MRA, mineralcorticoid receptor antagonist; SPS, sodium polystyrene sulfonate; CPS, calcium polystyrene sulfonate. The unobserved data (missing data) for laboratory values were imputed in the LR and NN models. The unobserved data for binary variables, such as diagnosis and prescription, responded to negative (the event did not happen), and were set to 0 in all the models.
Table 2. Prediction performance of the machine learning models on the internal validation set.
Table 2. Prediction performance of the machine learning models on the internal validation set.
OutcomeML AlgorithmAUROCSensitivitySpecificityPPVNPV
Cut-off = 0.5
All-cause deathXGB0.8230.2440.9660.5940.863
LR0.8090.2240.9640.5560.860
NN0.7410.2850.9350.4700.866
Introduction of RRTXGB0.9570.9030.8930.5940.981
LR0.9470.6120.9670.7610.935
NN0.9230.5840.9660.7500.930
Hospitalization for HFXGB0.8630.4030.9670.6800.903
LR0.8380.3300.9670.6320.892
NN0.8390.4380.9480.5940.907
Cardiovascular eventsXGB0.8090.1070.9980.8100.920
LR0.7980.0950.9960.7000.919
NN0.7830.2860.9820.6030.934
Best cut-off
All-cause deathXGB0.8230.8190.6770.3390.949
LR0.8090.8020.6760.3340.944
NN0.7410.6700.6900.3040.912
Introduction of RRTXGB0.9570.8990.9030.6160.981
LR0.9470.9140.8670.5440.983
NN0.9230.8660.8620.5220.974
Hospitalization for HFXGB0.8630.7510.8130.4110.949
LR0.8380.7430.7970.3890.947
NN0.8390.7080.8300.4200.942
Cardiovascular eventsXGB0.8090.6390.8690.3200.961
LR0.7980.6370.8580.3020.961
NN0.7830.7460.6890.1890.965
ML, machine learning; AUROC, area under the receiver operator characteristic curve; PPV, positive predictive value; NPV, negative predictive value; HF, heart failure; RRT, renal replacement therapy; XGB, extreme gradient boosting; LR, logistic regression; NN, neural network.
Table 3. Prediction performance of the extreme gradient boosting models on the external validation set.
Table 3. Prediction performance of the extreme gradient boosting models on the external validation set.
OutcomeAUROCSensitivitySpecificityPPVNPV
All-cause death0.7470.7570.6130.2090.949
Introduction of RRT0.8880.5550.9160.2850.971
Hospitalization for HF0.6730.4450.7670.1830.922
Cardiovascular events0.5850.3260.7710.1410.909
ML, machine learning; AUROC, area under the receiver operator characteristic curve; PPV, positive predictive value; NPV, negative predictive value; HF, heart failure; RRT, renal replacement therapy. Calibration analysis was made based on the best-cut off values. The best cut-off point was set as the cut-off value to the point on the ROC curve that maximizes the sum of sensitivity + specificity − 1, i.e., the Youden index that provides efficient tradeoff between sensitivity and specificity.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kanda, E.; Okami, S.; Kohsaka, S.; Okada, M.; Ma, X.; Kimura, T.; Shirakawa, K.; Yajima, T. Machine Learning Models Predicting Cardiovascular and Renal Outcomes and Mortality in Patients with Hyperkalemia. Nutrients 2022, 14, 4614. https://doi.org/10.3390/nu14214614

AMA Style

Kanda E, Okami S, Kohsaka S, Okada M, Ma X, Kimura T, Shirakawa K, Yajima T. Machine Learning Models Predicting Cardiovascular and Renal Outcomes and Mortality in Patients with Hyperkalemia. Nutrients. 2022; 14(21):4614. https://doi.org/10.3390/nu14214614

Chicago/Turabian Style

Kanda, Eiichiro, Suguru Okami, Shun Kohsaka, Masafumi Okada, Xiaojun Ma, Takeshi Kimura, Koichi Shirakawa, and Toshitaka Yajima. 2022. "Machine Learning Models Predicting Cardiovascular and Renal Outcomes and Mortality in Patients with Hyperkalemia" Nutrients 14, no. 21: 4614. https://doi.org/10.3390/nu14214614

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop