Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Sep 7;23(9):e27098.
doi: 10.2196/27098.

Machine Learning Analysis of Time-Dependent Features for Predicting Adverse Events During Hemodialysis Therapy: Model Development and Validation Study

Affiliations

Machine Learning Analysis of Time-Dependent Features for Predicting Adverse Events During Hemodialysis Therapy: Model Development and Validation Study

Yi-Shiuan Liu et al. J Med Internet Res. .

Abstract

Background: Hemodialysis (HD) therapy is an indispensable tool used in critical care management. Patients undergoing HD are at risk for intradialytic adverse events, ranging from muscle cramps to cardiac arrest. So far, there is no effective HD device-integrated algorithm to assist medical staff in response to these adverse events a step earlier during HD.

Objective: We aimed to develop machine learning algorithms to predict intradialytic adverse events in an unbiased manner.

Methods: Three-month dialysis and physiological time-series data were collected from all patients who underwent maintenance HD therapy at a tertiary care referral center. Dialysis data were collected automatically by HD devices, and physiological data were recorded by medical staff. Intradialytic adverse events were documented by medical staff according to patient complaints. Features extracted from the time series data sets by linear and differential analyses were used for machine learning to predict adverse events during HD.

Results: Time series dialysis data were collected during the 4-hour HD session in 108 patients who underwent maintenance HD therapy. There were a total of 4221 HD sessions, 406 of which involved at least one intradialytic adverse event. Models were built by classification algorithms and evaluated by four-fold cross-validation. The developed algorithm predicted overall intradialytic adverse events, with an area under the curve (AUC) of 0.83, sensitivity of 0.53, and specificity of 0.96. The algorithm also predicted muscle cramps, with an AUC of 0.85, and blood pressure elevation, with an AUC of 0.93. In addition, the model built based on ultrafiltration-unrelated features predicted all types of adverse events, with an AUC of 0.81, indicating that ultrafiltration-unrelated factors also contribute to the onset of adverse events.

Conclusions: Our results demonstrated that algorithms combining linear and differential analyses with two-class classification machine learning can predict intradialytic adverse events in quasi-real time with high AUCs. Such a methodology implemented with local cloud computation and real-time optimization by personalized HD data could warn clinicians to take timely actions in advance.

Keywords: hemodialysis; intradialytic adverse events; machine learning; prediction algorithm.

PubMed Disclaimer

Conflict of interest statement

Conflicts of Interest: None declared.

Figures

Figure 1
Figure 1
Prediction of all intradialytic adverse events except blood pressure elevation. (A) Machine learning performance represented by receiver operating characteristic (ROC) curves from 84 features (curve a, red), the top 21 features (curve c, green), all features but excluding ultrafiltration-related features (curve d, blue), and the negative control (curve b, black). Each ROC curve shown here is the average of 12 simulated ROC curves. (B). Machine learning performance represented by ROC curves is obtained from ultrafiltration-related features (curves e, f, g, h, i, j, and k) and from 84 features (curve a, black). (C) Area under the curve (AUC) and F1 scores from different feature combinations for predicting all intradialytic adverse events. UF: ultrafiltration.
Figure 2
Figure 2
Prediction of a specific intradialytic adverse event: muscle cramps. (A) Machine learning performance is represented by receiver operating characteristic (ROC) curves from 84 features (curve a, red), all features but excluding ultrafiltration-related features (curve c, orange dot), ultrafiltration-related features (curves d, e, f, i, k), and the negative control (curve b, black). (B) Area under the curve (AUC) and F1 scores from different feature combinations for predicting muscle cramps. UF: ultrafiltration.
Figure 3
Figure 3
Prediction of a specific intradialytic adverse event: blood pressure elevation. (A) Machine learning performance represented by receiver operating characteristic (ROC) curves from 84 features (curve a, red), blood pressure-related features (curve d, green), ultrafiltration-related features (curve c, blue), and the negative control (curve b, black). (B) Area under the curve (AUC) and F1 scores from different feature combinations for predicting blood pressure elevation. UF: ultrafiltration.
Figure 4
Figure 4
Prediction performance for group 1 intradialytic adverse events using the features of different cutoff ending time points. (A) Machine learning performance represented by receiver operating characteristic (ROC) curves from 84 features extracted from [Yj, Tk]HD terminated at different cutoff ending time points as follows: one time point before an adverse event (noted as 0 minutes), and 5, 10, 15, 20, and 60 minutes before an adverse event or before the end of the hemodialysis (HD) session if no adverse event. (B) Area under the curve (AUC) and F1 scores. (C) Probability of adverse event occurrence in 500 randomly selected HD sessions. The red circle indicates the HD session with adverse events, and the predicted probabilities of adverse events are all higher than 0.8 independent of the cutoff ending time point.

Similar articles

Cited by

References

    1. Ricci Z, Romagnoli S. Renal replacement therapy for critically ill patients: an intermittent continuity. Crit Care. 2014 Mar 05;18(2):115. doi: 10.1186/cc13756. https://ccforum.biomedcentral.com/articles/10.1186/cc13756 cc13756 - DOI - DOI - PMC - PubMed
    1. Douvris A, Malhi G, Hiremath S, McIntyre L, Silver SA, Bagshaw SM, Wald R, Ronco C, Sikora L, Weber C, Clark EG. Interventions to prevent hemodynamic instability during renal replacement therapy in critically ill patients: a systematic review. Crit Care. 2018 Feb 22;22(1):41. doi: 10.1186/s13054-018-1965-5. https://ccforum.biomedcentral.com/articles/10.1186/s13054-018-1965-5 10.1186/s13054-018-1965-5 - DOI - DOI - PMC - PubMed
    1. Daugirdas JT. Pathophysiology of dialysis hypotension: an update. Am J Kidney Dis. 2001 Oct;38(4 Suppl 4):S11–7. doi: 10.1053/ajkd.2001.28090.S0272-6386(01)98575-0 - DOI - PubMed
    1. Garzoni D, Keusch G, Kleinoeder T, Martin H, Dhondt A, Cremaschi L, Tatsis E, Ibrahim N, Boer W, Kuehne S, Claus M, Zahn M, Schuemann E, Engelmann J, Hickstein H, Wojke R, Gauly A, Passlick-Deetjen J. Reduced complications during hemodialysis by automatic blood volume controlled ultrafiltration. Int J Artif Organs. 2007 Jan;30(1):16–24. doi: 10.1177/039139880703000104. - DOI - PubMed
    1. Steuer RR, Leypoldt JK, Cheung AK, Harris DH, Conis JM. Hematocrit as an indicator of blood volume and a predictor of intradialytic morbid events. ASAIO J. 1994;40(3):M691–6. doi: 10.1097/00002480-199407000-00087. - DOI - PubMed

Publication types