Cargando…

A Deep-Learning Algorithm (ECG12Net) for Detecting Hypokalemia and Hyperkalemia by Electrocardiography: Algorithm Development

BACKGROUND: The detection of dyskalemias—hypokalemia and hyperkalemia—currently depends on laboratory tests. Since cardiac tissue is very sensitive to dyskalemia, electrocardiography (ECG) may be able to uncover clinically important dyskalemias before laboratory results. OBJECTIVE: Our study aimed t...

Descripción completa

Detalles Bibliográficos
Autores principales: Lin, Chin-Sheng, Lin, Chin, Fang, Wen-Hui, Hsu, Chia-Jung, Chen, Sy-Jou, Huang, Kuo-Hua, Lin, Wei-Shiang, Tsai, Chien-Sung, Kuo, Chih-Chun, Chau, Tom, Yang, Stephen JH, Lin, Shih-Hua
Formato: Online Artículo Texto
Lenguaje:English
Publicado: JMIR Publications 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7082733/
https://www.ncbi.nlm.nih.gov/pubmed/32134388
http://dx.doi.org/10.2196/15931
_version_ 1783508404725088256
author Lin, Chin-Sheng
Lin, Chin
Fang, Wen-Hui
Hsu, Chia-Jung
Chen, Sy-Jou
Huang, Kuo-Hua
Lin, Wei-Shiang
Tsai, Chien-Sung
Kuo, Chih-Chun
Chau, Tom
Yang, Stephen JH
Lin, Shih-Hua
author_facet Lin, Chin-Sheng
Lin, Chin
Fang, Wen-Hui
Hsu, Chia-Jung
Chen, Sy-Jou
Huang, Kuo-Hua
Lin, Wei-Shiang
Tsai, Chien-Sung
Kuo, Chih-Chun
Chau, Tom
Yang, Stephen JH
Lin, Shih-Hua
author_sort Lin, Chin-Sheng
collection PubMed
description BACKGROUND: The detection of dyskalemias—hypokalemia and hyperkalemia—currently depends on laboratory tests. Since cardiac tissue is very sensitive to dyskalemia, electrocardiography (ECG) may be able to uncover clinically important dyskalemias before laboratory results. OBJECTIVE: Our study aimed to develop a deep-learning model, ECG12Net, to detect dyskalemias based on ECG presentations and to evaluate the logic and performance of this model. METHODS: Spanning from May 2011 to December 2016, 66,321 ECG records with corresponding serum potassium (K(+)) concentrations were obtained from 40,180 patients admitted to the emergency department. ECG12Net is an 82-layer convolutional neural network that estimates serum K(+) concentration. Six clinicians—three emergency physicians and three cardiologists—participated in human-machine competition. Sensitivity, specificity, and balance accuracy were used to evaluate the performance of ECG12Net with that of these physicians. RESULTS: In a human-machine competition including 300 ECGs of different serum K+ concentrations, the area under the curve for detecting hypokalemia and hyperkalemia with ECG12Net was 0.926 and 0.958, respectively, which was significantly better than that of our best clinicians. Moreover, in detecting hypokalemia and hyperkalemia, the sensitivities were 96.7% and 83.3%, respectively, and the specificities were 93.3% and 97.8%, respectively. In a test set including 13,222 ECGs, ECG12Net had a similar performance in terms of sensitivity for severe hypokalemia (95.6%) and severe hyperkalemia (84.5%), with a mean absolute error of 0.531. The specificities for detecting hypokalemia and hyperkalemia were 81.6% and 96.0%, respectively. CONCLUSIONS: A deep-learning model based on a 12-lead ECG may help physicians promptly recognize severe dyskalemias and thereby potentially reduce cardiac events.
format Online
Article
Text
id pubmed-7082733
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher JMIR Publications
record_format MEDLINE/PubMed
spelling pubmed-70827332020-03-25 A Deep-Learning Algorithm (ECG12Net) for Detecting Hypokalemia and Hyperkalemia by Electrocardiography: Algorithm Development Lin, Chin-Sheng Lin, Chin Fang, Wen-Hui Hsu, Chia-Jung Chen, Sy-Jou Huang, Kuo-Hua Lin, Wei-Shiang Tsai, Chien-Sung Kuo, Chih-Chun Chau, Tom Yang, Stephen JH Lin, Shih-Hua JMIR Med Inform Original Paper BACKGROUND: The detection of dyskalemias—hypokalemia and hyperkalemia—currently depends on laboratory tests. Since cardiac tissue is very sensitive to dyskalemia, electrocardiography (ECG) may be able to uncover clinically important dyskalemias before laboratory results. OBJECTIVE: Our study aimed to develop a deep-learning model, ECG12Net, to detect dyskalemias based on ECG presentations and to evaluate the logic and performance of this model. METHODS: Spanning from May 2011 to December 2016, 66,321 ECG records with corresponding serum potassium (K(+)) concentrations were obtained from 40,180 patients admitted to the emergency department. ECG12Net is an 82-layer convolutional neural network that estimates serum K(+) concentration. Six clinicians—three emergency physicians and three cardiologists—participated in human-machine competition. Sensitivity, specificity, and balance accuracy were used to evaluate the performance of ECG12Net with that of these physicians. RESULTS: In a human-machine competition including 300 ECGs of different serum K+ concentrations, the area under the curve for detecting hypokalemia and hyperkalemia with ECG12Net was 0.926 and 0.958, respectively, which was significantly better than that of our best clinicians. Moreover, in detecting hypokalemia and hyperkalemia, the sensitivities were 96.7% and 83.3%, respectively, and the specificities were 93.3% and 97.8%, respectively. In a test set including 13,222 ECGs, ECG12Net had a similar performance in terms of sensitivity for severe hypokalemia (95.6%) and severe hyperkalemia (84.5%), with a mean absolute error of 0.531. The specificities for detecting hypokalemia and hyperkalemia were 81.6% and 96.0%, respectively. CONCLUSIONS: A deep-learning model based on a 12-lead ECG may help physicians promptly recognize severe dyskalemias and thereby potentially reduce cardiac events. JMIR Publications 2020-03-05 /pmc/articles/PMC7082733/ /pubmed/32134388 http://dx.doi.org/10.2196/15931 Text en ©Chin-Sheng Lin, Chin Lin, Wen-Hui Fang, Chia-Jung Hsu, Sy-Jou Chen, Kuo-Hua Huang, Wei-Shiang Lin, Chien-Sung Tsai, Chih-Chun Kuo, Tom Chau, Stephen JH Yang, Shih-Hua Lin. Originally published in JMIR Medical Informatics (http://medinform.jmir.org), 05.03.2020. https://creativecommons.org/licenses/by/4.0/ This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on http://medinform.jmir.org/, as well as this copyright and license information must be included.
spellingShingle Original Paper
Lin, Chin-Sheng
Lin, Chin
Fang, Wen-Hui
Hsu, Chia-Jung
Chen, Sy-Jou
Huang, Kuo-Hua
Lin, Wei-Shiang
Tsai, Chien-Sung
Kuo, Chih-Chun
Chau, Tom
Yang, Stephen JH
Lin, Shih-Hua
A Deep-Learning Algorithm (ECG12Net) for Detecting Hypokalemia and Hyperkalemia by Electrocardiography: Algorithm Development
title A Deep-Learning Algorithm (ECG12Net) for Detecting Hypokalemia and Hyperkalemia by Electrocardiography: Algorithm Development
title_full A Deep-Learning Algorithm (ECG12Net) for Detecting Hypokalemia and Hyperkalemia by Electrocardiography: Algorithm Development
title_fullStr A Deep-Learning Algorithm (ECG12Net) for Detecting Hypokalemia and Hyperkalemia by Electrocardiography: Algorithm Development
title_full_unstemmed A Deep-Learning Algorithm (ECG12Net) for Detecting Hypokalemia and Hyperkalemia by Electrocardiography: Algorithm Development
title_short A Deep-Learning Algorithm (ECG12Net) for Detecting Hypokalemia and Hyperkalemia by Electrocardiography: Algorithm Development
title_sort deep-learning algorithm (ecg12net) for detecting hypokalemia and hyperkalemia by electrocardiography: algorithm development
topic Original Paper
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7082733/
https://www.ncbi.nlm.nih.gov/pubmed/32134388
http://dx.doi.org/10.2196/15931
work_keys_str_mv AT linchinsheng adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT linchin adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT fangwenhui adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT hsuchiajung adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT chensyjou adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT huangkuohua adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT linweishiang adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT tsaichiensung adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT kuochihchun adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT chautom adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT yangstephenjh adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT linshihhua adeeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT linchinsheng deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT linchin deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT fangwenhui deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT hsuchiajung deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT chensyjou deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT huangkuohua deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT linweishiang deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT tsaichiensung deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT kuochihchun deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT chautom deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT yangstephenjh deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment
AT linshihhua deeplearningalgorithmecg12netfordetectinghypokalemiaandhyperkalemiabyelectrocardiographyalgorithmdevelopment