Machine Learning Prediction of Blood Potassium at Different Time Cutoffs
Because serum potassium and ECG morphology changes exhibit a well-understood connection, and the timeline of ECG changes can be relatively quick, there is motivation to explore the sensitivity of ML based prediction of serum potassium using 12 lead ECG data with respect to the time between the ECG and potassium readings. We trained a convolutional neural network to classify abnormal (serum potassium above 5 mEq/L) vs normal (serum potassium between 4 and 5 mEq/L) from the ECG alone. We compared training with ECGs and potassium measurements filtered to be within 1 hour, 30 minutes, and 15 minutes of each other. We explored scenarios that both leveraged all available data at each time cutoff as well as restricted data to match training set sizes across the time cutoffs. For each case, we trained five separate instances of our neural network to account for variability. The 1 hour cutoff with all data resulted in an average area under the receiver operator curve (AUC) of 0.850 and a weighted accuracy of 76.3%, 15 minutes resulted in 0.814, 72.5%, and 30 minutes. Truncating the training sets to the same size as the 15 minute cutoff results in comparable average accuracy and AUC for all. Our future studies will continue to explore the performance of ML potassium predictions through investigations of failure cases, identification of biases, and explainability analyses.
Authors
- Benjamin Adam Steinberg (ORCID: https://orcid.org/0000-0002-4729-7820)
- Tolga Taşdizen (ORCID: https://orcid.org/0000-0001-6574-0366)
- Brian Zenger (ORCID: https://orcid.org/0000-0002-0039-9184)
- Ravi Ranjan (ORCID: https://orcid.org/0000-0002-3321-2435)
- Jake Bergquist (ORCID: https://orcid.org/0000-0002-4586-6911)
- Deekshith Reddy Dade
Institutions
- Washington University in St. Louis (US)
- University of Utah (US)
- University of Colorado Anschutz Medical Campus (US)
Publication Details
- Journal
- Computing in cardiology
- Published
- 2024-12-01
- DOI
- https://doi.org/10.22489/cinc.2024.145
- Primary Topic
- Analytical Methods in Pharmaceuticals
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Foundation for Cardiovascular Research
- National Institutes of Health
- National Heart, Lung, and Blood Institute
- National Institute of General Medical Sciences
- National Institute of Biomedical Imaging and Bioengineering