Next Article in Journal
A 28/56 Gb/s NRZ/PAM-4 Dual-Mode Transmitter with Eye-Opening Enhancement in 28 nm CMOS
Previous Article in Journal
Eddy Current Mechanism Model for Dynamic Magnetic Field in Ferromagnetic Metal Structures
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Construction and Explanation Analysis of a Hypotension Risk Prediction Model in Hemodialysis Based on Machine Learning

School of Health Sciences and Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(18), 3773; https://doi.org/10.3390/electronics13183773
Submission received: 19 August 2024 / Revised: 12 September 2024 / Accepted: 21 September 2024 / Published: 23 September 2024
(This article belongs to the Section Bioelectronics)

Abstract

:
Objective. To establish a risk prediction model for intradialytic hypotension (IDH) in maintenance hemodialysis (MHD) patients and to analyze the explainability of the risk prediction model. Methods. A total of 2,228,650 hemodialysis records of 1075 MHD patients were selected as the research objects. Thirteen important clinical features including demographic features and clinical features were screened, the blood pressure measured before hemodialysis was collected, then an IDH risk prediction model during hemodialysis was established based on a machine learning algorithm. The contribution of each feature to the risk prediction of IDH was measured based on the Gini evaluation index. The TreeSHAP method was used to provide global and individual explanations for the IDH risk prediction model. Results. Hemodialysis duration, pre-dialysis mean arterial pressure, and pre-dialysis systolic blood pressure were the most important predictive variables for the occurrence of IDH during hemodialysis in MHD patients. The best IDH risk prediction model based on machine learning had an accuracy of 0.92 (95% CI 0.90–0.94) and an AUC of 0.95 (95% CI 0.94–0.96), indicating that machine learning has a good effect on the prediction of IDH during hemodialysis treatment. Our research innovatively achieved IDH risk prediction during the entire hemodialysis period based on blood pressure before the start of hemodialysis and other clinical features, thus enabling the medical team to quickly adjust hemodialysis prescriptions or initiate treatment for timely management and prevention of IDH. Global and individual explanations of the IDH risk prediction model can help hemodialysis medical staff understand the overall prediction mechanism of the model, discover prediction outliers, and identify potential biases or errors in the model. Conclusions. The IDH risk prediction model has definite clinical value in actual hemodialysis treatment.

1. Introduction

In recent years, due to the increase in hypertension, diabetes, metabolic diseases, and the accelerating aging of the population, the incidence and prevalence of chronic kidney disease (CKD) have increased year by year, and it has become an important public health issue faced by the world. Cross-sectional survey data on the prevalence of chronic kidney disease in China in 2012 showed that the number of CKD patients was estimated to be approximately 119.5 (112.9–125.0) per million people, and the overall prevalence was 10.8% (10.2–11.3%) [1], with the number of patients with CKD and end-stage renal disease (ESRD) ranking first in the world. Patients with ESKD require long-term renal replacement therapy, such as hemodialysis and peritoneal dialysis.
Intradialytic hypotension (IDH) is one of the most common complications during hemodialysis [2,3] and an important risk factor for cardiovascular events, hospitalization, and death [4,5]. The usual clinical incidence is 20–30% [6], and IDH may accelerate the loss of residual renal function [7] and increase the risk of volume overload [8].
The exact mechanism of IDH is unclear, but possible mechanisms include increased left ventricular mass index, extracellular volume overload, sympathetic overactivity, dialysate sodium load, and antihypertensive drugs during hemodialysis [9,10,11]. Therefore, early evaluation and monitoring of MHD patients during hemodialysis is crucial for preventing and treating IDH. The prediction and prevention of IDH can greatly improve the quality of life of MHD patients. However, the occurrence of IDH depends on multiple risk factors, including demographic factors (age, gender), comorbidities (diabetes, coronary heart disease, left ventricular hypertrophy), hemodialysis characteristics, complications (year of hemodialysis, weight gain during hemodialysis, anemia), hemodialysis treatment prescription (ultrafiltration), drugs (antihypertensive drugs), etc. [12,13,14]. For patient safety, blood pressure is frequently measured during hemodialysis treatment. Since blood pressure in MHD patients has significant fluctuation trends before, during, and after hemodialysis, it remains challenging to develop an ideal IDH prediction model.
As a branch of artificial intelligence, machine learning has been increasingly used in the medical field in recent years. Compared with traditional rule-based model algorithms, machine learning algorithms can analyze complex and high-dimensional medical data, so they can be used for clinical diagnosis, prediction, and prognostic assessment [15,16,17,18]. The purpose of this study is to establish a prediction model for IDH events based on machine learning algorithms, considering that the first hour of hemodialysis is the peak period of IDH occurrence [19]. Therefore, the innovation of this study is that only one blood pressure measurement is required before the start of hemodialysis to predict IDH events throughout the dialysis period, which will enable medical staff to quickly adjust dialysis prescriptions or initiate treatment to manage and prevent IDH.

2. Materials and Methods

2.1. Data Source

We used data from 1075 hemodialysis patients collected by Lin et al. [20] from the HD unit of MacKay Memorial Hospital, a tertiary medical center in Taiwan, where a total of 4,366,298 hemodialysis recordings were collected from these patients in 165,986 hemodialysis sessions. From the beginning to the end of hemodialysis treatment, blood pressure was measured every 30 min with an electronic sphygmomanometer, and body temperature was measured with an ear thermometer. Vital signs were measured at each time point, and hemodialysis settings, including blood flow, ultrafiltration rate, total ultrafiltration volume, dialysate temperature, and dialysate sodium concentration, were simultaneously recorded. Figure 1 shows the data collection process. Subjects received HD treatments two to three times per week, with each treatment lasting up to 240 min, and vital signs collected by the hemodialysis equipment were linked to hemodialysis patient demographic data stored in the hospital information system.

2.2. Definition of IDH

IDH, which was set as the target output, was defined as a systolic blood pressure (SBP) drop = 20 mmHg, a mean arterial pressure drop = 10 mmHg during hemodialysis, or the occurrence of clinical hypotensive events requiring nursing intervention [21].

2.3. Data Preprocessing

Based on the hemodialysis patient ID number, we extracted the patient’s physical data and recording time, hemodialysis start time, blood pressure measurement time, systolic blood pressure (SBP), diastolic blood pressure (DBP), dialysate temperature, dialysate sodium concentration (conductivity), ultrafiltration rate, the rate of blood flow through the hemodialysis equipment, and the dialysis duration. The data extracted above are the key patient information currently recorded in hemodialysis treatment. They are indicators recognized by clinicians and used to evaluate the dialysis patient’s status.
Then multi-step calculation, time dimension alignment, and data preprocessing were performed to finally obtain the MHD patient demographic features and clinical features used in this study, with a total of 13 features, as shown in Table 1. This study finally included 2,228,650 hemodialysis recordings collected from 1075 MHD patients. IDH events accounted for approximately 27% of the total hemodialysis recordings. All recordings were divided into a training set of 1,782,920 recordings and a test set of 445,730 recordings at a ratio of 8:2 based on a stratified sampling method. The distribution of non-IDH and IDH events in the training set and test set is shown in Figure 2.

2.4. Models and Methods

Machine learning has powerful big data processing capabilities as well as high-dimensional and complex computing capabilities, so we used machine learning to establish the prediction model for this study. This study established a risk prediction model for IDH events during hemodialysis in MHD patients based on five machine learning algorithms, including Random Forest [22], XGBoost [23], ExtraTrees [24], KNN [25], and AdaBoost. Then the Random Forest algorithm was used to evaluate the importance of each feature for predicting IDH events. The Gini index evaluation index was used to measure the contribution of each feature. The principle is to calculate the contribution value of each feature on each tree in Random Forest and then take the average. The Gini index is a measure of data impurity, and its calculation formula is as shown in Equation (1):
G i n i ( D ) = 1 i c p i 2
where c represents the number of categories in the data set, and p i   refers to the proportion of category i. When   p i is closer to 0 or 1, the smaller the coefficient is, which means the higher the purity of the data. When the data set D has only one data type, then the value of the Gini index is the lowest, 0. If the selected attribute is A, then the calculation of the Gini index of the split data set D is as shown in Equation (2), where k means that the data set D is split into k data sets.
G i n i A ( D ) = j = 1 k | D i | | D | G i n i ( D j )
We further used the TreeSHAP method for global and individual explanations of the IDH risk prediction model. Because it is an additive explanatory model based on cooperative game theory, considering all features as “contributors”, this method assigns an individual Shapley value to each prediction, focusing on explaining how each prediction was generated and how each feature affects the model’s decisions. The feature set of this study includes 13 features, and the original model is f (an extremely random tree). g is the post-explanation model in TreeSHAP (Equation (3)).
g ( x ) = ϕ 0 + i = 0 24 ϕ i x i = f ( x )
A single hemodialysis period datum is expressed as x = ( x 1 , x 2 x 13 ) , f ( x ) is the predicted value of the original model, g ( x ) is the predicted value of the explanatory model, and ϕ i is the Shapley value of the i-th feature variable (Equation (4)).
ϕ i ( f , x ) = kernel × [ f x ( S i ) f x ( S ) ]
kernel = | S | ! ( 13 | S | 1 ) ! 13 !
S is a subset of the feature set, and there are 2 13 1 possibilities. | S | is the total number of elements in S, f x ( S i ) indicating the predicted value of the model when there are only features in S i . f x ( S ) indicates the predicted value of the model when there are only features in S. The subtraction of the two can be used as the marginal contribution of the i-th feature under the feature subset S. The overall framework of the models and methods is shown in Figure 3.

3. Experimental Results and Analysis

3.1. Evaluation Indicators

We used Accuracy, Precision, Recall, F1-score and the area under the receiver operating characteristic curve (AUC) as indicators to evaluate the risk prediction performance of the model. The definitions of each indicator are as shown in Equations (6)–(9).
A c c u r a c y = T P + T N T P + T N + F P + F N
P r e c i s i o n = T P T P + F P
R e c a l l = T P T P + F N
F 1 s c o r e = 2 × P r e c i s i o n × R e c a l l P r e c i s i o n + R e c a l l
TP represents the number of successful predictions of IDH events. TN represents the number of successful predictions of non-IDH events. FP represents the number of failed predictions of non-IDH events. FN represents the number of failed predictions of IDH events.

3.2. Statistical Analysis

We used the Mann–Whitney U test method to analysis the differences between the features of the non-IDH and IDH groups. Because the Mann–Whitney U test is a non-parametric statistical test method, it can effectively compare whether there are significant differences between two independent samples that do not meet the normal distribution assumption. As shown in Table 2, the results showed that there were statistical differences (p < 0.05) in dialysate temperature, conductivity, ultrafiltration rate, dialysis duration, diabetes, pre-dialysis weight, temperature, dialysis duration, age, pre-dialysis SBP, pre-dialysis MAP, and pre-dialysis DBP. The features differences between the two groups are visually shown in Figure 4.

3.3. Feature Importance Assessment

The tree structure of the Random Forest algorithm has powerful result interpretation capabilities. So, we used the Random Forest algorithm to evaluate the importance of each feature for predicting IDH events during hemodialysis, and the Gini index evaluation was used to measure the contribution of each feature. As can be seen from Figure 5, the importance of each feature is ranked from high to low for dialysis duration, pre-dialysis MAP, pre-dialysis SBP, age, pre-dialysis DBP, pre-dialysis weight, dialysis age, dialysis blood flow rate, ultrafiltration rate, dialysate temperature, conductivity, temperature, diabetes. The dialysis duration, pre-dialysis MAP, and pre-dialysis SBP are much more important than other features in predicting IDH events during hemodialysis.

3.4. Model Prediction Results

We established 5 machine learning models based on the training set, performed hyperparameter tuning through the grid search method and AUC indicator, and finally determined the optimal model hyperparameters. The accuracy, precision, recall, F1-score, and AUC comparison of the IDH risk prediction model during hemodialysis are shown in Table 3 and Table 4 and Figure 6. The AUC of models based on KNN, Random Forest, XGBOOST, ExtraTrees, Adaboost, and Logistic reached 0.87 (0.86–0.88), 0.90 (0.88–0.92), 0.94 (0.92–0.95), 0.95 (0.93–0.97), 0.81 (0.79–0.84), and 0.79 (0.77–0.82) in the test set, respectively. Compared with the traditional Logistic method, the prediction effect of the machine learning method is better. Compared with other models, the accuracy of the IDH risk prediction model based on the ExtraTrees algorithm reached 0.99 (95% CI 0.98–1.00), the precision reached 1.00 (95% CI 0.99–1.00), the recall reached 0.98 (95% CI 0.97–0.99), the F1-score reached 0.99 (95% CI 0.98–1.00), and the AUC reached 1.00 (95% CI 0.99–1.00) in the train set. And the accuracy of the IDH risk prediction model based on the ExtraTrees algorithm reached 0.92 (95% CI 0.90–0.94), the precision reached 0.87 (95% CI 0.85–0.89), the recall reached 0.81 (95% CI 0.79–0.83), the F1-score reached 0.84 (95% CI 0.82–0.86), and the AUC reached 0.95 (95% CI 0.94–0.96) in the test set.

3.5. Model Interpretability Analysis

We used the TreeSHAP method for individual and global explanations of the IDH risk prediction model. Figure 7 shows the individual explanation of the model predicting the occurrence of IDH risk in an MHD patient during hemodialysis. Each of its features makes a corresponding contribution. Red represents the positive impact on the occurrence of IDH, and blue represents the negative impact on the occurrence of IDH. The results showed that the MHD patient’s pre-dialysis SBP = 166 mmHg, age = 86.04 years old, pre-dialysis MAP = 108.67 mmHg, and dialysis duration = 195 min were the main correlates of IDH during hemodialysis.
Figure 8 shows the global explanation of the IDH risk prediction model. Plotting the contribution of each feature provided a better understanding of the model’s overall prediction pattern and can identify predictive outliers. Each row represents a feature, the abscissa is the contribution value, and the color represents the feature value (red means high, blue means low). This global explanation method calculates the contribution of each feature to the prediction and visualizes these contributions. As shown in the first row of the figure, excessive dialysis duration increases the risk of the occurrence of IDH. Analyzing the contribution of these features to predictions will help identify potential biases or errors in the model.

4. Discussion

IDH is common in MHD patients during hemodialysis, and relevant studies show that approximately 20–30% of patients developed IDH during hemodialysis [6], and 75% of MHD patients experienced IDH at least once [26]. In this study, IDH events accounted for approximately 27% of the hemodialysis recording set, indicating that the recording set used in this study was consistent with clinical reality. Since the blood pressure of MHD patients fluctuates significantly during hemodialysis, for the safety of hemodialysis patients, blood pressure needs to be measured frequently, it is of great significance to develop an ideal IDH risk prediction model during hemodialysis. Given the limitations of traditional statistical methods in highly complex multifactor analysis (multidimensional and nonlinear) problems, machine learning and deep learning can play an important role in IDH prediction. Gabutti et al. [27] conducted a retrospective and prospective observational study in two Swiss dialysis centers (80 chronic hemodialysis patients, 480 months of clinical observation and biochemical test results), and compared the performance of artificial neural networks (ANN) in predicting the risk of hypotension during dialysis with that of experienced nephrologists. ANN showed better results in predicting the incidence of hypotension in terms of sensitivity and specificity. Lin et al. [28] developed an intelligent system with the ability to predict IDH based on time-related logistic regression analysis, using 55,516 dialysis data from 653 hemodialysis outpatients. The model results showed that the prediction sensitivity of the systolic blood pressure nadir (SBP) < 90 mmHg was 86% and the specificity was 81%. Gómez-Pulido et al. [29] used clinical information from 98,015 treatments of 758 patients and used DT and SVM classifiers to construct a model for predicting hypotension during dialysis, taking into account up to 22 clinical parameters during treatment. The model prediction success rate reached 80%. Lee et al. [30] used data from more than 260,000 hemodialysis sessions and obtained a model for predicting intradialytic hypotension based on recurrent neural network training. The AUC of the model reached 0.94. Huang et al. [31] used a linear regression model, LASSO, a tree-based ensemble machine learning model (Random Forest and Extreme Gradient Boosting) and Support Vector Regression to predict SBP based on 9245 blood pressure records of 248 maintenance hemodialysis patients. The comparison showed that the machine learning model had better prediction performance.
We used blood pressure data measured before the start of hemodialysis treatment and equipment information during hemodialysis treatment to screen a total of 13 modeling parameters including demographic features and clinical features, then established an IDH risk prediction model based on machine learning algorithms, making it possible to predict IDH events throughout the entire hemodialysis period by completing only one blood pressure measurement before the start of hemodialysis, allowing the medical team to manage and prevent IDH promptly during hemodialysis.
The best IDH risk prediction model’s accuracy based on machine learning algorithms reached 0.92 (95% CI 0.90–0.94) and the AUC reached 0.95 (95% CI 0.94–0.96). The results show that the machine learning model has a good effect in predicting IDH events during hemodialysis. At the same time, this study measured the contribution of each feature to the prediction of IDH based on the Gini evaluation index. The results showed that dialysis duration, pre-dialysis MAP, and pre-dialysis SBP were much more important than other features in predicting IDH events during hemodialysis. Finally, we used the TreeSHAP method to perform individual and global explanations of the IDH risk prediction model. By plotting the contribution value of each feature, it will be helpful to better understand the overall prediction mechanism of the model, discover prediction outliers, and identify potential biases or errors in the model. At the same time, for the IDH risk prediction of a single sample, the TreeSHAP method can show how each feature drives the model prediction in a positive or negative direction, which helps explain individual model prediction, helps medical staff understand the model prediction mechanism and to explain how each patient’s features affect the model’s prediction results.
The IDH event prediction model established in this study only requires demographic information, equipment information, and blood pressure values measured before hemodialysis, and then the IDH risk prediction of the entire hemodialysis process can be performed, which greatly simplifies the threshold for model use. Therefore, the model is completely feasible in a real clinical environment. At the same time, the prediction model has non-invasive, simplicity, and low-cost clinical value, confirming the broad application prospects of machine learning in the task of predicting IDH during hemodialysis. However, this model also has certain limitations. It can only determine whether IDH will occur but cannot predict the accurate blood pressure value. At the same time, the model has not been verified by multi-center data, and its reliability and generalizability need to be further verified. Prospective studies still need to be conducted in larger multi-center cohorts in the future.

5. Conclusions

To further promote the application of artificial intelligence models in the field of hemodialysis, it is necessary to strictly evaluate the effectiveness and safety of artificial intelligence tools in actual clinical trials in the future. Secondly, it is necessary to pay attention to the implicit and explicit biases that occur during artificial intelligence model training. At the same time, medical staff in hemodialysis centers need to understand the explanation methods of artificial intelligence models. These measures will help improve the application of artificial intelligence models in the field of hemodialysis treatment. In the future, innovative hemodialysis equipment will integrate microelectronics technology and artificial intelligence technology, and its development trend will inevitably be miniaturization and intelligence.By being equipped with real-time hemodialysis parameter monitoring modules and high-throughput intelligent computing modules, the safety of hemodialysis patients will be effectively ensured. At the same time, by constantly adjusting hemodialysis prescriptions based on changes in the physical parameters of hemodialysis patients, the quality of life and medical experience of hemodialysis patients can be improved, and medical costs can be reduced.

Author Contributions

Conceptualization, M.Z. and T.Z.; investigation, M.Z.; writing—original draft preparation, M.Z.; writing—review and editing, T.Z.; visualization, M.Z. and T.Z.; funding acquisition, T.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Shanghai “Science and Technology Innovation Action Plan” Biomedical Science and Technology Support Special Project (Grant Number: 20S31905100); Shanghai Engineering Technology Research Center Support Project (Grant Number: 18DZ2250900).

Institutional Review Board Statement

This article does not contain any studies with human participants or animals performed by any of the authors.

Informed Consent Statement

This article does not require the informed consent of any participants.

Data Availability Statement

Acknowledgments

We thank all authors for their contributions to this work. At the same time, I would like to give special thanks to my best friend, Yi Rensheng. I hope he and his wife live a happy life and their baby grows up healthy.

Conflicts of Interest

The authors have no relevant financial or non-financial interests to disclose.

References

  1. Zhang, L.; Wang, F.; Wang, L.; Wang, W.; Liu, B.; Liu, J.; Chen, M.; He, Q.; Liao, Y.; Yu, X.; et al. Prevalence of chronic kidney disease in China: A cross-sectional survey. Lancet 2012, 379, 815–822. [Google Scholar] [CrossRef] [PubMed]
  2. Knoll, G.A.; Grabowski, J.A.; Dervin, G.F.; O’Rourke, K. A randomized, controlled trial of albumin versus saline for the treatment of intradialytic hypotension. J. Am. Soc. Nephrol. 2004, 15, 487–492. [Google Scholar] [CrossRef] [PubMed]
  3. Reilly, R.F. Attending rounds: A patient with intradialytic hypotension. Clin. J. Am. Soc. Nephrol. 2014, 9, 798–803. [Google Scholar] [CrossRef]
  4. Zager, P.G.; Nikolic, J.; Brown, R.H.; Campbell, M.A.; Hunt, W.C.; Peterson, D.; Stone, J.V.; Levey, A.; Meyer, K.B.; Klag, M.J.; et al. “U” curve association of blood pressure and mortality in hemodialysis patients. Medical Directors of Dialysis Clinic, Inc. Kidney Int. 1998, 54, 561–569. [Google Scholar] [CrossRef]
  5. Dasgupta, I.; Thomas, G.N.; Clarke, J.; Sitch, A.; Martin, J.; Bieber, B.; Manfred, H.; Angelo, K.; Ronald, P.; Friedrich, P.; et al. Associations between hemodialysis facility practices to manage fluid volume and intradialytic hypotension and patient outcomes. Clin. J. Am. Soc. Nephrol. 2019, 14, 385–393. [Google Scholar] [CrossRef]
  6. Stefánsson, B.V.; Brunelli, S.M.; Cabrera, C.; Rosenbaum, D.; Anum, E.; Ramakrishnan, K.; Jensen, D.E.; Stålhammar, N.-O. Intradialytic hypotension and risk of cardiovascular disease. Clin. J. Am. Soc. Nephrol. 2014, 9, 2124–2132. [Google Scholar] [CrossRef] [PubMed]
  7. Wong, J.; Vilar, E.; Davenport, A.; Farrington, K. Incremental hemodialysis. Nephrol. Dial. Transplant. 2015, 30, 1639–1648. [Google Scholar] [CrossRef]
  8. Kalantar-Zadeh, K.; Regidor, D.L.; Kovesdy, C.P.; Van Wyck, D.; Bunnapradist, S.; Horwich, T.B.; Fonarow, G.C. Fluid retention is associated with cardiovascular mortality in patients undergoing long-term hemodialysis. Circulation 2009, 119, 671–679. [Google Scholar] [CrossRef]
  9. Dubin, R.; Owens, C.; Gasper, W.; Ganz, P.; Johansen, K. Associations of endothelial dysfunction and arterial stiffness with intradialytic hypotension and hypertension. Hemodial. Int. 2011, 15, 350–358. [Google Scholar] [CrossRef]
  10. Inrig, J.K.; Van Buren, P.; Kim, C.; Vongpatanasin, W.; Povsic, T.J.; Toto, R. Probing the mechanisms of intradialytic hypertension: A pilot study targeting endothelial cell dysfunction. Clin. J. Am. Soc. Nephrol. 2012, 7, 1300–1309. [Google Scholar] [CrossRef]
  11. Shamir, A.R.; Karembelkar, A.; Yabes, J.; Yao, Y.; Miskulin, D.; Gassman, J.; Ploth, D.; Negrea, L.; Paine, S.; Rahman, M.; et al. Association of Intradialytic Hypertension with Left Ventricular Mass in Hypertensive Hemodialysis Patients Enrolled in the Blood Pressure in Dialysis (BID) Study. Kidney Blood Press Res. 2018, 43, 882–892. [Google Scholar] [CrossRef] [PubMed]
  12. Kuipers, J.; Oosterhuis, J.K.; Krijnen, W.P.; Dasselaar, J.J.; Gaillard, C.A.; Westerhuis, R.; Franssen, C.F. Prevalence of intradialytic hypotension, clinical symptoms and nursing interventions-a three-months, prospective study of 3818 haemodialysis sessions. BMC Nephrol. 2016, 17, 21. [Google Scholar] [CrossRef]
  13. Chou, J.A.; Kalantar-Zadeh, K.; Mathew, A.T. A brief review of intradialytic hypotension with a focus on survival. Semin. Dial. 2017, 30, 473–480. [Google Scholar] [CrossRef] [PubMed]
  14. Okoye, O.C.; Slater, H.E.; Rajora, N. Prevalence and risk factors of intra-dialytic hypotension: A 5 year retrospective report from a single Nigerian Centre. Pan Afr. Med. J. 2017, 28, 62–70. [Google Scholar] [CrossRef] [PubMed]
  15. Huang, X.; Wang, H.; She, C.; Feng, J.; Liu, X.; Hu, X.; Chen, L.; Tao, Y. Artificial intelligence promotes the diagnosis and screening of diabetic retinopathy. Front. Endocrinol. 2022, 13, 946915. [Google Scholar] [CrossRef]
  16. Dack, E.; Christe, A.; Fontanellaz, M.; Brigato, L.; Heverhagen, J.T.; Peters, A.A.; Huber, A.T.; Hoppe, H.; Mougiakakou, S.; Ebner, L. Artificial Intelligence and Interstitial Lung Disease: Diagnosis and Prognosis. Investig. Radiol. 2023, 58, 602–609. [Google Scholar] [CrossRef]
  17. Obrezanova, O. Artificial intelligence for compound pharmacokinetics prediction. Curr. Opin. Struct. Biol. 2023, 79, 102546. [Google Scholar] [CrossRef]
  18. Miller, R.J.H.; Huang, C.; Liang, J.X.; Slomka, P.J. Artificial intelligence for disease diagnosis and risk prediction in nuclear cardiology. J. Nucl. Cardiol. 2022, 29, 1754–1762. [Google Scholar] [CrossRef]
  19. Dinesh, K.; Kunaparaju, S.; Cape, K.; Flythe, J.E.; Feldman, H.I.; Brunelli, S.M. A model of systolic blood pressure during the course of dialysis and clinical factors associated with various blood pressure behaviors. Am. J. Kidney Dis. 2011, 58, 794–803. [Google Scholar] [CrossRef]
  20. Lin, C.J.; Chen, Y.Y.; Pan, C.F.; Wu, V.; Wu, C.J. Dataset supporting blood pressure prediction for the management of chronic hemodialysis. Sci. Data 2019, 6, 313. [Google Scholar] [CrossRef]
  21. National Kidney Foundation. KDOQI Clinical Practice Guideline for Hemodialysis Adequacy: 2015 update. Am. J. Kidney Dis. 2015, 66, 884–930. [Google Scholar] [CrossRef] [PubMed]
  22. Limbu, S.; Dakshanamurthy, S. Predicting chemical carcinogens using a hybrid neural network deep learning method. Sensors 2022, 22, 8185. [Google Scholar] [CrossRef] [PubMed]
  23. Xu, Q.; Lu, X. Development and validation of an XGBoost model to predict 5-year survival in elderly patients with intrahepatic cholangiocarcinoma after surgery: A SEER-based study. J. Gastrointest. Oncol. 2022, 13, 3290–3299. [Google Scholar] [CrossRef]
  24. Ventrella, P.; Delgrossi, G.; Ferrario, G.; Righetti, M.; Masseroli, M. Supervised machine learning for the assessment of Chronic Kidney Disease advancement. Comput. Methods Programs Biomed. 2021, 209, 106329. [Google Scholar] [CrossRef] [PubMed]
  25. Chang, T.I.; Paik, J.; Greene, T.; Desai, M.; Bech, F.; Cheung, A.K.; Chertow, G.M. Intradialytic hypotension and vascular access thrombosis. J. Am. Soc. Nephrol. 2011, 22, 1526–1533. [Google Scholar] [CrossRef]
  26. Sands, J.J.; Usvyat, L.A.; Sullivan, T.; Segal, J.H.; Zabetakis, P.; Kotanko, P.; Maddux, F.W.; Diaz-Buxo, J.A. Intradialytic hypotension: Frequency, sources of variation and correlation with clinical outcome. Hemodial. Int. 2014, 18, 415–422. [Google Scholar] [CrossRef]
  27. Gabutti, L.; Vadilonga, D.; Mombelli, G.; Burnier, M.; Marone, C. Artificial neural networks improve the prediction of Kt/V, follow-up dietary protein intake and hypotension risk in haemodialysis patients. Nephrol. Dial. Transplant. 2004, 19, 1204–1211. [Google Scholar] [CrossRef] [PubMed]
  28. Lin, C.-J.; Chen, C.-Y.; Wu, P.-C.; Pan, C.-F.; Shih, H.-M.; Huang, M.-Y.; Chou, L.-H.; Tang, J.-S.; Wu, C.-J. Intelligent system to predict intradialytic hypotension in chronic hemodialysis. J. Formos. Med. Assoc. 2018, 117, 888–893. [Google Scholar] [CrossRef]
  29. Gómez-Pulido, J.A.; Gómez-Pulido, J.M.; Rodríguez-Puyol, D.; Polo-Luque, M.-L.; Vargas-Lombardo, M. Predicting the appearance of hypotension during hemodialysis sessions using machine learning classifiers. Int. J. Environ. Res. Public Health 2021, 18, 2364. [Google Scholar] [CrossRef]
  30. Lee, H.; Yun, D.; Yoo, J.; Yoo, K.; Kim, Y.C.; Kim, D.K.; Oh, K.-H.; Joo, K.W.; Kwak, N.; Han, S.S. Deep learning model for real-time prediction of intradialytic hypotension. Clin. J. Am. Soc. Nephrol. 2021, 16, 396–406. [Google Scholar] [CrossRef]
  31. Huang, J.-C.; Tsai, Y.-C.; Wu, P.-Y.; Lien, Y.-H.; Chien, C.-Y.; Kuo, C.-F.; Hung, J.-F.; Chen, S.-C.; Kuo, C.-H. Predictive modeling of blood pressure during hemodialysis: A comparison of linear model, random forest, support vector regression, XGBoost, LASSO regression and ensemble method. Comput. Methods Programs Biomed. 2020, 195, 105536. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Schematic diagram of the data collection process [20].
Figure 1. Schematic diagram of the data collection process [20].
Electronics 13 03773 g001
Figure 2. Distribution of non-IDH and IDH events in the training set and test set.
Figure 2. Distribution of non-IDH and IDH events in the training set and test set.
Electronics 13 03773 g002
Figure 3. The overall framework of the models and methods.
Figure 3. The overall framework of the models and methods.
Electronics 13 03773 g003
Figure 4. Distribution visualization of characteristic variables of non-IDH group and IDH group based on median and interquartile range.
Figure 4. Distribution visualization of characteristic variables of non-IDH group and IDH group based on median and interquartile range.
Electronics 13 03773 g004
Figure 5. The result of the feature importance assessment based on Gini index evaluation.
Figure 5. The result of the feature importance assessment based on Gini index evaluation.
Electronics 13 03773 g005
Figure 6. (a) ROC curve of IDH risk prediction model in hemodialysis constructed by machine learning in train set: KNN: 0.95 (0.94–0.96), Random Forest: 0.93 (0.91–0.95), XGBOOST: 0.96 (0.94–0.98), ExtraTrees: 1.00 (0.99–1.00), AdaBoost: 0.81 (0.79–0.83), Logistic: 0.79 (0.77–0.82); (b) ROC curve of IDH risk prediction model in hemodialysis constructed by machine learning in test set: KNN: 0.87 (0.86–0.88), Random Forest: 0.90 (0.88–0.92), XGBOOST: 0.94 (0.92–0.95), ExtraTrees: 0.95 (0.93–0.97), AdaBoost: 0.81 (0.79–0.84), Logistic: 0.79 (0.77–0.82).
Figure 6. (a) ROC curve of IDH risk prediction model in hemodialysis constructed by machine learning in train set: KNN: 0.95 (0.94–0.96), Random Forest: 0.93 (0.91–0.95), XGBOOST: 0.96 (0.94–0.98), ExtraTrees: 1.00 (0.99–1.00), AdaBoost: 0.81 (0.79–0.83), Logistic: 0.79 (0.77–0.82); (b) ROC curve of IDH risk prediction model in hemodialysis constructed by machine learning in test set: KNN: 0.87 (0.86–0.88), Random Forest: 0.90 (0.88–0.92), XGBOOST: 0.94 (0.92–0.95), ExtraTrees: 0.95 (0.93–0.97), AdaBoost: 0.81 (0.79–0.84), Logistic: 0.79 (0.77–0.82).
Electronics 13 03773 g006
Figure 7. Individual explanation of the IDH risk prediction model.
Figure 7. Individual explanation of the IDH risk prediction model.
Electronics 13 03773 g007
Figure 8. Global explanation of the IDH event prediction model.
Figure 8. Global explanation of the IDH event prediction model.
Electronics 13 03773 g008
Table 1. MHD patient features used in this study.
Table 1. MHD patient features used in this study.
CategoryFeatures
Demographic featuresAge, Pre-dialysis weight, Dialysis age
Clinical features
ComorbiditiesDiabetes
Hemodialysis recordsDialysis duration, Temperature, Ultrafiltration rate, Pre-dialysis SBP, Pre-dialysis DBP, Pre-dialysis MAP, Dialysate temperature, Conductivity, Blood flow
Table 2. Mann–Whitney U test analysis of non-IDH and IDH groups.
Table 2. Mann–Whitney U test analysis of non-IDH and IDH groups.
Featuresnon-IDH Group (n = 1,625,697)IDH Group (n = 602,953)p Value
Dialysate temperature36.5 (33.3–39.0)36.4 (39.5–34.2)<0.001
Conductivity14.0 (10.0–20.0)14.1 (10.0–20.0)<0.001
Ultrafiltration rate0.5 (0–3.0)0.5 (0–3.0)<0.001
Blood flow188.5 (0–400.0)196.0 (0–400.0)0.005
Dialysis duration83.1 (0–284.0)145.7 (0–370.0)<0.001
Diabetes36.8 (31.7–40.4)36.8 (33.1–39.9)<0.001
Pre-dialysis weight60.2 (30.6–172.7)61.8 (30.6–172.7)<0.001
Temperature36.4 (35.0–39.5)36.4 (35.0–39.4)<0.001
Dialysis age80.0 (0–332.2)79.5 (0–329.9)<0.001
Age66.5 (18.1-94.4)66.7 (18.1–94.4)<0.001
Pre-dialysis SBP140.4 (46.0–200.0)158.6 (70.0–200.0)<0.001
Pre-dialysis MAP92.0 (36.7–187.3)103.9 (46.7–187.3)<0.001
Pre-dialysis DBP67.8 (30.0–184.0)76.5 (30.0–184.0)<0.001
p < 0.05, the difference between groups is statistically significant.
Table 3. Prediction effect of IDH risk prediction model established by machine learning in train set.
Table 3. Prediction effect of IDH risk prediction model established by machine learning in train set.
ModelsAccuracyPrecisionRecallF1 ScoreAUC
ExtraTrees0.99 (0.98–1.00)1.00 (0.99–1.00)0.98 (0.97–0.99)0.99 (0.98–1.00)1.00 (0.99–1.00)
XGBOOST0.90 (0.88–0.92)0.88 (0.87–0.90)0.75 (0.73–0.77)0.81 (0.80–0.82)0.96 (0.94–0.97)
KNN0.88 (0.86–0.90)0.83 (0.81–0.85)0.74 (0.73–0.75)0.78 (0.76–0.80)0.95 (0.94–0.97)
Random Forest0.87 (0.85–0.89)0.85 (0.84–0.87)0.61 (0.59–0.63)0.71 (0.69–0.73)0.93 (0.91–0.95)
AdaBoost0.79 (0.77–0.81)0.66 (0.65–0.68)0.44 (0.42–0.46)0.53 (0.52–0.54)0.81 (0.79–0.82)
Logistic0.78 (0.76–0.80)0.65 (0.63–0.67)0.40 (0.38–0.42)0.50 (0.49–0.51)0.79 (0.78–0.81)
Table 4. Prediction effect of IDH risk prediction model established by machine learning in test set.
Table 4. Prediction effect of IDH risk prediction model established by machine learning in test set.
ModelsAccuracyPrecisionRecallF1 ScoreAUC
ExtraTrees0.92 (0.90–0.94)0.87 (0.85–0.89)0.81 (0.79–0.83)0.84 (0.82–0.86)0.95 (0.94–0.96)
XGBOOST0.89 (0.87–0.91)0.84 (0.82–0.86)0.71 (0.70–0.73)0.77 (0.75–0.79)0.94 (0.92–0.96)
KNN0.84 (0.82–0.86)0.72 (0.71–0.73)0.64 (0.63–0.65)0.68 (0.67–0.69)0.87 (0.85–0.89)
Random Forest0.85 (0.83–0.87)0.81 (0.80–0.83)0.57 (0.56–0.58)0.67 (0.65–0.69)0.90 (0.88–0.91)
AdaBoost0.79 (0.78–0.81)0.66 (0.65–0.67)0.44 (0.42–0.45)0.53 (0.51–0.55)0.81 (0.80–0.83)
Logistic0.78 (0.76–0.79)0.65 (0.64–0.67)0.39 (0.37–0.41)0.49 (0.47–0.51)0.79 (0.78–0.81)
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, M.; Zhang, T. Construction and Explanation Analysis of a Hypotension Risk Prediction Model in Hemodialysis Based on Machine Learning. Electronics 2024, 13, 3773. https://doi.org/10.3390/electronics13183773

AMA Style

Zhang M, Zhang T. Construction and Explanation Analysis of a Hypotension Risk Prediction Model in Hemodialysis Based on Machine Learning. Electronics. 2024; 13(18):3773. https://doi.org/10.3390/electronics13183773

Chicago/Turabian Style

Zhang, Mingwei, and Tianyi Zhang. 2024. "Construction and Explanation Analysis of a Hypotension Risk Prediction Model in Hemodialysis Based on Machine Learning" Electronics 13, no. 18: 3773. https://doi.org/10.3390/electronics13183773

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