<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root>
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" article-type="research-article" dtd-version="1.2" xml:lang="en"><front><journal-meta><journal-id journal-id-type="publisher-id">Digital Diagnostics</journal-id><journal-title-group><journal-title xml:lang="en">Digital Diagnostics</journal-title><trans-title-group xml:lang="ru"><trans-title>Digital Diagnostics</trans-title></trans-title-group><trans-title-group xml:lang="zh"><trans-title>Digital Diagnostics</trans-title></trans-title-group></journal-title-group><issn publication-format="print">2712-8490</issn><issn publication-format="electronic">2712-8962</issn><publisher><publisher-name xml:lang="en">Eco-Vector</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">627084</article-id><article-id pub-id-type="doi">10.17816/DD627084</article-id><article-categories><subj-group subj-group-type="toc-heading" xml:lang="en"><subject>Articles by YOUNG SCIENTISTS</subject></subj-group><subj-group subj-group-type="toc-heading" xml:lang="ru"><subject>МОЛОДЫЕ УЧЕНЫЕ: тезисы конференции НПКЦ</subject></subj-group><subj-group subj-group-type="toc-heading" xml:lang="zh"><subject>青年科学家的文章</subject></subj-group><subj-group subj-group-type="article-type"><subject>Research Article</subject></subj-group></article-categories><title-group><article-title xml:lang="en">Electrocardiography signal processing method for effective assessment of a patient's heart rate using a convolutional neural network</article-title><trans-title-group xml:lang="ru"><trans-title>Разработка метода обработки сигнала электрокардиографии для эффективной оценки сердечного ритма пациента с использованием свёрточной нейронной сети</trans-title></trans-title-group><trans-title-group xml:lang="zh"><trans-title/></trans-title-group></title-group><contrib-group><contrib contrib-type="author"><contrib-id contrib-id-type="orcid">https://orcid.org/0009-0007-9813-3475</contrib-id><name-alternatives><name xml:lang="en"><surname>Gordienko</surname><given-names>Daniel V.</given-names></name><name xml:lang="ru"><surname>Гордиенко</surname><given-names>Даниил Валерьевич</given-names></name><name xml:lang="zh"><surname></surname><given-names></given-names></name></name-alternatives><address><country country="RU">Russian Federation</country></address><email>mrvanderk@mail.ru</email><xref ref-type="aff" rid="aff1"/></contrib><contrib contrib-type="author"><contrib-id contrib-id-type="orcid">https://orcid.org/0009-0007-0507-4294</contrib-id><name-alternatives><name xml:lang="en"><surname>Kravchenko</surname><given-names>Artem O.</given-names></name><name xml:lang="ru"><surname>Кравченко</surname><given-names>Артём Олегович</given-names></name><name xml:lang="zh"><surname></surname><given-names></given-names></name></name-alternatives><address><country country="RU">Russian Federation</country></address><email>ikrav514@gmail.com</email><xref ref-type="aff" rid="aff1"/></contrib></contrib-group><aff-alternatives id="aff1"><aff><institution xml:lang="en">Bauman Moscow State Technical University</institution></aff><aff><institution xml:lang="ru">Московский государственный технический университет имени Н.Э. Баумана (национальный исследовательский университет)</institution></aff><aff><institution xml:lang="zh"></institution></aff></aff-alternatives><pub-date date-type="pub" iso-8601-date="2024-07-02" publication-format="electronic"><day>02</day><month>07</month><year>2024</year></pub-date><volume>5</volume><issue>1S</issue><issue-title xml:lang="en"/><issue-title xml:lang="ru"/><issue-title xml:lang="zh"/><fpage>109</fpage><lpage>111</lpage><history><date date-type="received" iso-8601-date="2024-02-16"><day>16</day><month>02</month><year>2024</year></date><date date-type="accepted" iso-8601-date="2024-03-22"><day>22</day><month>03</month><year>2024</year></date></history><permissions><copyright-statement xml:lang="en">Copyright ©; 2024, Eco-Vector</copyright-statement><copyright-statement xml:lang="ru">Copyright ©; 2024, Эко-вектор</copyright-statement><copyright-statement xml:lang="zh">Copyright ©; 2024, Eco-Vector</copyright-statement><copyright-year>2024</copyright-year><copyright-holder xml:lang="en">Eco-Vector</copyright-holder><copyright-holder xml:lang="ru">Эко-вектор</copyright-holder><copyright-holder xml:lang="zh">Eco-Vector</copyright-holder><ali:free_to_read xmlns:ali="http://www.niso.org/schemas/ali/1.0/"/><license><ali:license_ref xmlns:ali="http://www.niso.org/schemas/ali/1.0/">https://creativecommons.org/licenses/by-nc-nd/4.0</ali:license_ref></license></permissions><self-uri xlink:href="https://jdigitaldiagnostics.com/DD/article/view/627084">https://jdigitaldiagnostics.com/DD/article/view/627084</self-uri><abstract xml:lang="en"><p><bold>BACKGROUND</bold>: 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.</p> <p><bold>AIM:</bold> 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.</p> <p><bold>MATERIALS AND METHODS:</bold> 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.</p> <p><bold>RESULTS:</bold> 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.</p> <p>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.</p></abstract><trans-abstract xml:lang="ru"><p><bold>Обоснование.</bold> Оценка ритма сердца пациента является первым этапом при аннотировании электрокардиограммы. В представленной работе был разработан метод, предназначенный для обработки сигнала электрокардиографии и оценки сердечного ритма. Метод основан на применении обученной свёрточной нейронной сети, что позволит в кратчайшие сроки после получения электрокардиограммы предоставить врачу предварительную информацию о возможной фибрилляции предсердий или наличии иных нарушений ритма. Кроме того, такие методы могут быть интегрированы в системы телемедицины, позволяя проводить мониторинг сердечного состояния дистанционно.</p> <p>Цель — разработка метода обработки сигнала электрокардиографии для классификации сердечного ритма пациента по трём классам: синусовый ритм, фибрилляция предсердий и прочие аритмии.</p> <p><bold>Материалы и методы.</bold> Для тренировки и тестирования модели были выбраны электрокардиограммы пациентов, находящиеся в открытом доступе [1]. Программное обеспечение написано на языке программирования Python с использованием фреймворка TensorFlow. Тренировочная, валидационная и тестовая выборки формировались с соотношением 10:1:1, распределение по классам равномерное. Наборы данных для каждой записи подготавливались в трёх вариантах: совмещение графиков всех 12 отведений электрокардиограммы на одном изображении, получение спектрограмм II и V1 отведений с использованием вейвлета Гаусса, представление записи в виде векторной кардиограммы. За основу архитектуры свёрточной нейронной сети была взята архитектура ResNet18, которая была в дальнейшем модифицирована, и для каждого из представлений входных данных были произведены серии модификаций.</p> <p><bold>Результаты.</bold> Была получена сериализированная модель со следующими показателями точности: accuracy=43% для совмещения 12 электрокардиографических отведений на изображении; accuracy=43% для векторного представления электрокардиограммы; accuracy=69% для вейвлет-преобразования электрокардиограммы. В случае двухклассовой задачи, включающей в себя синусовый ритм и фибрилляцию предсердий, метрика accuracy для вейвлет-преобразования достигает 93% с метриками recall=93%, precision=94% и f1-score=93%.</p> <p><bold>Заключение.</bold> Полученные результаты демонстрируют возможности применения свёрточных нейронных сетей для оценки сердечного ритма пациентов. Дальнейшее развитие проекта предполагает подбор наилучшего алгоритма машинного обучения, апробация этого алгоритма для двухклассовой задачи и расширение решения для других классов нарушений ритма. Кроме того, возможно улучшение результатов классификации для трёхклассовой задачи при использовании лучшей модели и введении дополнительной кластеризации.</p></trans-abstract><trans-abstract xml:lang="zh"><p/></trans-abstract><kwd-group xml:lang="en"><kwd>convolutional neural network</kwd><kwd>heart rate</kwd><kwd>atrial fibrillation</kwd><kwd>electrocardiography</kwd><kwd>vector electrocardiography</kwd><kwd>continuous wavelet transform</kwd></kwd-group><kwd-group xml:lang="ru"><kwd>свёрточная нейронная сеть</kwd><kwd>сердечный ритм</kwd><kwd>фибрилляция предсердий</kwd><kwd>электрокардиография</kwd><kwd>векторная электрокардиография</kwd><kwd>вейвлет-преобразование</kwd></kwd-group><funding-group/></article-meta></front><body></body><back><ref-list><ref id="B1"><label>1.</label><mixed-citation>PTB-XL — Atrial Fibrillation Detection [Internet]. Kaggle [дата обращения: 16.12.2023]. Доступ по ссылке: https://www.kaggle.com/datasets/arjunascagnetto/ptbxl-atrial-fibrillation-detection</mixed-citation></ref><ref id="B2"><label>2.</label><mixed-citation>DOI: https://doi.org/10.17816/DD627084</mixed-citation></ref></ref-list></back></article>
