ECG-Based Electrolyte Prediction: Evaluating Regression and Probabilistic Methods

Philipp Von Bachmann, Daniel Gedon, Fredrik K. Gustafsson, Antônio H. Ribeiro, Erik Lampa +3 more
12/21/2022
eess.SPcs.CVcs.LG

Official code: philippvb/ecg-electrolyte-regression (9 stars, Python, MIT, last commit 2022-12-20).

Abstract

Objective: Imbalances of the electrolyte concentration levels in the body can lead to catastrophic consequences, but accurate and accessible measurements could improve patient outcomes. While blood tests provide accurate measurements, they are invasive and the laboratory analysis can be slow or inaccessible.

Show full abstract

In contrast, an electrocardiogram (ECG) is a widely adopted tool which is quick and simple to acquire. However, the problem of estimating continuous electrolyte concentrations directly from ECGs is not well-studied. We therefore investigate if regression methods can be used for accurate ECG-based prediction of electrolyte concentrations. Methods: We explore the use of deep neural networks (DNNs) for this task. We analyze the regression performance across four electrolytes, utilizing a novel dataset containing over 290000 ECGs. For improved understanding, we also study the full spectrum from continuous predictions to binary classification of extreme concentration levels. To enhance clinical usefulness, we finally extend to a probabilistic regression approach and evaluate different uncertainty estimates. Results: We find that the performance varies significantly between different electrolytes, which is clinically justified in the interplay of electrolytes and their manifestation in the ECG. We also compare the regression accuracy with that of traditional machine learning models, demonstrating superior performance of DNNs. Conclusion: Discretization can lead to good classification performance, but does not help solve the original problem of predicting continuous concentration levels. While probabilistic regression demonstrates potential practical usefulness, the uncertainty estimates are not particularly well-calibrated. Significance: Our study is a first step towards accurate and reliable ECG-based prediction of electrolyte concentration levels.

View on arXivView PDF

Code Implementations(1)

MIT
91Python, Jupyter NotebookOct 19, 20223 years agoMIT

Similar Papers

Cite this paper

@article{bachmann2022ecgbased,
  title  = {ECG-Based Electrolyte Prediction: Evaluating Regression and Probabilistic Methods},
  author = {Philipp Von Bachmann and Daniel Gedon and Fredrik K. Gustafsson and Antônio H. Ribeiro and Erik Lampa and Stefan Gustafsson and Johan Sundström and Thomas B. Schön},
  year   = {2022},
  eprint = {2212.13890},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.13890}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.13890.svg)](https://codeofpaper.com/paper/2212.13890)

Discussion