Related Experiment Video
Updated: Jul 30, 2025

Patient Directed Recording of a Bipolar Three-Lead Electrocardiogram using a Smartwatch with ECG Function
Published on: December 11, 2019
Prediction of hyperkalemia in ESRD patients by identification of multiple leads and multiple features on ECG
Daojun Xu1, Bin Zhou1, Jiaqi Zhang1
1Department of Nephrology, The Affiliated Hospital of Qingdao University, Qingdao, P.R. China.
Background:
Patients with end-stage renal disease (ESRD) especially those undergoing dialysis have a high prevalence of hyperkalemia, which must be detected and treated immediately. But the initial symptoms of hyperkalemia are insidious, and traditional laboratory serum potassium concentration testing takes time. Therefore, rapid and real-time measurement of serum potassium is urgently needed. In this study, different machine learning methods were used to make rapid predictions of different degrees of hyperkalemia by analyzing the ECG.
Methods:
A total of 1024 datasets of ECG and serum potassium concentrations were analyzed from December 2020 to December 2021. The data were scaled into training and test sets. Different machine learning models (LR, SVM, CNN, XGB, Adaboost) were built for dichotomous prediction of hyperkalemia by analyzing 48 features of chest leads V2-V5. The performance of the models was also evaluated and compared using sensitivity, specificity, accuracy, accuracy, F1 score and AUC.
Results:
We constructed different machine models to predict hyperkalemia using LR and four other common machine-learning methods. The AUCs of the different models ranged from 0.740 (0.661, 0.810) to 0.931 (0.912,0.953) when different serum potassium concentrations were used as the diagnostic threshold for hyperkalemia, respectively. As the diagnostic threshold of hyperkalemia was raised, the sensitivity, specificity, accuracy and precision of the model decreased to various degrees. And AUC also performed less well than when predicting mild hyperkalemia.
Conclusion:
Noninvasive and rapid prediction of hyperkalemia can be achieved by analyzing specific waveforms on the ECG by machine learning methods. But overall, XGB had a higher AUC in mild hyperkalemia, but SVM performed better in predicting more severe hyperkalemia.
More Related Videos
18:11A Research Method For Detecting Transient Myocardial Ischemia In Patients With Suspected Acute Coronary Syndrome Using Continuous ST-segment Analysis
Published on: December 28, 2012
10:17Real-Time Cardiac Mapping with a Noninvasive Imageless Electrocardiographic Imaging System
Published on: April 11, 2025
Related Concept Videos
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Dysrhythmias V: Evaluating Dysrhythmias
Hypertension III: Clinical Manifestations and Diagnostic Studies
Holter Monitor: 24-Hour Monitoring
Chronic Kidney Disease I: Introduction