Electrocardiography signal processing method for effective assessment of a patient's heart rate using a convolutional neural network

Capa


Citar

Texto integral

Resumo

BACKGROUND: The initial step in annotating an electrocardiogram is the evaluation of the patient's heart rhythm. In the presented study, a method has been developed to process the electrocardiographic signal and estimate the heart rhythm. The method is based on the application of a trained convolutional neural network, which will provide the physician with preliminary information about possible atrial fibrillation or the presence of other rhythm disturbances as soon as possible after receiving the electrocardiogram. Furthermore, such methodologies can be incorporated into telemedicine systems, thereby facilitating remote monitoring of cardiac status.

AIM: The aim of the study was to develop an electrocardiography signal processing method for the classification of a patient’s heart rhythm into three classes: sinus rhythm, atrial fibrillation, and other arrhythmias.

MATERIALS AND METHODS: The publicly available electrocardiograms of patients were selected for model training and testing. The software was written in the Python programming language using the TensorFlow framework. The training, validation, and test samples were formed with a ratio of 10:1:1:1, with a uniform distribution by classes. Three variants of data sets for each record were prepared: combining plots of all 12 leads of the electrocardiogram on one image, obtaining spectrograms of II and V1 leads using Gaussian wavelet, and representing the record as a vector cardiogram. The architecture of the convolutional neural network was based on the ResNet18 architecture, which was further modified, and a series of modifications were made for each of the input data representations.

RESULTS: A serialized model was obtained with the following accuracy metrics: accuracy=43% for matching 12 electrocardiographic leads in the image; accuracy=43% for vector representation of the electrocardiogram; and accuracy=69% for wavelet transform of the electrocardiogram. In the case of a two-class problem involving sinus rhythm and atrial fibrillation, the accuracy metric for the wavelet transform reaches 93% with metrics recall, precision, and F1-score values of 93%, 94%, and 93%, respectively.

CONSLUSIONS: The results demonstrate the potential of using convolutional neural networks to assess the heart rhythm of patients. Further development of the project involves the selection of the most effective machine learning algorithm, testing of this algorithm for the two-class problem, and expansion of the solution for other classes of rhythm disorders. Additionally, it is possible to improve classification results for the three-class problem by using a superior model and introducing additional clustering.

Texto integral

BACKGROUND: The initial step in annotating an electrocardiogram is the evaluation of the patient's heart rhythm. In the presented study, a method has been developed to process the electrocardiographic signal and estimate the heart rhythm. The method is based on the application of a trained convolutional neural network, which will provide the physician with preliminary information about possible atrial fibrillation or the presence of other rhythm disturbances as soon as possible after receiving the electrocardiogram. Furthermore, such methodologies can be incorporated into telemedicine systems, thereby facilitating remote monitoring of cardiac status.

AIM: The aim of the study was to develop an electrocardiography signal processing method for the classification of a patient’s heart rhythm into three classes: sinus rhythm, atrial fibrillation, and other arrhythmias.

MATERIALS AND METHODS: The publicly available electrocardiograms of patients were selected for model training and testing. The software was written in the Python programming language using the TensorFlow framework. The training, validation, and test samples were formed with a ratio of 10:1:1:1, with a uniform distribution by classes. Three variants of data sets for each record were prepared: combining plots of all 12 leads of the electrocardiogram on one image, obtaining spectrograms of II and V1 leads using Gaussian wavelet, and representing the record as a vector cardiogram. The architecture of the convolutional neural network was based on the ResNet18 architecture, which was further modified, and a series of modifications were made for each of the input data representations.

RESULTS: A serialized model was obtained with the following accuracy metrics: accuracy=43% for matching 12 electrocardiographic leads in the image; accuracy=43% for vector representation of the electrocardiogram; and accuracy=69% for wavelet transform of the electrocardiogram. In the case of a two-class problem involving sinus rhythm and atrial fibrillation, the accuracy metric for the wavelet transform reaches 93% with metrics recall, precision, and F1-score values of 93%, 94%, and 93%, respectively.

CONSLUSIONS: The results demonstrate the potential of using convolutional neural networks to assess the heart rhythm of patients. Further development of the project involves the selection of the most effective machine learning algorithm, testing of this algorithm for the two-class problem, and expansion of the solution for other classes of rhythm disorders. Additionally, it is possible to improve classification results for the three-class problem by using a superior model and introducing additional clustering.

×

Sobre autores

Daniel Gordienko

Bauman Moscow State Technical University

Autor responsável pela correspondência
Email: mrvanderk@mail.ru
ORCID ID: 0009-0007-9813-3475
Rússia, Moscow

Artem Kravchenko

Bauman Moscow State Technical University

Email: ikrav514@gmail.com
ORCID ID: 0009-0007-0507-4294
Rússia, Moscow

Bibliografia

  1. PTB-XL — Atrial Fibrillation Detection [Internet]. Kaggle [дата обращения: 16.12.2023]. Доступ по ссылке: https://www.kaggle.com/datasets/arjunascagnetto/ptbxl-atrial-fibrillation-detection
  2. DOI: https://doi.org/10.17816/DD627084

Arquivos suplementares

Arquivos suplementares
Ação
1. JATS XML

Declaração de direitos autorais © Eco-Vector, 2024

Creative Commons License
Este artigo é disponível sob a Licença Creative Commons Atribuição–NãoComercial–SemDerivações 4.0 Internacional.

СМИ зарегистрировано Федеральной службой по надзору в сфере связи, информационных технологий и массовых коммуникаций (Роскомнадзор).
Регистрационный номер и дата принятия решения о регистрации СМИ: серия ПИ № ФС 77 - 79539 от 09 ноября 2020 г.


Este site utiliza cookies

Ao continuar usando nosso site, você concorda com o procedimento de cookies que mantêm o site funcionando normalmente.

Informação sobre cookies