Classification of ECG signals into different types of arrhythmias using ML
-In this study, an intellectual based electrocardiogram (ECG) signal classification approach utilizing Deep Learning (DL) is being developed. ECG plays important role in diagnosing various Cardiac ailments. The ECG signal with irregular rhythm is known as Arrhythmia such as Atrial Fibrillation, Ventricular Tachycardia, Ventricular Fibrillation, and so on. The main aspire of this task is to screen and distinguish the patient with various cardio vascular arrhythmia
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
ECG
1. Introduction
Cardiovascular disease (CVD) is the most common class of chronic and life-threatening diseases and, therefore,
considered to be one of the main causes of mortality.
The proposed new neural architecture based on the recent popularity of convolutional neural networks (CNN) was a
solution for the development of automatic heart disease diagnosis systems using electrocardiogram (ECG) signals.
More specifically, ECG signals were passed directly to a properly trained CNN network.
For many years, doctors have been aware that cardiovascular diseases constitute a class of diseases considered to be
one of the main causes of mortality.
Myocardial infarction, commonly referred to as heart attack, stands for the failure of heart muscles to contract for a
fairly long period of time.
Using appropriate treatment within an hour of the start of the heart attack, the mortality risk of the person who
suffers from a heart attack in progress can be reduced.
2. Background
When a heart condition occurs, the first diagnostic check consists of an electrocardiogram (ECG), which,
therefore, is the main diagnostic tool for cardiovascular disease (CVD).
The electrocardiograph detects the electrical activity of the heart during the test time, which is then represented on
a graphic diagram that reflects cyclical electrophysiological events in the cardiac muscle . By conducting a careful
analysis of the ECG trace, doctors can diagnose a probable myocardial infarction.
It is important, however, to underline that the sensitivity and specificity of manual detection of acute myocardial
infarction are 91% and 51%, respectively .
3. Data
Arrhythmia Dataset
The MIT-BIH Arrhythmia Database contains 48 half-hour excerpts of ECG recordings, obtained from 47 subjects studied
by the BIH Arrhythmia Laboratory between 1975 and 1979.
•Number of Samples: 109446
•Number of Categories: 5
•Sampling Frequency: 125Hz
•Data Sources:
• Physionet's MIT-BIH Arrhythmia Dataset,
•https://www.kaggle.com/shayanfazeli/heartbeat
•Classes: ['N': 0, 'S': 1, 'V': 2, 'F': 3, 'Q': 4]
here 0 = normal (N), 1=SVEB, 2=VEB, 3=Fusion beat (F) and 4 = Unknown beat (Q)
4. Review of Literature
Sr. No Title Description Advantages and Disadvantages
1. “Scalable Coding and Prioritized of ECG for Low-Latency Cardiac Monitoring
over Cellular M2M Networks”
Author: Yongowoo Cho, Heonshik Shin, Kyungate Kang.
Year: 2018.
Authors proposed a low latency cellular cardiac
system with low encoding and data sharing
mechanism.
Adv: The system proposed a modified transmission
scheme with the reduced delay to meet clinical
requirements during real time ECG monitoring.
Dis-Adv: Confidentiality issue of patient data and
reasonably undertaken until the much confidence
about result.
2. “Detection of Cardiac Disease using Data Mining Classification Technique”
Author: Abdul Aziz, Aziz Ur Rehman.
Year: 2017.
The authors gives a system that gives detection of
cardiac disease using data mining classification
techniques. This application of classification
technique gives decision tree for the detection of
heart diseases.
Adv: The proposed system help
5. Review of Literature
Sr.No Title. Description. Advantages and Disadvantages.
3. “An Efficient Piecewise Modelling of ECG Signals Based on Hermitian Basic
Functions”.
Author: A. Ahmadian, Karimifard S,
Sadoughi H and Abdoli M.
Year: 2007.
They proposed a new piecewise modelling for approximation of
ECG signal using Hermitian Basis. This method uses only the 5th
order Hermitian basis functions. This method yields to weighing
the approximation error of each segment base on its importance
throughout the ECG complex. This method shows the total error
obtained in this method is almost halved in comparison with
similar non-segmented method.
Disadvantage: The disadvantage of this method is
that small error could mislead the diagnosis.
4. “Classification of electrocardiogram using hidden Markow Model”
Author: W. T. Cheng and K. L. Chan
Year:1998
The authors have discovered the method of Hidden Markov
Model (HMM) in classifying Arrhythmia. They have developed a
fast and reliable method of QRS detection algorithm based on a
one-pole filter which is simple to implement and insensitive to
low noise levels.
Advantage: The proposed
technique is simple to implement and insensitive to
low noise levels.
Disadvantage: The HMM method also is not
sufficient to represent one particular type of beat.
6. Proposed Solution.
There are 2 proposed solution.
Take the 1d ECG signals as input and train a 1d convolutional neural network for classification of
type of arrhythmia.
OR
First converting the 1d ECG signal into a 2d spectrogram image and use a 2d convolutional neural
network for classification of type of arrhythmia.
After training the neural network, we will take the ECG signal as input, preprocess it as per the
proposed method and the trained model will predict the class as output