Classifying Cardiac Arrhythmia from ECG Signal Using 1D CNN Deep Learning Model

Blood circulation depends critically on electrical activation, where any disturbance in the orderly pattern of the heart’s propagating wave of excitation can lead to arrhythmias. Diagnosis of arrhythmias using electrocardiograms (ECG) is widely used because they are a fast, inexpensive, and non-inva...

Full description

Bibliographic Details
Main Authors: Adel A. Ahmed, Waleed Ali, Talal A. A. Abdullah, Sharaf J. Malebary
Format: Article
Language:English
Published: MDPI AG 2023-01-01
Series:Mathematics
Subjects:
Online Access:https://www.mdpi.com/2227-7390/11/3/562
_version_ 1797623873641906176
author Adel A. Ahmed
Waleed Ali
Talal A. A. Abdullah
Sharaf J. Malebary
author_facet Adel A. Ahmed
Waleed Ali
Talal A. A. Abdullah
Sharaf J. Malebary
author_sort Adel A. Ahmed
collection DOAJ
description Blood circulation depends critically on electrical activation, where any disturbance in the orderly pattern of the heart’s propagating wave of excitation can lead to arrhythmias. Diagnosis of arrhythmias using electrocardiograms (ECG) is widely used because they are a fast, inexpensive, and non-invasive tool. However, the randomness of arrhythmic events and the susceptibility of ECGs to noise leads to misdiagnosis of arrhythmias. In addition, manually diagnosing cardiac arrhythmias using ECG data is time-intensive and error-prone. With better training, deep learning (DL) could be a better alternative for fast and automatic classification. The present study introduces a novel deep learning architecture, specifically a one-dimensional convolutional neural network (1D-CNN), for the classification of cardiac arrhythmias. The model was trained and validated with real and noise-attenuated ECG signals from the MIT-BIH dataset. The main aim is to address the limitations of traditional electrocardiograms (ECG) in the diagnosis of arrhythmias, which can be affected by noise and randomness of events, leading to misdiagnosis and errors. To evaluate the model performance, the confusion matrix is used to calculate the model accuracy, precision, recall, f1 score, average and AUC-ROC. The experiment results demonstrate that the proposed model achieved outstanding performance, with 1.00 and 0.99 accuracies in the training and testing datasets, respectively, and can be a fast and automatic alternative for the diagnosis of arrhythmias.
first_indexed 2024-03-11T09:35:00Z
format Article
id doaj.art-05dacf817deb4110a653781e84aae197
institution Directory Open Access Journal
issn 2227-7390
language English
last_indexed 2024-03-11T09:35:00Z
publishDate 2023-01-01
publisher MDPI AG
record_format Article
series Mathematics
spelling doaj.art-05dacf817deb4110a653781e84aae1972023-11-16T17:21:23ZengMDPI AGMathematics2227-73902023-01-0111356210.3390/math11030562Classifying Cardiac Arrhythmia from ECG Signal Using 1D CNN Deep Learning ModelAdel A. Ahmed0Waleed Ali1Talal A. A. Abdullah2Sharaf J. Malebary3Information Technology Department, Faculty of Computing and Information Technology-Rabigh, King Abdulaziz University, Jeddah 25729, Saudi ArabiaInformation Technology Department, Faculty of Computing and Information Technology-Rabigh, King Abdulaziz University, Jeddah 25729, Saudi ArabiaComputer & Information Sciences Department, Universiti Teknologi PETRONAS, Seri Iskandar 32610, MalaysiaInformation Technology Department, Faculty of Computing and Information Technology-Rabigh, King Abdulaziz University, Jeddah 25729, Saudi ArabiaBlood circulation depends critically on electrical activation, where any disturbance in the orderly pattern of the heart’s propagating wave of excitation can lead to arrhythmias. Diagnosis of arrhythmias using electrocardiograms (ECG) is widely used because they are a fast, inexpensive, and non-invasive tool. However, the randomness of arrhythmic events and the susceptibility of ECGs to noise leads to misdiagnosis of arrhythmias. In addition, manually diagnosing cardiac arrhythmias using ECG data is time-intensive and error-prone. With better training, deep learning (DL) could be a better alternative for fast and automatic classification. The present study introduces a novel deep learning architecture, specifically a one-dimensional convolutional neural network (1D-CNN), for the classification of cardiac arrhythmias. The model was trained and validated with real and noise-attenuated ECG signals from the MIT-BIH dataset. The main aim is to address the limitations of traditional electrocardiograms (ECG) in the diagnosis of arrhythmias, which can be affected by noise and randomness of events, leading to misdiagnosis and errors. To evaluate the model performance, the confusion matrix is used to calculate the model accuracy, precision, recall, f1 score, average and AUC-ROC. The experiment results demonstrate that the proposed model achieved outstanding performance, with 1.00 and 0.99 accuracies in the training and testing datasets, respectively, and can be a fast and automatic alternative for the diagnosis of arrhythmias.https://www.mdpi.com/2227-7390/11/3/562cardiac arrhythmiadeep learningelectrocardiogramclassificationCNN
spellingShingle Adel A. Ahmed
Waleed Ali
Talal A. A. Abdullah
Sharaf J. Malebary
Classifying Cardiac Arrhythmia from ECG Signal Using 1D CNN Deep Learning Model
Mathematics
cardiac arrhythmia
deep learning
electrocardiogram
classification
CNN
title Classifying Cardiac Arrhythmia from ECG Signal Using 1D CNN Deep Learning Model
title_full Classifying Cardiac Arrhythmia from ECG Signal Using 1D CNN Deep Learning Model
title_fullStr Classifying Cardiac Arrhythmia from ECG Signal Using 1D CNN Deep Learning Model
title_full_unstemmed Classifying Cardiac Arrhythmia from ECG Signal Using 1D CNN Deep Learning Model
title_short Classifying Cardiac Arrhythmia from ECG Signal Using 1D CNN Deep Learning Model
title_sort classifying cardiac arrhythmia from ecg signal using 1d cnn deep learning model
topic cardiac arrhythmia
deep learning
electrocardiogram
classification
CNN
url https://www.mdpi.com/2227-7390/11/3/562
work_keys_str_mv AT adelaahmed classifyingcardiacarrhythmiafromecgsignalusing1dcnndeeplearningmodel
AT waleedali classifyingcardiacarrhythmiafromecgsignalusing1dcnndeeplearningmodel
AT talalaaabdullah classifyingcardiacarrhythmiafromecgsignalusing1dcnndeeplearningmodel
AT sharafjmalebary classifyingcardiacarrhythmiafromecgsignalusing1dcnndeeplearningmodel