AR-based Method for ECG Classification and Patient RecognitionCSCJournals
The electrocardiogram (ECG) is the recording of heart activity obtained by measuring the signals from electrical contacts placed on the skin of the patient. By analyzing ECG, it is possible to detect the rate and consistency of heartbeats and identify possible irregularities in heart operation. This paper describes a set of techniques employed to pre-process the ECG signals and extract a set of features – autoregressive (AR) signal parameters used to characterise ECG signal. Extracted parameters are in this work used to accomplish two tasks. Firstly, AR features belonging to each ECG signal are classified in groups corresponding to three different heart conditions – normal, arrhythmia and ventricular arrhythmia. Obtained classification results indicate accurate, zero-error classification of patients according to their heart condition using the proposed method. Sets of extracted AR coefficients are then extended by adding an additional parameter – power of AR modelling error and a suitability of developed technique for individual patient identification is investigated. Individual feature sets for each group of detected QRS sections are classified in p clusters where p represents the number of patients in each group. Developed system has been tested using ECG signals available in MIT/BIH and Politecnico of Milano VCG/ECG database. Achieved recognition rates indicate that patient identification using ECG signals could be considered as a possible approach in some applications using the system developed in this work. Pre-processing stages, applied parameter extraction techniques and some intermediate and final classification results are described and presented in this paper.
Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...CSCJournals
The electrocardiograph (ECG) contains cardiac features unique to each individual. By analyzing ECG, it should therefore be possible not only to detect the rate and consistency of heartbeats but to also extract other signal features in order to identify ECG records belonging to individual subjects. In this paper, a new approach for automatic analysis of single lead ECG for human recognition is proposed and evaluated. Eighteen temporal, amplitude, width and autoregressive (AR) model parameters are extracted from each ECG beat and classified in order to identify each individual. Proposed system uses pre-processing stage to decrease the effects of noise and other unwanted artifacts usually present in raw ECG data. Following pre-processing steps, ECG stream is partitioned into separate windows where each window includes single beat of ECG signal. Window estimation is based on the localization of the R peaks in the ECG stream that detected by Filter bank method for QRS complex detection. ECG features – temporal, amplitude and AR coefficients are then extracted and used as an input to K-nn and SVM classification algorithms in order to identify the individual subjects and beats. Signal pre-processing techniques, applied feature extraction methods and some intermediate and final classification results are presented in this paper.
PERFORMANCE EVALUATION OF ARTIFICIAL NEURAL NETWORKS FOR CARDIAC ARRHYTHMIA C...IAEME Publication
In this paper an effective and most reliable method for appropriate classification of cardiac arrhythmia using automatic Artificial Neural Network (ANN) has been proposed. The results are encouraging and are found to have produced a very confident and efficient arrhythmia classification, which is easily applicable in diagnostic decision support system. The authors have employed 3 neural network classifiers to classify three types of beats of ECG signal, namely Normal (N), and two abnormal beats Right Bundle Branch Block (RBBB) and Premature Ventricular Contraction (PVC). The classifiers used in this paper are K-Nearest Neighbor (KNN), Naive Bayes Classifier (NBC) and Multi-Class Support Vector Machine (MSVM). The performance of the classifiers is evaluated using 5 parametric measures namely Sensitivity (Se), Specificity (Sp), Precision (Pr), Bit Error Rate (BER) and Accuracy (A). Hence MSVM classifier using Crammers method is very effective for proper ECG beat classification.
Classification of Cardiac Arrhythmia using WT, HRV, and Fuzzy C-Means ClusteringCSCJournals
The classification of the electrocardiogram registration into different pathologies disease devises is a complex pattern recognition task. In this paper, we propose a generic feature extraction for classification of ECG arrhythmias using a fuzzy c-means (FCM) clustering and Heart Rate variability (HRV). The traditional methods of diagnosis and classification present some inconveniences; seen that the precision of credit note one diagnosis exact depends on the cardiologist experience and the rate concentration. Due to the high mortality rate of heart diseases, early detection and precise discrimination of ECG arrhythmia is essential for the treatment of patients. During the recording of ECG signal, different forms of noise can be superimposed in the useful signal. The pre-treatment of ECG imposes the suppression of these perturbation signals. The row date is preprocessed, normalized and then data points are clustered using FCM technique. In this work, four different structures, FCM-HRV, PCM-HRV, FCMC-HRV and FPCM-HRV are formed by using heart rate variability technique and fuzzy c-means clustering. In addition, FCM-HRV is the new method proposed for classification of ECG. This paper presents a comparative study of the classification accuracy of ECG signals by using these four structures for computationally efficient diagnosis. The ECG signals taken from MIT-BIH ECG database are used in training to classify 4 different arrhythmias (Atrial Fibrillation Termination). All of the structures are tested by using the same ECG records. The test results suggest that FCMC-HRV structure can generalize better and is faster than the other structures.
Classification and Detection of ECG-signals using Artificial Neural NetworksGaurav upadhyay
An electrocardiogram (ECG) is a bio-electrical signal which is used to record the heart's electrical activity with respect to time. Early and accurate detection is important in detecting heart diseases and choosing appropriate treatment for a patient. ECG signals are used as the parameter for detection of Cardiac diseases and most of the data comes from PhysioDataNet and MIT-BIH database .The pre-processing of ECG signal is performed with help of Wavelet toolbox and also used for feature extraction of ECG signal. The complete project is implemented on MATLAB platform. The performance of the algorithm is evaluated on MIT–BIH Database. This paper presents the application of Probabilistic Neural Networks (PNN) for the classification and detection of Electrocardiogram (ECG).
Classification of ecg signal using artificial neural networkGaurav upadhyay
An electrocardiogram (ECG) is a bio-electrical signal which is used to record the heart's electrical activity with respect to time. Early and accurate detection is important in detecting heart diseases and choosing appropriate treatment for a patient. ECG signals are used as the parameter for detection of Cardiac diseases and most of the data comes from PhysioDataNet and MIT-BIH database .The pre-processing of ECG signal is performed with help of Wavelet toolbox and also used for feature extraction of ECG signal. The complete project is implemented on MATLAB platform. The performance of the algorithm is evaluated on MIT–BIH Database. This paper presents the application of Probabilistic Neural Networks (PNN) for the classification and detection of Electrocardiogram (ECG).
Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...CSCJournals
The detection of abnormal cardiac rhythms, automatic discrimination from rhythmic heart activity, became a thrust area in clinical research. Arrhythmia detection is possible by analyzing the electrocardiogram (ECG) signal features. The presence of interference signals, like power line interference (PLI), Electromyogram (EMG) and baseline drift interferences, could cause serious problems during the recording of ECG signals. Many a time, they pose problem in modern control and signal processing applications by being narrow in-band interference near the frequencies carrying crucial information. This paper presents an approach for ECG signal enhancement by combining the attractive properties of principal component analysis (PCA) and wavelets, resulting in multi-scale PCA. In Multi-Scale Principal Component Analysis (MSPCA), the PCA’s ability to decorrelate the variables by extracting a linear relationship and wavelet analysis are utilized. MSPCA method effectively processed the noisy ECG signal and enhanced signal features are used for clear identification of arrhythmias. In MSPCA, the principal components of the wavelet coefficients of the ECG data at each scale are computed first and are then combined at relevant scales. Statistical measures computed in terms of root mean square deviation (RMSD), root mean square error (RMSE), root mean square variation (RMSV) and improvement in signal to noise ratio (SNRI) revealed that the Daubechies based MSPCA outperformed the basic wavelet based processing for ECG signal enhancement. With enhanced signal features obtained after MSPCA processing, the detectable measures, QRS duration and R-R interval are evaluated. By using the rule base technique, projecting the detectable measures on a two dimensional area, various arrhythmias are detected depending upon the beat falling into particular place of the two dimensional area.
AR-based Method for ECG Classification and Patient RecognitionCSCJournals
The electrocardiogram (ECG) is the recording of heart activity obtained by measuring the signals from electrical contacts placed on the skin of the patient. By analyzing ECG, it is possible to detect the rate and consistency of heartbeats and identify possible irregularities in heart operation. This paper describes a set of techniques employed to pre-process the ECG signals and extract a set of features – autoregressive (AR) signal parameters used to characterise ECG signal. Extracted parameters are in this work used to accomplish two tasks. Firstly, AR features belonging to each ECG signal are classified in groups corresponding to three different heart conditions – normal, arrhythmia and ventricular arrhythmia. Obtained classification results indicate accurate, zero-error classification of patients according to their heart condition using the proposed method. Sets of extracted AR coefficients are then extended by adding an additional parameter – power of AR modelling error and a suitability of developed technique for individual patient identification is investigated. Individual feature sets for each group of detected QRS sections are classified in p clusters where p represents the number of patients in each group. Developed system has been tested using ECG signals available in MIT/BIH and Politecnico of Milano VCG/ECG database. Achieved recognition rates indicate that patient identification using ECG signals could be considered as a possible approach in some applications using the system developed in this work. Pre-processing stages, applied parameter extraction techniques and some intermediate and final classification results are described and presented in this paper.
Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...CSCJournals
The electrocardiograph (ECG) contains cardiac features unique to each individual. By analyzing ECG, it should therefore be possible not only to detect the rate and consistency of heartbeats but to also extract other signal features in order to identify ECG records belonging to individual subjects. In this paper, a new approach for automatic analysis of single lead ECG for human recognition is proposed and evaluated. Eighteen temporal, amplitude, width and autoregressive (AR) model parameters are extracted from each ECG beat and classified in order to identify each individual. Proposed system uses pre-processing stage to decrease the effects of noise and other unwanted artifacts usually present in raw ECG data. Following pre-processing steps, ECG stream is partitioned into separate windows where each window includes single beat of ECG signal. Window estimation is based on the localization of the R peaks in the ECG stream that detected by Filter bank method for QRS complex detection. ECG features – temporal, amplitude and AR coefficients are then extracted and used as an input to K-nn and SVM classification algorithms in order to identify the individual subjects and beats. Signal pre-processing techniques, applied feature extraction methods and some intermediate and final classification results are presented in this paper.
PERFORMANCE EVALUATION OF ARTIFICIAL NEURAL NETWORKS FOR CARDIAC ARRHYTHMIA C...IAEME Publication
In this paper an effective and most reliable method for appropriate classification of cardiac arrhythmia using automatic Artificial Neural Network (ANN) has been proposed. The results are encouraging and are found to have produced a very confident and efficient arrhythmia classification, which is easily applicable in diagnostic decision support system. The authors have employed 3 neural network classifiers to classify three types of beats of ECG signal, namely Normal (N), and two abnormal beats Right Bundle Branch Block (RBBB) and Premature Ventricular Contraction (PVC). The classifiers used in this paper are K-Nearest Neighbor (KNN), Naive Bayes Classifier (NBC) and Multi-Class Support Vector Machine (MSVM). The performance of the classifiers is evaluated using 5 parametric measures namely Sensitivity (Se), Specificity (Sp), Precision (Pr), Bit Error Rate (BER) and Accuracy (A). Hence MSVM classifier using Crammers method is very effective for proper ECG beat classification.
Classification of Cardiac Arrhythmia using WT, HRV, and Fuzzy C-Means ClusteringCSCJournals
The classification of the electrocardiogram registration into different pathologies disease devises is a complex pattern recognition task. In this paper, we propose a generic feature extraction for classification of ECG arrhythmias using a fuzzy c-means (FCM) clustering and Heart Rate variability (HRV). The traditional methods of diagnosis and classification present some inconveniences; seen that the precision of credit note one diagnosis exact depends on the cardiologist experience and the rate concentration. Due to the high mortality rate of heart diseases, early detection and precise discrimination of ECG arrhythmia is essential for the treatment of patients. During the recording of ECG signal, different forms of noise can be superimposed in the useful signal. The pre-treatment of ECG imposes the suppression of these perturbation signals. The row date is preprocessed, normalized and then data points are clustered using FCM technique. In this work, four different structures, FCM-HRV, PCM-HRV, FCMC-HRV and FPCM-HRV are formed by using heart rate variability technique and fuzzy c-means clustering. In addition, FCM-HRV is the new method proposed for classification of ECG. This paper presents a comparative study of the classification accuracy of ECG signals by using these four structures for computationally efficient diagnosis. The ECG signals taken from MIT-BIH ECG database are used in training to classify 4 different arrhythmias (Atrial Fibrillation Termination). All of the structures are tested by using the same ECG records. The test results suggest that FCMC-HRV structure can generalize better and is faster than the other structures.
Classification and Detection of ECG-signals using Artificial Neural NetworksGaurav upadhyay
An electrocardiogram (ECG) is a bio-electrical signal which is used to record the heart's electrical activity with respect to time. Early and accurate detection is important in detecting heart diseases and choosing appropriate treatment for a patient. ECG signals are used as the parameter for detection of Cardiac diseases and most of the data comes from PhysioDataNet and MIT-BIH database .The pre-processing of ECG signal is performed with help of Wavelet toolbox and also used for feature extraction of ECG signal. The complete project is implemented on MATLAB platform. The performance of the algorithm is evaluated on MIT–BIH Database. This paper presents the application of Probabilistic Neural Networks (PNN) for the classification and detection of Electrocardiogram (ECG).
Classification of ecg signal using artificial neural networkGaurav upadhyay
An electrocardiogram (ECG) is a bio-electrical signal which is used to record the heart's electrical activity with respect to time. Early and accurate detection is important in detecting heart diseases and choosing appropriate treatment for a patient. ECG signals are used as the parameter for detection of Cardiac diseases and most of the data comes from PhysioDataNet and MIT-BIH database .The pre-processing of ECG signal is performed with help of Wavelet toolbox and also used for feature extraction of ECG signal. The complete project is implemented on MATLAB platform. The performance of the algorithm is evaluated on MIT–BIH Database. This paper presents the application of Probabilistic Neural Networks (PNN) for the classification and detection of Electrocardiogram (ECG).
Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...CSCJournals
The detection of abnormal cardiac rhythms, automatic discrimination from rhythmic heart activity, became a thrust area in clinical research. Arrhythmia detection is possible by analyzing the electrocardiogram (ECG) signal features. The presence of interference signals, like power line interference (PLI), Electromyogram (EMG) and baseline drift interferences, could cause serious problems during the recording of ECG signals. Many a time, they pose problem in modern control and signal processing applications by being narrow in-band interference near the frequencies carrying crucial information. This paper presents an approach for ECG signal enhancement by combining the attractive properties of principal component analysis (PCA) and wavelets, resulting in multi-scale PCA. In Multi-Scale Principal Component Analysis (MSPCA), the PCA’s ability to decorrelate the variables by extracting a linear relationship and wavelet analysis are utilized. MSPCA method effectively processed the noisy ECG signal and enhanced signal features are used for clear identification of arrhythmias. In MSPCA, the principal components of the wavelet coefficients of the ECG data at each scale are computed first and are then combined at relevant scales. Statistical measures computed in terms of root mean square deviation (RMSD), root mean square error (RMSE), root mean square variation (RMSV) and improvement in signal to noise ratio (SNRI) revealed that the Daubechies based MSPCA outperformed the basic wavelet based processing for ECG signal enhancement. With enhanced signal features obtained after MSPCA processing, the detectable measures, QRS duration and R-R interval are evaluated. By using the rule base technique, projecting the detectable measures on a two dimensional area, various arrhythmias are detected depending upon the beat falling into particular place of the two dimensional area.
Real-Time Detection of Fatal Ventricular Dysrhythmias for Automated External ...Ehsan Izadi
Automated external defibrillators (AEDs) are
portable devices assigned to appropriate and real-time diagnosis
of two fatal dysrhythmias including, ventricular fibrillation and
rapid ventricular tachycardia; these are often associated with
sudden cardiac arrest. In this paper, a novel time-domain based
algorithm has been proposed for AEDs. The algorithm could
measure the heart rate and duration of the QRS Complex using
the critical points of electrocardiogram (ECG) to classify the
arrhythmias. This algorithm was tested with a large amount of
annotated data under equal conditions. The complete MIT-BIH
arrhythmia database, MIT-BIH normal sinus rhythm database,
MIT-BIH malignant database, and CU database were used as
the test data. The results obtained by the proposed algorithm
showed the sensitivity of 95.87%, the specificity of 99.00%, and
the accuracy of 98.78% in the single diagnose mode (SDM),
where the final decision was based on the last diagnose. On
the triple diagnose mode (TDM), where the final decision was
based on the last three consecutive diagnoses, the sensitivity of
94.50%, the specificity of 99.33%, and the accuracy of 99.07%
were obtained. In addition, the algorithm ensured the safety
of normal sinus rhythm cases with the specificity of 99.967%
and 99.997% in SDM and TDM, respectively. Furthermore, the
performance of the algorithm was calculated and plotted point
by point for different values. The proposed work was, therefore,
successfully implemented on ARM Cortex-M3 and evaluated
using test databases. Thus, this work could be well-suited for realtime
implementation in the AEDs and ECG monitoring devices
Detection of Real Time QRS Complex Using Wavelet Transform IJECEIAES
This paper presents a novel method for QRS detection. To accomplish this task ECG signal was first filtered by using a third order Savitzky Golay filter. The filtered ECG signal was then preprocessed by a Wavelet based denoising in a real-time fashion to minimize the undefined noise level. R-peak was then detected from denoised signal after wavelet denoising. Windowing mechanism was also applied for finding any missing R-peaks. All the 48 records have been used to test the proposed method. During this testing, 99.97% sensitivity and 99.99% positive predictivity is obtained for QRS complex detection.
Wavelet based Signal Processing for Compression a Methodology for on-line Tel...iosrjce
IOSR journal of VLSI and Signal Processing (IOSRJVSP) is a double blind peer reviewed International Journal that publishes articles which contribute new results in all areas of VLSI Design & Signal Processing. The goal of this journal is to bring together researchers and practitioners from academia and industry to focus on advanced VLSI Design & Signal Processing concepts and establishing new collaborations in these areas.
Design and realization of microelectronic systems using VLSI/ULSI technologies require close collaboration among scientists and engineers in the fields of systems architecture, logic and circuit design, chips and wafer fabrication, packaging, testing and systems applications. Generation of specifications, design and verification must be performed at all abstraction levels, including the system, register-transfer, logic, circuit, transistor and process levels
Personal identity verification based ECG biometric using non-fiducial features IJECEIAES
Biometrics was used as an automated and fast acceptable technology for human identification and it may be behavioral or physiological traits. Any biometric system based on identification or verification modes for human identity. The electrocardiogram (ECG) is considered as one of the physiological biometrics which impossible to mimic or stole. ECG feature extraction methods were performed using fiducial or non-fiducial approaches. This research presents an authentication ECG biometric system using non-fiducial features obtained by Discrete Wavelet Decomposition and the Euclidean Distance technique was used to implement the identity verification. From the obtained results, the proposed system accuracy is 96.66% also, using the verification system is preferred for a large number of individuals as it takes less time to get the decision.
Heart rate detection using hilbert transformeSAT Journals
Abstract The electrocardiogram (ECG) is a well known method that can be used to measure Heart Rate Variability (HRV). This paper describes a procedure for processing electrocardiogram signals (ECG) to detect Heart Rate Variability (HRV). In recent years, there have been wide-ranging studies on Heart rate variability in ECG signals and analysis of Respiratory Sinus Arrhythmia (RSA). Normally the Heart rate variability is studied based on cycle length variability, heart period variability, RR variability and RR interval tachogram. The HRV provides information about the sympathetic-parasympathetic autonomic stability and consequently about the risk of unpredicted cardiac death. The heart beats in ECG signal are detected by detecting R-Peaks in ECG signals and used to determine useful information about the various cardiac abnormalities. The temporal locations of the R-wave are identified as the locations of the QRS complexes. In the presence of poor signal-to-noise ratios or pathological signals and wrong placement of ECG electrodes, the QRS complex may be missed or falsely detected and may lead to poor results in calculating heart beat in turn inter-beat intervals. We have studied the effects of number of common elements of QRS detection methods using MIT/BIH arrhythmia database and devised a simple and effective method. In this method, first the ECG signal is preprocessed using band-pass filter; later the Hilbert Transform is applied on filtered ECG signal to enhance the presence of QRS complexes, to detect R-Peaks by setting a threshold and finally the RR-intervals are calculated to determine Heart Rate. We have implemented our method using MATLAB on ECG signal which is obtained from MIT/BIH arrhythmia database. Our MATLAB implementation results in the detection of QRS complexes in ECG signal, locate the R-Peaks, computes Heart Rate (HR) by calculating RR-internal and plotting of HR signal to show the information about HRV. Index Terms: ECG, QRS complex, R-Peaks, HRV, Heart Rate signal, RSA, Hilbert Transform, Arrhythmia, MIT/BIH, MATLAB and Lynn’s filters
Enhancement of ecg classification using ga and psoeSAT Journals
Abstract ECG signal classification utilizes for different predictions of heart diseases. These ECG signals have to be classified using different frequency bands according to different energy levels for better prediction of features. These signals have to be classified in different five bands P, Q, R, S and T. These sub-bands provide peak information available in different sub-bands. For the classification various approaches have to be implemented for filtration of signal. In the purposed work Adaptive filter has been implemented for the noise reduction from these signals. Classification of the ECG signal has been optimized using Genetic Algorithm and Particle Swarm Optimization approach. These approaches of classification provide better results i.e. 100 and 100 for 106o and 119o respectively for energy levels of ECG signal. Keywords:- ECG, noise reduction, Genetic Algorithm and Particle Swarm Optimization approach
Identification of Myocardial Infarction from Multi-Lead ECG signalIJERA Editor
Electrocardiogram (ECG) is the cheap and noninvasive method of depicting the heart activity and abnormalities.
It provides information about the functionality of the heart. It is the record of variation of bioelectric potential
with respect to time as the human heart beats. The classification of ECG signals is an important application since
the early detection of heart diseases/abnormalities can prolong life and enhance the quality of living through
appropriate treatment. Since the ECG signals, while recording are contaminated by several noises it is necessary
to preprocess the signals prior to classification. Digital filters are used to remove noise from the signal. Principal
component analysis is applied on the 12 lead signal to extract various features. The present paper shows the
unique feature, point score calculated on the basis of the features extracted from the ECG signal. The point
score calculation is tested for 40 myocardial infarction ECG signals and 25 Normal ECG signals from the PTB
Diagnostic database with 94% sensitivity.
WAVELET SCATTERING TRANSFORM FOR ECG CARDIOVASCULAR DISEASE CLASSIFICATIONijaia
Classifying the ECG dataset is the main technique for diagnosing heart disease. However, the focus of this
field is increasingly on prediction, with a growing dependence on machine learning techniques. This study
aimed to enhance the accuracy of cardiovascular disease classification using data from the PhysioNet
database by employing machine learning (ML). The study proposed several multi-class classification
models that accurately identify patterns within three classes: heart failure rhythm (HFR), normal heart
rhythm (NHR), and arrhythmia (ARR). This was accomplished by utilizing a database containing 162 ECG
signals. The study employed a variety of techniques, including frequency-time domain analysis, spectral
features, and wavelet scattering, to extract features and capture unique characteristics from the ECG
dataset. The SVM model produced a training accuracy of 97.1% and a testing accuracy of 92%. This work
provides a reliable, effective, and human error-free diagnostic tool for identifying heart disease.
Furthermore, it could prove to be a valuable resource for future medical research projects aimed at
improving the diagnosis and treatment of cardiovascular diseases.
WAVELET SCATTERING TRANSFORM FOR ECG CARDIOVASCULAR DISEASE CLASSIFICATIONgerogepatton
Classifying the ECG dataset is the main technique for diagnosing heart disease. However, the focus of this
field is increasingly on prediction, with a growing dependence on machine learning techniques. This study
aimed to enhance the accuracy of cardiovascular disease classification using data from the PhysioNet
database by employing machine learning (ML). The study proposed several multi-class classification
models that accurately identify patterns within three classes: heart failure rhythm (HFR), normal heart
rhythm (NHR), and arrhythmia (ARR). This was accomplished by utilizing a database containing 162 ECG
signals. The study employed a variety of techniques, including frequency-time domain analysis, spectral
features, and wavelet scattering, to extract features and capture unique characteristics from the ECG
dataset. The SVM model produced a training accuracy of 97.1% and a testing accuracy of 92%. This work
provides a reliable, effective, and human error-free diagnostic tool for identifying heart disease.
Furthermore, it could prove to be a valuable resource for future medical research projects aimed at
improving the diagnosis and treatment of cardiovascular diseases.
WAVELET SCATTERING TRANSFORM FOR ECG CARDIOVASCULAR DISEASE CLASSIFICATIONgerogepatton
Classifying the ECG dataset is the main technique for diagnosing heart disease. However, the focus of this
field is increasingly on prediction, with a growing dependence on machine learning techniques. This study
aimed to enhance the accuracy of cardiovascular disease classification using data from the PhysioNet
database by employing machine learning (ML). The study proposed several multi-class classification
models that accurately identify patterns within three classes: heart failure rhythm (HFR), normal heart
rhythm (NHR), and arrhythmia (ARR). This was accomplished by utilizing a database containing 162 ECG
signals. The study employed a variety of techniques, including frequency-time domain analysis, spectral
features, and wavelet scattering, to extract features and capture unique characteristics from the ECG
dataset. The SVM model produced a training accuracy of 97.1% and a testing accuracy of 92%. This work
provides a reliable, effective, and human error-free diagnostic tool for identifying heart disease.
Furthermore, it could prove to be a valuable resource for future medical research projects aimed at
improving the diagnosis and treatment of cardiovascular diseases
Real-Time Detection of Fatal Ventricular Dysrhythmias for Automated External ...Ehsan Izadi
Automated external defibrillators (AEDs) are
portable devices assigned to appropriate and real-time diagnosis
of two fatal dysrhythmias including, ventricular fibrillation and
rapid ventricular tachycardia; these are often associated with
sudden cardiac arrest. In this paper, a novel time-domain based
algorithm has been proposed for AEDs. The algorithm could
measure the heart rate and duration of the QRS Complex using
the critical points of electrocardiogram (ECG) to classify the
arrhythmias. This algorithm was tested with a large amount of
annotated data under equal conditions. The complete MIT-BIH
arrhythmia database, MIT-BIH normal sinus rhythm database,
MIT-BIH malignant database, and CU database were used as
the test data. The results obtained by the proposed algorithm
showed the sensitivity of 95.87%, the specificity of 99.00%, and
the accuracy of 98.78% in the single diagnose mode (SDM),
where the final decision was based on the last diagnose. On
the triple diagnose mode (TDM), where the final decision was
based on the last three consecutive diagnoses, the sensitivity of
94.50%, the specificity of 99.33%, and the accuracy of 99.07%
were obtained. In addition, the algorithm ensured the safety
of normal sinus rhythm cases with the specificity of 99.967%
and 99.997% in SDM and TDM, respectively. Furthermore, the
performance of the algorithm was calculated and plotted point
by point for different values. The proposed work was, therefore,
successfully implemented on ARM Cortex-M3 and evaluated
using test databases. Thus, this work could be well-suited for realtime
implementation in the AEDs and ECG monitoring devices
Detection of Real Time QRS Complex Using Wavelet Transform IJECEIAES
This paper presents a novel method for QRS detection. To accomplish this task ECG signal was first filtered by using a third order Savitzky Golay filter. The filtered ECG signal was then preprocessed by a Wavelet based denoising in a real-time fashion to minimize the undefined noise level. R-peak was then detected from denoised signal after wavelet denoising. Windowing mechanism was also applied for finding any missing R-peaks. All the 48 records have been used to test the proposed method. During this testing, 99.97% sensitivity and 99.99% positive predictivity is obtained for QRS complex detection.
Wavelet based Signal Processing for Compression a Methodology for on-line Tel...iosrjce
IOSR journal of VLSI and Signal Processing (IOSRJVSP) is a double blind peer reviewed International Journal that publishes articles which contribute new results in all areas of VLSI Design & Signal Processing. The goal of this journal is to bring together researchers and practitioners from academia and industry to focus on advanced VLSI Design & Signal Processing concepts and establishing new collaborations in these areas.
Design and realization of microelectronic systems using VLSI/ULSI technologies require close collaboration among scientists and engineers in the fields of systems architecture, logic and circuit design, chips and wafer fabrication, packaging, testing and systems applications. Generation of specifications, design and verification must be performed at all abstraction levels, including the system, register-transfer, logic, circuit, transistor and process levels
Personal identity verification based ECG biometric using non-fiducial features IJECEIAES
Biometrics was used as an automated and fast acceptable technology for human identification and it may be behavioral or physiological traits. Any biometric system based on identification or verification modes for human identity. The electrocardiogram (ECG) is considered as one of the physiological biometrics which impossible to mimic or stole. ECG feature extraction methods were performed using fiducial or non-fiducial approaches. This research presents an authentication ECG biometric system using non-fiducial features obtained by Discrete Wavelet Decomposition and the Euclidean Distance technique was used to implement the identity verification. From the obtained results, the proposed system accuracy is 96.66% also, using the verification system is preferred for a large number of individuals as it takes less time to get the decision.
Heart rate detection using hilbert transformeSAT Journals
Abstract The electrocardiogram (ECG) is a well known method that can be used to measure Heart Rate Variability (HRV). This paper describes a procedure for processing electrocardiogram signals (ECG) to detect Heart Rate Variability (HRV). In recent years, there have been wide-ranging studies on Heart rate variability in ECG signals and analysis of Respiratory Sinus Arrhythmia (RSA). Normally the Heart rate variability is studied based on cycle length variability, heart period variability, RR variability and RR interval tachogram. The HRV provides information about the sympathetic-parasympathetic autonomic stability and consequently about the risk of unpredicted cardiac death. The heart beats in ECG signal are detected by detecting R-Peaks in ECG signals and used to determine useful information about the various cardiac abnormalities. The temporal locations of the R-wave are identified as the locations of the QRS complexes. In the presence of poor signal-to-noise ratios or pathological signals and wrong placement of ECG electrodes, the QRS complex may be missed or falsely detected and may lead to poor results in calculating heart beat in turn inter-beat intervals. We have studied the effects of number of common elements of QRS detection methods using MIT/BIH arrhythmia database and devised a simple and effective method. In this method, first the ECG signal is preprocessed using band-pass filter; later the Hilbert Transform is applied on filtered ECG signal to enhance the presence of QRS complexes, to detect R-Peaks by setting a threshold and finally the RR-intervals are calculated to determine Heart Rate. We have implemented our method using MATLAB on ECG signal which is obtained from MIT/BIH arrhythmia database. Our MATLAB implementation results in the detection of QRS complexes in ECG signal, locate the R-Peaks, computes Heart Rate (HR) by calculating RR-internal and plotting of HR signal to show the information about HRV. Index Terms: ECG, QRS complex, R-Peaks, HRV, Heart Rate signal, RSA, Hilbert Transform, Arrhythmia, MIT/BIH, MATLAB and Lynn’s filters
Enhancement of ecg classification using ga and psoeSAT Journals
Abstract ECG signal classification utilizes for different predictions of heart diseases. These ECG signals have to be classified using different frequency bands according to different energy levels for better prediction of features. These signals have to be classified in different five bands P, Q, R, S and T. These sub-bands provide peak information available in different sub-bands. For the classification various approaches have to be implemented for filtration of signal. In the purposed work Adaptive filter has been implemented for the noise reduction from these signals. Classification of the ECG signal has been optimized using Genetic Algorithm and Particle Swarm Optimization approach. These approaches of classification provide better results i.e. 100 and 100 for 106o and 119o respectively for energy levels of ECG signal. Keywords:- ECG, noise reduction, Genetic Algorithm and Particle Swarm Optimization approach
Identification of Myocardial Infarction from Multi-Lead ECG signalIJERA Editor
Electrocardiogram (ECG) is the cheap and noninvasive method of depicting the heart activity and abnormalities.
It provides information about the functionality of the heart. It is the record of variation of bioelectric potential
with respect to time as the human heart beats. The classification of ECG signals is an important application since
the early detection of heart diseases/abnormalities can prolong life and enhance the quality of living through
appropriate treatment. Since the ECG signals, while recording are contaminated by several noises it is necessary
to preprocess the signals prior to classification. Digital filters are used to remove noise from the signal. Principal
component analysis is applied on the 12 lead signal to extract various features. The present paper shows the
unique feature, point score calculated on the basis of the features extracted from the ECG signal. The point
score calculation is tested for 40 myocardial infarction ECG signals and 25 Normal ECG signals from the PTB
Diagnostic database with 94% sensitivity.
WAVELET SCATTERING TRANSFORM FOR ECG CARDIOVASCULAR DISEASE CLASSIFICATIONijaia
Classifying the ECG dataset is the main technique for diagnosing heart disease. However, the focus of this
field is increasingly on prediction, with a growing dependence on machine learning techniques. This study
aimed to enhance the accuracy of cardiovascular disease classification using data from the PhysioNet
database by employing machine learning (ML). The study proposed several multi-class classification
models that accurately identify patterns within three classes: heart failure rhythm (HFR), normal heart
rhythm (NHR), and arrhythmia (ARR). This was accomplished by utilizing a database containing 162 ECG
signals. The study employed a variety of techniques, including frequency-time domain analysis, spectral
features, and wavelet scattering, to extract features and capture unique characteristics from the ECG
dataset. The SVM model produced a training accuracy of 97.1% and a testing accuracy of 92%. This work
provides a reliable, effective, and human error-free diagnostic tool for identifying heart disease.
Furthermore, it could prove to be a valuable resource for future medical research projects aimed at
improving the diagnosis and treatment of cardiovascular diseases.
WAVELET SCATTERING TRANSFORM FOR ECG CARDIOVASCULAR DISEASE CLASSIFICATIONgerogepatton
Classifying the ECG dataset is the main technique for diagnosing heart disease. However, the focus of this
field is increasingly on prediction, with a growing dependence on machine learning techniques. This study
aimed to enhance the accuracy of cardiovascular disease classification using data from the PhysioNet
database by employing machine learning (ML). The study proposed several multi-class classification
models that accurately identify patterns within three classes: heart failure rhythm (HFR), normal heart
rhythm (NHR), and arrhythmia (ARR). This was accomplished by utilizing a database containing 162 ECG
signals. The study employed a variety of techniques, including frequency-time domain analysis, spectral
features, and wavelet scattering, to extract features and capture unique characteristics from the ECG
dataset. The SVM model produced a training accuracy of 97.1% and a testing accuracy of 92%. This work
provides a reliable, effective, and human error-free diagnostic tool for identifying heart disease.
Furthermore, it could prove to be a valuable resource for future medical research projects aimed at
improving the diagnosis and treatment of cardiovascular diseases.
WAVELET SCATTERING TRANSFORM FOR ECG CARDIOVASCULAR DISEASE CLASSIFICATIONgerogepatton
Classifying the ECG dataset is the main technique for diagnosing heart disease. However, the focus of this
field is increasingly on prediction, with a growing dependence on machine learning techniques. This study
aimed to enhance the accuracy of cardiovascular disease classification using data from the PhysioNet
database by employing machine learning (ML). The study proposed several multi-class classification
models that accurately identify patterns within three classes: heart failure rhythm (HFR), normal heart
rhythm (NHR), and arrhythmia (ARR). This was accomplished by utilizing a database containing 162 ECG
signals. The study employed a variety of techniques, including frequency-time domain analysis, spectral
features, and wavelet scattering, to extract features and capture unique characteristics from the ECG
dataset. The SVM model produced a training accuracy of 97.1% and a testing accuracy of 92%. This work
provides a reliable, effective, and human error-free diagnostic tool for identifying heart disease.
Furthermore, it could prove to be a valuable resource for future medical research projects aimed at
improving the diagnosis and treatment of cardiovascular diseases
Classification of cardiac vascular disease from ecg signals for enhancing mod...hiij
“Why to be in frustration we will do new creation f
or salvation”. Based on these words we grapes your
attention towards saving a life of a heart patient
with the use of ECG in Public Health Care Center by
transmitting ECG signals to nearby hospital server.
In this paper we analyze the abnormalities found i
n the
ECG signals by identifying the Normal, Bradycardia
Arrhythmia, Tachycardia Arrhythmia and Ischemia
signal using the method of Neuro Fuzzy Classifier.
Daubechies Wavelet Transforms is used for feature
extraction and Adaptive Neuro Fuzzy Inference Syste
m (ANFIS) is used for classification. The compressi
on
algorithm is performed by using Huffman coding.
Classifying electrocardiograph waveforms using trained deep learning neural n...IAESIJAI
Due to the rise in cardiac patients, an automated system that can identify different heart disorders has been created to lighten and distribute the duty of physicians. This research uses three different electrocardiograph (ECG) signals as indicators of a person's cardiac problems: Normal sinus rhythm (NSR), arrhythmia (ARR), and congestive heart failure (CHF). The continuous wavelet transform (CWT) provides the mechanism for classifying the 190 individual cases of ECG data into a 2-dimensional time-frequency representation. In this paper, the modified GoogLeNet is used for ECG data classification. Using a transfer learning approach and adjustments to parts of the output layers, ECG classification was conducted and the effectiveness of convolutional neural network (CNN) designs was tested. By comparing the results that the optimized neural network and GoogLeNet both had classification accuracy about of 80% and 100%, respectively. The GoogLeNet provide the best result in term of accuracy and training time.
CLASSIFICATION OF ECG ARRHYTHMIAS USING /DISCRETE WAVELET TRANSFORM AND NEURA...IJCSEA Journal
Automatic recognition of cardiac arrhythmias is important for diagnosis of cardiac abnormalies. Several algorithms have been proposed to classify ECG arrhythmias; however, they cannot perform very well. Therefore, in this paper, an expert system for ElectroCardioGram (ECG) arrhythmia classification is proposed. Discrete wavelet transform is used for processing ECG recordings, and extracting some features, and the Multi-Layer Perceptron (MLP) neural network performs the classification task. Two types of arrhythmias can be detected by the proposed system. Some recordings of the MIT-BIH arrhythmias database have been used for training and testing our neural network based classifier. The simulation results show that the classification accuracy of our algorithm is 96.5% using 10 files including normal and two arrhythmias.
The clinical indication of arrhythmia identifies specific aberrant circumstances in heart pumping that may be detected using electrical impulses during conduction or by allowing a little amount of current to travel through the electrodes, disrupting the cardiac muscle's resistance. The electrocardiogram (ECG) is one of the most important instruments for detecting cardiac arrhythmia since it is the most least intrusive and effective procedure. Physically or visually inspecting the heart is time-consuming and difficult, hence the development of computer aided diagnosis (CAD) is being developed to aid clinical decision-making. In this suggested research, a convolutional neural network (CNN)-based approach is used to automate the heartbeat classification process in order to identify cardiac arrhythmia. The improved enhancement of CNN structure has been implemented in this suggested research. The feature maps are then subjected to the max pooling process. Finally, feature maps are generated by concatenating kernels of different sizes and delivering them as an input to the fully linked layers. The MIT BIH arrhythmia database is used to implement this approach, and the total average accuracy is 99.21%. The proof of the suggested study's efficiency and efficacy in identifying cardiac arrhythmia has also been done via an experimental comparison.
An Automated ECG Signal Diagnosing Methodology using Random Forest Classifica...ijtsrd
In this project, we put forward a new automated quality aware ECG beat classification method for effectual diagnosis of ECG arrhythmias under unsubstantiated health concern environments. The suggested method contains three foremost junctures i ECG signal quality assessment ECG SQA based whether it is “acceptable†or “unacceptable†based on our preceding adapted complete ensemble empirical mode decomposition CEEMD and temporal features, ii reconstruction of ECG signal and R peak detection iii the ECG beat classification as well as the ECG beat extraction, beat alignment and Random forest RF based beat classification. The accuracy and robustness of the anticipated method is evaluated by means of different normal and abnormal ECG signals taken from the standard MIT BIH arrhythmia database. The suggested ECG beat extraction approach can recover the categorization accuracy by protecting the QRS complex portion and background noises is suppressed under an acceptable level of noise . The quality aware ECG beat classification techniques attains higher kappa values for the classification accuracies which can be reliable as evaluated to the heartbeat classification methods without the ECG quality assessment process. Akshara Jayanthan M B | Prof. K. Kalai Selvi "An Automated ECG Signal Diagnosing Methodology using Random Forest Classification with Quality Aware Techniques" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-4 | Issue-3 , April 2020, URL: https://www.ijtsrd.com/papers/ijtsrd30750.pdf Paper Url :https://www.ijtsrd.com/engineering/electronics-and-communication-engineering/30750/an-automated-ecg-signal-diagnosing-methodology-using-random-forest-classification-with-quality-aware-techniques/akshara-jayanthan-m-b
COMPUTER AIDED DIAGNOSIS OF VENTRICULAR ARRHYTHMIAS FROM ELECTROCARDIOGRAM LE...sipij
In this work, we use computer aided diagnosis (CADx) to extract features from ECG signals and detect different types of cardiac ventricular arrhythmias including Ventricular Tachycardia (VT),Ventricular Fibrillation (VF), Ventricular Couplet (VC), and Ventricular Bigeminy (VB).Our methodology is unique in computing features of lower and higher order statistical parameters from six different data domains: time domain, Fourier domain, and four Wavelet domains (Daubechies, Coiflet, Symlet, and Meyer). These features proved to give superior classification performance, in general, regardless of the type of classifier used as compared with previous studies. However, Support Vector Machine (SVM) and Artificial Neural Network (ANN) classifiers got better performance than other classifiers tried including KNN and Naïve Bayes classifiers. Our unique features enabled classifiers to perform better in comparison with previous studies: for VT, 100% accuracy while best previous work got 95.8%, for VF, 100% accuracy while best
previous work got 97.5%, for VC, 100% sensitivity while best previous work got 71.8%, and for VB, 100%.sensitivity while best previous work got 84.6%.
1-dimensional convolutional neural networks for predicting sudden cardiacIAESIJAI
Sudden cardiac arrest (SCA) is a serious heart problem that occurs without symptoms or warning. SCA causes high mortality. Therefore, it is important to estimate the incidence of SCA. Current methods for predicting ventricular fibrillation (VF) episodes require monitoring patients over time, resulting in no complications. New technologies, especially machine learning, are gaining popularity due to the benefits they provide. However, most existing systems rely on manual processes, which can lead to inefficiencies in disseminating patient information. On the other hand, existing deep learning methods rely on large data sets that are not publicly available. In this study, we propose a deep learning method based on one-dimensional convolutional neural networks to learn to use discrete fourier transform (DFT) features in raw electrocardiogram (ECG) signals. The results showed that our method was able to accurately predict the onset of SCA with an accuracy of 96% approximately 90 minutes before it occurred. Predictions can save many lives. That is, optimized deep learning models can outperform manual models in analyzing long-term signals.
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
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Chapter 3 - Islamic Banking Products and Services.pptx
1804.06812
1. Noname manuscript No.
(will be inserted by the editor)
ECG arrhythmia classification using a 2-D
convolutional neural network
Tae Joon Jun1
· Hoang Minh Nguyen1
·
Daeyoun Kang1
· Dohyeun Kim1
·
Daeyoung Kim1
· Young-Hak Kim2
Received: date / Accepted: date
Abstract In this paper, we propose an effective electrocardiogram (ECG)
arrhythmia classification method using a deep two-dimensional convolutional
neural network (CNN) which recently shows outstanding performance in the
field of pattern recognition. Every ECG beat was transformed into a two-
dimensional grayscale image as an input data for the CNN classifier. Opti-
mization of the proposed CNN classifier includes various deep learning tech-
niques such as batch normalization, data augmentation, Xavier initialization,
and dropout. In addition, we compared our proposed classifier with two well-
known CNN models; AlexNet and VGGNet. ECG recordings from the MIT-
BIH arrhythmia database were used for the evaluation of the classifier. As a
result, our classifier achieved 99.05% average accuracy with 97.85% average
sensitivity. To precisely validate our CNN classifier, 10-fold cross-validation
was performed at the evaluation which involves every ECG recording as a test
data. Our experimental results have successfully validated that the proposed
CNN classifier with the transformed ECG images can achieve excellent classi-
fication accuracy without any manual pre-processing of the ECG signals such
as noise filtering, feature extraction, and feature reduction.
Keywords Electrocardiogram · Arrhythmia · Convolutional neural network
Tae Joon Jun
taejoon89@kaist.ac.kr
1 School of Computing, Korea Advanced Institute of Science and Technology, Dae-
jeon, Republic of Korea
2 Division of Cardiology, University of Ulsan College of Medicine, Asan Medical Center,
Seoul, Republic of Korea
arXiv:1804.06812v1
[cs.CV]
18
Apr
2018
2. 2 Tae Joon Jun et al
1 Introduction
According to the World Health Organization (WHO), cardiovascular diseases
(CVDs) are the number one cause of death today. Over 17.7 million people died
from CVDs which is an about 31% of all deaths, and over 75% of these deaths
occur in low- and middle-income countries.[50] Arrhythmia is a representa-
tive type of CVDs that refers to any irregular change from the normal heart
rhythms. There are several types of arrhythmia including atrial fibrillation,
premature contraction, ventricular fibrillation, and tachycardia. Although sin-
gle arrhythmia heartbeat may not have a serious impact on life, continuous
arrhythmia beats can result in fatal circumstances. For example, prolonged
premature ventricular contractions (PVCs) beats occasionally turn into a ven-
tricular tachycardia (VT) or a ventricular fibrillation (VF) beats which can
immediately lead to the heart failure. Thus, it is important to periodically
monitor the heart rhythms to manage and prevent the CVDs. Electrocardio-
gram (ECG) is a non-invasive medical tool that displays the rhythm and status
of the heart. Therefore, automatic detection of irregular heart rhythms from
ECG signals is a significant task in the field of cardiology.
Several methods have been presented in the literature for ECG arrhythmia
classification. Firstly, we summarized the literature that used the feed-forward
neural networks (FFNN) as the classifier. Linh et al[27] presented fuzzy neu-
ral network model which applied Hermite function for the feature extraction.
Güler et al[10] also proposed FFNN as the classifier and WT for the feature
extraction which used Lavenberg-Marquard algorithm for the training. Ceylan
et al[3] proposed FFNN as the classifier, principal component analysis (PCA)
and wavelet transform (WT) for the feature extractions, and fuzzy c-means
clustering (FCM) method for the feature reduction. As a result, they con-
cluded that combination of PCA, FCM, and FFNN achieved the best result
with 10 different arrhythmias. Detection of four different arrhythmias with av-
erage 96.95% accuracy was obtained. Haseena et al[11] introduced FCM based
probabilistic neural network (PNN) and achieved near 99% average accuracy
with eight different types of arrhythmia. Besides above literatures, [48,49,36,
17,16,19] also applied different FFNNs as the classifier with various feature
extraction and feature elimination methods.
Support vector machine (SVM) is also widely applied classification method
in ECG arrhythmia detection. Osowski et al[33] introduced SVM as the classi-
fier which used higher order statistics (HOS) and Hermite function as the fea-
ture extraction. Song et al[42] presented a combination of linear discriminant
analysis (LDA) with SVM for six types of arrhythmia. Polat and Günes[35]
proposed least square SVM (LS-SVM) with PCA reducing 279 features into 15
features. Melgani and Bazi[29] proposed SVM with particle swarm optimiza-
tion (PSO) for the classifier and compared their result with K-nearest neighbor
(K-NN) and radial basis function (RBF) neural network classifiers. As a re-
sult, they achieved 89.72% overall accuracy with six different arrhythmias.
Dutta et al[8] introduced cross-correlation based feature extraction method
with LS-SVM classifier. Deasi et al[6] proposed five different arrhythmia de-
3. ECG arrhythmia classification using a 2-D convolutional neural network 3
tection with SVM classifier using discrete wavelet transform (DWT) for the
feature extraction and independent component analysis (ICA) as the feature
reduction method. Besides above literatures, [23,47,31] also applied SVM clas-
sifier as the ECG arrhythmia detection.
Various machine learning techniques are also used as the classifier besides
FFNN and SVM. Übeyli[46] proposed recurrent neural networks (RNN) clas-
sifier with eigenvector based feature extraction method. As a result, the model
achieved 98.06% average accuracy with four different arrhythmias. Kumar and
Kumaraswamy[25] introduced random forest tree (RFT) as the classifier which
used only RR interval as a classification feature. K-nearest neighbor (K-NN)
is also popular classifier for the arrhythmia classification. Park et al[34] pro-
posed K-NN classifier for detecting 17 types of ECG beats which result in
average 97.1% sensitivity and 98.9% specificity. Jun et al[18] also introduced
K-NN which proposed parallel K-NN classifier for the high-speed arrhythmia
detection. Related to this paper, Kiranyaz et al[22] introduced one-dimensional
CNN for the ECG arrhythmia classification. The similarity exists in the use of
CNN classifiers, but unlike our method of applying CNN to two-dimensional
ECG images, Kiranyaz’s method applied CNN to one-dimensional ECG sig-
nals, and our method is superior in performance. Rajpurkar et al[37] also
proposed a 1-D CNN classifier that used deeper and more data than the CNN
model of Kiranyaz. Despite using a larger ECG dataset, the arrhythmia di-
agnostic performance is much lower than the literature. The reason is that
although the size of the dataset is increased, the ECG signal used as an input
remains in one dimension, so the performance improvement is not great even
with deep CNN.
Although a number of the literature were proposed for the ECG arrhyth-
mia classification, they have one or more of the following limitations: 1) good
performance on carefully selected ECG recordings without cross-validation,
2) ECG beat loss in noise filtering and feature extraction schemes, 3) lim-
ited number of ECG arrhythmia types for the classification, 4) relatively low
classification performance to adopt in practical.
In this paper, we firstly propose an ECG arrhythmia classification method
using deep two-dimensional CNN with grayscale ECG images. By transforming
one-dimensional ECG signals into two-dimensional ECG images, noise filtering
and feature extraction are no longer required. This is important since some of
ECG beats are ignored in noise filtering and feature extraction. In addition,
training data can be enlarged by augmenting the ECG images which result in
higher classification accuracy. Data augmentation is hard to be applied in pre-
vious literature since the distortion of one-dimensional ECG signal could down-
grade the performance of the classifier. However, augmenting two-dimensional
ECG images with different cropping methods helps the CNN model to train
with different viewpoints of the single ECG images. Using ECG image as an
input data of the ECG arrhythmia classification also benefits in the sense of
robustness. Current ECG arrhythmia detection methods are sensitive to the
noise signal since every ECG one-dimensional signal value is treated to have an
equal degree of the classification. However, when the ECG signal is converted
4. 4 Tae Joon Jun et al
to the two-dimensional image, proposed CNN model can automatically ignore
the noise data while extracting the relevant feature map throughout the con-
volutional and pooling layer. Thus, proposed CNN model can be applied to the
ECG signals from the various ECG devices with different sampling rates and
amplitudes while previous literature requires a different model for the different
ECG devices. Furthermore, detecting ECG arrhythmia with ECG images re-
sembles how medical experts diagnose arrhythmia since they observe an ECG
graph from the patients throughout the monitor, which shows a series of ECG
images. In other words, the proposed scheme can be applied to the medical
robot that can monitors the ECG signals and helps the experts to identify
ECG arrhythmia more precisely.
Our classification method consists the following steps: data acquisition,
ECG data pre-processing, and CNN classifier. ECG signal data treated in
this paper is obtained from the MIT-BIH database which is generally used
as an arrhythmia database in ECG arrhythmia classification research. With
these ECG recordings, we transformed every single ECG beat into 128 x 128
grayscale image since our CNN model requires two-dimensional image as an
input. Different from the previous ECG arrhythmia classification works, our
input data does not need to be separated into an exact single beat. In other
words, even though additional signals from previous and afterward beats are
in the image, our CNN model can automatically ignore those noise data when
learning the model. Finally, the CNN classifier is optimized to classify eight
different types of ECG beats as follows: normal beat (NOR), premature ven-
tricular contraction beat (PVC), paced beat (PAB), right bundle branch block
beat (RBB), left bundle branch block beat (LBB), atrial premature contrac-
tion beat (APC), ventricular flutter wave beat (VFW), and ventricular escape
beat (VEB). Since the majority of the ECG signals in the MIT-BIH database
is the normal beat, we augmented seven other arrhythmia beats by cropping
the image in nine different ways at the training phase. By using the proposed
augmentation, our model achieved more than 5% higher weighted average sen-
sitivity in the three arrhythmia types, premature contraction beat, ventricular
flutter wave, and ventricular escape beat, without any modification in CNN
model. In addition to data augmentation, we optimized our CNN model with
modern deep learning techniques such as batch normalization[15], dropout[43],
and Xavier initialization[9]. The performance of the proposed classifier was
evaluated with TensorFlow with the support of high-end NVIDIA GPUs. As
a result, our CNN classifier achieved 99.05% average accuracy, 99.57% speci-
ficity, 97.85% average sensitivity, and 98.55% average positive predictive value
while 10-fold cross validation method is applied to the evaluation to precisely
validate the proposed classifier which involves every ECG recording as a test
data.
The rest of this paper is organized as follows. Section 2 explains the detailed
methodologies used for the ECG arrhythmia classification including ECG data
pre-processing, and convolutional neural network classifier. Evaluation and
experimental results of ECG arrhythmia classification are in Section 3. Finally,
Section 4 draws discussion and conclusion of the paper.
5. ECG arrhythmia classification using a 2-D convolutional neural network 5
2 Methods
Our CNN based ECG arrhythmia classification consists following steps: ECG
data pre-processing, and the ECG arrhythmia classifier. In this paper, we used
the MIT-BIH arrhythmia database[30] for the CNN model training and testing.
Since the CNN model handles two-dimensional image as an input data, ECG
signals are transformed into ECG images during the ECG data pre-processing
step. With these obtained ECG images, classification of eight ECG types is
performed in CNN classifier step. Overall procedures are shown in Fig.1
Fig. 1 Overall procedures processed in ECG arrhythmia classification
2.1 ECG data pre-processing
Two-dimensional CNN requires image as an input data. Therefore, we trans-
formed ECG signals into ECG images by plotting each ECG beat as an indi-
vidual 128 x 128 grayscale image. In the MIT-BIH arrhythmia database, every
ECG beat is sliced based on Q-wave peak time. More specifically, the type of
arrhythmia is labeled at the Q-wave peak time of each ECG beat. Thus, we
defined a single ECG beat image by centering the Q-wave peak signal while
excluding the first and the last 20 ECG signals from the previous and after-
ward Q-wave peak signals. Based on the time information, a single ECG beat
range can be defined in following:
T(Qpeak(n − 1) + 20) ≤ T(n) ≤ T(Qpeak(n + 1) − 20) (1)
6. 6 Tae Joon Jun et al
As a result, we obtained 100,000 images from the MIT-BIH arrhythmia
database where each image is one of eight ECG beat types. Fig.2 describes
the eight ECG beat types with 128 x 128 grayscale images obtained from the
ECG data pre-processing scheme.
Fig. 2 Normal beat and seven ECG arrhythmia beats
2.2 ECG arrhythmia classifier
In this paper, we adopted CNN as the ECG arrhythmia classifier. CNN was
first introduced by LeCun et al.[26] in 1989 and was developed through a
project to recognize handwritten zip codes. The existing feed-forward neural
network was not suitable for image classification since there is an exponential
increase in the number of free parameters because the raw image is directly
processed without considering the topology of the image. With the advent of
the CNN model, correlation of spatially adjacent pixels can be extracted by
applying a nonlinear filter and by applying multiple filters, it is possible to
extract various local features of the image. The reason why we applied 2D
CNN by converting the ECG signal into ECG image form in this paper is that
2D convolutional and pooling layers are more suitable for filtering the spatial
locality of the ECG images. As a result, higher ECG arrhythmia classification
accuracy can be obtained. In addition, the physician judges the arrhythmia in
ECG signal of the patient through vision treatment through eyes. Therefore
we concluded that applying the 2D CNN model to the ECG image is most
similar to the physician’s arrhythmia diagnosis process.
There are several successful CNN models of the ImageNet Large Visual
Perception Challenge (ILSVRC)[38], a competition for detecting and classify-
ing objects in a given set of images. AlexNet[24], announced in 2012, took first
place with overwhelming performance as the first model to use the CNN model
7. ECG arrhythmia classification using a 2-D convolutional neural network 7
and GPU at ILSVRC. In 2014, GoogLeNet[44] and VGGNet[41] are the first
and second in the ILSVRC, respectively. Although VGGNet is in second place,
the VGGNet structure with repeating structure of 3x3 filters and subsampling
is more often used in image recognition because the structure is much sim-
pler and performance is not much different from GoogLeNet. ResNet[12] and
DenseNet[14], which appeared in recent, were proposed to solve the problem
that the effect of the early features of the image on the final output is small
when the depth of the CNN model is deeper. In this paper, we follow the basic
structure of VGGNet and optimize CNN model to show optimal performance
for ECG arrhythmia classification. Performance comparison of the proposed
CNN model was performed with AlexNet and VGGNet while did not compare
with GoogLeNet, ResNet, and DenseNet. This is because the ECG image of
this paper is a relatively simple 128 128 grayscale image, so there is no need
to have a deep depth layer, and an increase in free parameters might cause
over-fitting and degraded performance. Fig.3 shows the overall architecture of
proposed CNN model.
Fig. 3 The architecture of proposed CNN model
The following procedures are important optimization techniques that we
considered while constructing the proposed CNN model.
2.2.1 Data augmentation
Data augmentation is one of the key benefits of using images as input data.
The majority of previous ECG arrhythmia works could not manually add an
augmented data into training set since the distortion of single ECG signal
value may downgrade the performance in the test set. The reason is that un-
like CNN, the other classifiers such as SVM, FFNN, and tree-based algorithm
assumes that each ECG signal value has an equal worth of classification. How-
ever, since our CNN model defines an input data with two-dimensional ECG
image, modifying the image with cropping and resizing does not downgrade
the performance but enlarges the training data. When CNN is used as the
classifier, data augmentation can effectively reduce overfitting and maintain a
8. 8 Tae Joon Jun et al
balanced distribution between classes. This advantage is particularly impor-
tant in medical data analysis because most medical data are normal and only
a few data are abnormal. In this case, due to the gradient descent learning, the
normal loss corresponding to a plurality of classes in the batch is preferentially
reduced, and a small class, which is an arrhythmia in this paper, is relatively
ignored. As a result, while the specificity is very high in the training process,
the sensitivity is likely to be low. In other words, we can achieve both high
specificity and sensitivity by augmenting and balancing input data. In this
work, we augmented seven ECG arrhythmia beats (PVC, PAB, RBB, LBB,
APC, VFW, VEB) with nine different cropping methods: left top, center top,
right top, center left, center, center right, left bottom, center bottom, and right
bottom. Each cropping method results in two of three sizes of an ECG im-
age, that is 96 x 96. Then, these augmented images are resized to the original
size which is 128 x 128. Fig.4 shows nine example cropped images with the
original image with PVC. These augmented images are produced inside the
model since copying these images from the disk increases the time spent on
memory copy between the main memory and GPU memory, which result in
slow learning speed.
Fig. 4 Original PVC image and nine cropped images
9. ECG arrhythmia classification using a 2-D convolutional neural network 9
2.2.2 Kernel initialization
The main pitfall of gradient descent based learning is that the model may
diverge or fell into a local minimum point. Therefore, intelligent weight ini-
tialization is required to achieve convergence. In CNN, these weights are repre-
sented as kernels (or filters) and a group of kernels forms a single convolution
layer. Our proposed CNN model uses the Xavier initialization. This initializer
balances the scale of the gradients roughly the same in all kernels. The weights
are randomly initialized in the following range:
x =
√
6
In + Out
; [−x, x] (2)
Where In and Out are the number of input and output units at the kernel
weights.
In other times, the CNN model usually starts with large size kernel with
a small size depth and end with small size kernel with a large size depth.
However, nowadays it is known that small size kernel with deeper layers is
better than the previous approach. Therefore, we initialized our kernel size
with 3 x 3 which is generally used in modern CNN classifier. We also include
a zero-padding procedure to maintain the original size of the image after by-
passing the convolution layer.
2.2.3 Activation function
The role of activation function is to define the output value of kernel weights in
the model. In modern CNN models, nonlinear activation is widely used, includ-
ing rectified linear units (ReLU), leakage rectified linear units (LReLU)[28],
and exponential linear units (ELU)[5]. Although ReLU is the most widely
used activation function in CNN, LReLU and ELU provide a small negative
value because ReLU translates whole negative values to zero, which results in
some nodes no longer participate in learning. After the experiment, we used
ELU which showed better performance for ECG arrhythmia classification than
LReLU. ReLU, LReLU, and ELU are shown in following:
ReLU(x) = max(0, x) (3)
LReLU(x) = max(0, x) + αmin(0, x) (4)
ELU(x) =
x if x ≥ 0
γ(exp(x) − 1) if x 0
(5)
Where the value of leakage coefficient (α) is 0.3 and the value of the hyper-
parameter(γ) is 1.0.
10. 10 Tae Joon Jun et al
2.2.4 Regularization
Regularization also called normalization, is a method to reduce the overfitting
in the training phase. Typical normalization methods are L1 and L2 normal-
ization, however, it is common to apply dropout and batch normalization in
recent deep CNN models. In deep learning, when a layer is deepened, a small
parameter change in the previous layer can have a large influence on the in-
put distribution of the later layer. This phenomenon is referred to as internal
covariate shift. Batch normalization has been proposed to reduce this internal
covariate shift, and the mean and variance of input batches are calculated,
normalized, and then scaled and shifted. The location of batch normalization
is usually applied just before the activation function and after the convolu-
tion layer. However, from our experience, in some cases, it is better to place
the batch normalization layer after the activation function, and the ECG ar-
rhythmia classification is the case in this case. Therefore, we applied a batch
normalization layer immediately after every activation function in the model,
including the convolutional block and the fully-connected block.
Dropout is a way to avoid overfitting with reducing the dependency be-
tween layers by participating nodes of the same layer probabilistically. In the
training phase, Dropout does intentionally exclude some networks in learning,
so the model can achieve the voting effect by the model combination. In this
paper, we applied a dropout with a probability of 0.5 and placed its position
after the batch-normalization layer of the fully-connected block. In general,
Dropout is not applied to convolutional blocks because convolutional layers
do not have many free-parameters and co-adaptation between nodes is more
important than reducing the overfitting.
2.2.5 Cost and optimizer function
The cost function is a measure of how well the neural network is trained and
represents the difference between the given training sample and the expected
output. The cost function is minimized by using optimizer function. There are
various types of cost functions, but deep learning typically uses a cross-entropy
function.
C = −
1
n
X
[y ln a + (1 − y) ln(1 − a)] (6)
Where n is the number of training data (or the batch size), y is an expected
value, and a is an actual value from the output layer.
To minimize the cost function, a gradient descent-based optimizer function
with a learning rate is used. There are several well-known optimizer functions
such as Adam[21], Adagrad[7], and Adadelta[51]. The final performance dif-
ference between the above functions was not large, but in our experiments, it
was found that the optimal point reached the earliest when Adam was used.
As result, we used the Adam optimizer function with an initial learning rate
of 0.001 and 0.95 decay per 1,000 steps.
11. ECG arrhythmia classification using a 2-D convolutional neural network 11
In our CNN model, we adopted Adam optimizer function with 0.0001 start-
ing learning rate by exponentially decaying the learning rate every 1,000 decay
steps with 0.95 decay rate. The learning rate at a given global step can be cal-
culated as:
LearningRate = LearningRate0 ∗ 0.95d(GlobalStep/1,000)e
(7)
2.2.6 Validation set
The validation set is used to determine whether a model has reached sufficient
accuracy with given training set. Without the validation procedure, the model
is likely to fall overfitting. Generally, validation criterion for the CNN is the
loss value. However, according to our observation, early stopping the model
based on loss value could not achieve higher sensitivity in seven arrhythmia
classification. Therefore, we set the average sensitivity of the validation set as
the validation criterion. When there is no more increase in the weighted average
sensitivity for the past 500 global steps, we stopped the learning procedure and
starts the evaluation with the test set.
2.2.7 Optimized CNN classifier architecture
Considering the above procedure, we designed the CNN model for the ECG
arrhythmia classification. The main structure of the CNN model is similar to
VGGNet, which optimizes various functions to reduce overfitting and improve
classification accuracy. Table 1 and Fig.5 describes detailed architecture of
proposed CNN model. Since the proposed CNN model is compared to AlexNet
and VGGNet, Table 2 and Table 3 represent the architectures of AlexNet and
VGGNet we have deployed in the ECG arrhythmia classification.
Fig. 5 Architecture of proposed CNN Model
12. 12 Tae Joon Jun et al
Table 1 Architecture of proposed CNN Model
Type Kernel size Stride # Kernel Input size
Layer1 Conv2D 3 x 3 1 64 128 x 128 x 1
Layer2 Conv2D 3 x 3 1 64 128 x 128 x 64
Layer3 Pool 2 x 2 2 128 x 128 x 64
Layer4 Conv2D 3 x 3 1 128 64 x 64 x 64
Layer5 Conv2D 3 x 3 1 128 64 x 64 x 128
Layer6 Pool 2 x 2 2 64 x 64 x 128
Layer7 Conv2D 3 x 3 1 256 32 x 32 x 128
Layer8 Conv2D 3 x 3 1 256 32 x 32 x 256
Layer9 Pool 2 x 2 2 32 x 32 x 256
Layer10 Full 2048 16 x 16 x 256
Layer11 Out 8 2048
Table 2 Architecture of AlexNet
Type Kernel size Stride # Kernel Input size
Layer1 Conv2D 11 x 11 1 3 128 x 128 x 1
Layer2 Conv2D 5 x 5 1 48 128 x 128 x 3
Layer3 Pool 3 x 3 2 128 x 128 x 48
Layer4 Conv2D 3 x 3 1 128 63 x 63 x 48
Layer5 Pool 3 x 3 2 31 x 31 x 128
Layer6 Conv2D 3 x 3 1 192 31x 31 x 128
Layer7 Conv2D 3 x 3 1 192 31 x 31 x 192
Layer8 Conv2D 3 x 3 1 128 31 x 31 x 192
Layer9 Pool 3 x 3 2 31 x 31 x 128
Layer10 Full 2048 15 x 15 x 128
Layer10 Full 2048 2048
Layer11 Out 8 2048
cf) Batch normalization is not applied. Instead, local response normalization is
used for convolution layers just before pooling layer.
Table 3 Architecture of VGGNet
Type Kernel size Stride # Kernel Input size
Layer1 Conv2D 3 x 3 1 64 128 x 128 x 1
Layer2 Conv2D 3 x 3 1 64 128 x 128 x 64
Layer3 Pool 2 x 2 2 128 x 128 x 64
Layer4 Conv2D 3 x 3 1 128 64 x 64 x 64
Layer5 Conv2D 3 x 3 1 128 64 x 64 x 128
Layer6 Pool 2 x 2 2 64x64x128
Layer7 Conv2D 3 x 3 1 256 32 x 32 x 128
Layer8 Conv2D 3 x 3 1 256 32 x 32 x 256
Layer9 Conv2D 3 x 3 1 256 32 x 32 x 256
Layer10 Pool 2 x 2 2 32 x 32 x 256
Layer11 Conv2D 3 x 3 1 512 16 x 16 x 256
Layer12 Conv2D 3 x 3 1 512 16 x 16 x 512
Layer13 Conv2D 3 x 3 1 512 16 x 16 x 512
Layer14 Pool 2 x 2 2 8 x 8 x 512
Layer15 Full 2048 8 x 8 x 512
Layer16 Full 2048 2048
Layer17 Out 8 2048
13. ECG arrhythmia classification using a 2-D convolutional neural network 13
3 Experiments and Results
The performance of the proposed CNN model was compared with two well
known CNN models, AlexNet and VGGNet, and results of existing ECG ar-
rhythmia classification literature. MIT-BIH arrhythmia database is used for
the evaluation of the experiments.
3.1 Data acquisition
The ECG arrhythmia recordings used in this paper are obtained from the MIT-
BIH arrhythmia database. The database contains 48 half-hour ECG record-
ings collected from 47 patients between 1975 and 1979. The ECG recording
is sampled at 360 samples per second. There are approximately 110,000 ECG
beats in MIT-BIH database with 15 different types of arrhythmia including
normal. The experiment of this paper is to validate the performance of our pro-
posed CNN compared to that of well-known CNN models and previous ECG
arrhythmia classification works. From the MIT-BIH database, we included
normal beat (NOR) and seven types of ECG arrhythmias including prema-
ture ventricular contraction (PVC), paced beat (PAB), right bundle branch
block beat (RBB), left bundle branch block beat (LBB), atrial premature con-
traction (APC), ventricular flutter wave (VFW), and ventricular escape beat
(VEB). Table 4 describes the total ECG signals that we used from the MIT-
BIH arrhythmia database. We excluded other seven types of arrhythmia such
as a start of ventricular flutter beat, a fusion of paced and normal beat, and
unclassifiable beat since these beat are generally ignored in ECG arrhythmia
classification studies.
Table 4 ECG data description table
Type Records #Beats
NOR 100,101,103,105,108,112,113,114,115,117,121,122,123 75052
202,205,219,230,234
PVC 106,116,119,200,201,203,208,210,213,215,221,228,233 7130
PAB 102,104,107,217 7028
RBB 118,124,212,231 7259
LBB 109,111,207,213 8075
APC 209,220,222,223,232 2546
VFW 207 472
VEB 207 106
Total 106501
14. 14 Tae Joon Jun et al
3.2 Experimental Setup
Proposed classifier and two other CNN models are deployed in Python lan-
guage with TensorFlow[1] which is an open source software library for deep
learning launched by Google. Since CNN requires a lot of free parameters to
train, GPGPU support is strongly recommended to reduce the learning time
of the model. Thus, our experimental system is composed of two servers each
contains two Intel Xeon E5 CPUs, 64GB main memory, and 2 NVIDIA K20m
GPUs. With these NVIDIA GPUs, TensorFlow is accelerated by using CUDA
and CUDNN[4]. Versions of each software are TensorFlow r1.0, CUDA 8.0,
and CUDNN 5.5.
3.3 ECG Arrhythmia classification evaluation
3.3.1 Evaluation metrics
The evaluation of the classification considered five metrics: Area Under the
Curve (AUC), Accuracy (Acc), Specificity (Sp), Sensitivity (Se), and Positive
Predictive Value (+P). AUC is an area under the Receiver Operating Char-
acteristic (ROC) curve. The AUC is calculated by Riemann sum with a set
of thresholds to compute pairs of True Positive Rate (TPR) and False Posi-
tive Rate (FPR). Hosmer and Lemeshow provided the general guidelines for
interpreting AUC values in [13]. Table 5 describes the brief guideline rules of
the AUC interpretation. Specificity is the fraction of negative test results that
are correctly identified as normal. Sensitivity is the probability of positive test
results that are correctly identified as arrhythmia. Positive predictive value
is the proportion of actual positive test result from the all positive calls. Ex-
cept for the AUC, other four metrics are defined with four measurements in
following:
Table 5 AUC interpretation guidelines
AUC Guidelines
0.5 - 0.6 No discrimination
0.6 - 0.7 Poor discrimination
0.7 - 0.8 Acceptable discrimination
0.8 - 0.9 Good discrimination
0.9 - 1 Excellent discrimination
– True Positive (TP) : Correctly detected as arrhythmia
– True Negative (TN) : Correctly detected as normal
– False Positive (FP) : Incorrectly detected as arrhythmia
– False Negative (FN) : Incorrectly detected as normal
15. ECG arrhythmia classification using a 2-D convolutional neural network 15
The four metrics (Acc, Sp, Se, PPV) are defined in following:
Accuracy(%) =
TP + TN
TP + TN + FP + FN
× 100 (8)
Specificity(%) =
TN
FP + TN
× 100 (9)
Sensitivity(%) =
TP
TP + FN
× 100 (10)
PositivePredictiveV alue(%) =
TP
TP + FP
× 100 (11)
3.3.2 K-fold cross validation
The performance of the model with test data can be significantly altered when
the proportion of the training set and the test set are changed. In general,
random selection with given proportion from an entire data set is separated
into test set. However, a test set with another random selection may have
different evaluation result especially when there is relatively a few test data.
Thus, we strongly recommend using an entire MIT-BIH dataset with K-fold
cross-validation. K-fold cross-validation is a validation technique for stabilizing
the performance of the statistical model when the data set is comparatively
small. The entire data set is divided into K different subsets and repeatedly
performing the training with K-1 subsets while evaluation is made with a
single subset until all K subsets are evaluated. If K is set with the number
of an entire data set, it is called Leave One-out cross-validation which every
ECG data is used once as a test data. In this paper, we set K = 10 while the
proportion of each data type is near evenly distributed. This method is called
Stratified K-fold cross-validation. Fig.6 describes the K-fold cross-validation.
Fig. 6 K-fold cross validation
16. 16 Tae Joon Jun et al
3.3.3 Comparison with two CNN models
Summarized evaluation results of CNN models are presented in Table 6 where
Native refers to training data without the augmentation and Augmented refers
to with augmentation. The proposed CNN model achieved 0.989 AUC, 99.05%
average accuracy, 99.57% specificity, 97.85% average sensitivity and 98.55%
positive predictive value. From the Table 6, proposed CNN model with data
augmentation shows the best AUC, accuracy, and sensitivity results while
AlexNet without augmentation presents the best specificity and positive pre-
dictive value. Discrimination of sensitivity between the proposed method and
the second highest one is 0.59% while the discrimination of specificity of the
proposed method and the highest one is 0.11%. This indicates that the pro-
posed model achieved the best accuracy in classifying the arrhythmia while
presents similarly the highest accuracy in predicting the normal beat. Inter-
estingly, the VGGNet shows the worst result compared to other two CNN
models. The main difference between the VGGNet and the other models is
the number of pooling layers. After bypassing four pooling layers, the size of
ECG image is reduced to 8 x 8. Although the VGGNet has twice more the
number of kernels at the last convolutional layer, it seems that last feature
size with 16 x 16 is more stabilized one. Therefore, when using the ECG im-
age size with 128 x 128, we recommend using no more than three pooling
layers in CNN model. Between the proposed model and the AlexNet with
data augmentation, the difference between the average sensitivities is 0.77%.
This is a quite large difference when we look into detailed sensitivities of the
seven different arrhythmias. Table7 describes a detailed evaluation of sensi-
tivity with seven types of arrhythmia beats in proposed methods. From the
Table7, we can observe that APC, VFW, and VEB arrhythmia classes gain
large benefits from the data augmentation which has relatively less ECG data
than other arrhythmia classes. Each sensitivity of the APC, VFW, and VEB
in the proposed model with data augmentation got 2.89%, 2.75%, and 4.72%
higher results than those of second highest results. From these results, we
can conclude that data augmentation helps the model to achieve highest av-
erage sensitivity with balanced individual sensitivities among seven different
arrhythmia types.
Table 6 Summarized evaluation results
Method Grade AUC Acc(%) Sp(%) Se(%) +P(%)
Proposed Native 0.986 98.90 99.64 97.20 98.63
Augmented 0.989 99.05 99.57 97.85 98.55
AlexNet Native 0.985 98.81 99.68 96.81 98.63
Augmented 0.986 98.85 99.62 97.08 98.59
VGGNet Native 0.984 98.77 99.43 97.26 98.08
Augmented 0.984 98.63 99.37 96.93 97.86
17. ECG arrhythmia classification using a 2-D convolutional neural network 17
Table 7 Detail evaluation in sensitivity
Se(%)
Method Grade PVC PAB RBB LBB APC VFW VEB
Proposed Native 96.59 99.40 98.31 98.44 88.81 82.42 88.68
Augmented 97.43 99.47 98.62 98.54 91.79 90.25 93.40
AlexNet Native 96.25 99.10 98.12 97.85 85.95 82.75 83.55
Augmented 96.58 99.54 98.04 98.17 87.55 87.50 88.68
VGGNet Native 96.45 98.83 99.10 98.29 87.85 83.42 83.79
Augmented 97.00 99.27 99.83 98.29 88.90 86.98 87.40
The training of proposed CNN model adopts early stopping scheme by
using validation set. When the lowest sensitivity does increase for the past
500 global steps, the CNN model stops training and evaluate the model with
the test set. Fig.7 presents graphs of loss, average accuracy, AUC, and aver-
age positive predictive value for each global step and Fig.8 shows individual
sensitivity for each arrhythmia type until the 10,000 global steps. From these
graphs, loss value starts to converge near 1,000 steps while other evaluation
metrics do not. Thus, we can notice that early stopping with loss value may
results in low accuracy and sensitivity when there is unbalanced distribution
between positive and negative classes. Therefore, we recommend considering
other evaluation metrics such as AUC or the average sensitivity when using
the early stopping scheme in ECG arrhythmia classification with CNN model.
Fig. 7 Evaluation Graphs
For more detailed comparison between the proposed CNN, AlexNet, and
VGGNet, Table 8, Table 9, and Table 10 describe the confusion matrix of each
18. 18 Tae Joon Jun et al
Fig. 8 Each ECG arrhythmia Sensitivity
CNN model. The total number of test set may not be equal since some of ECG
beats are ignored when randomly splitting into 10 different groups.
Table 8 Confusion matrix of proposed CNN model
Actual
Predicted NOR PVC PAB RBB LBB APC VFW VEB
NOR 74726 151 2 15 18 110 30 0
PVC 149 6947 1 3 7 11 12 0
PAB 19 13 6991 2 1 1 1 0
RBB 83 3 2 7159 1 9 0 2
LBB 82 32 1 0 7957 1 1 1
APC 186 17 0 5 1 2337 0 0
VFW 30 15 0 0 1 0 426 0
VEB 6 1 0 0 0 0 0 99
Table 9 Confusion matrix of AlexNet
Actual
Predicted NOR PVC PAB RBB LBB APC VFW VEB
NOR 74765 131 3 13 30 80 30 1
PVC 203 6886 3 1 13 15 9 0
PAB 14 12 6996 3 2 1 0 0
RBB 126 4 1 7117 3 8 0 0
LBB 104 39 0 1 7927 1 3 0
APC 289 14 2 10 2 2229 0 0
VFW 42 15 0 0 1 1 413 0
VEB 10 1 0 0 1 0 0 94
19. ECG arrhythmia classification using a 2-D convolutional neural network 19
Table 10 Confusion matrix of VGGNet
Actual
Predicted NOR PVC PAB RBB LBB APC VFW VEB
NOR 74784 138 3 15 17 68 27 0
PVC 200 6887 3 3 6 9 21 1
PAB 23 16 6986 1 0 2 0 0
RBB 107 7 0 7136 2 8 0 0
LBB 92 29 1 0 7949 1 3 0
APC 264 15 0 5 0 2261 1 0
VFW 45 36 1 0 1 0 389 0
VEB 12 0 0 0 0 0 0 94
3.4 Comparison with existing approaches
We compared the performance of proposed CNN model with previous ECG
arrhythmia classification works. Since these works have a different number of
the test set and types of arrhythmia, it is unfair to directly compared with
accuracy itself. However, our proposed CNN model achieved successful per-
formance compared to other previous works while introducing the different
approach of classifying ECG arrhythmia with two-dimensional images. Ta-
ble 11 presents performance comparison with previous works. From the Table
11, proposed method achieved the best results in average accuracy, average
sensitivity, and average positive predictive value. Narrowing the scope of the
number of test set higher than 100,000, proposed method shows the best re-
sults in every evaluation metric. The number of arrhythmia types of proposed
method is eight while that of Park et al.[34] is seventeen since they included
other subsidiary heartbeat types from the MIT-BIH arrhythmia database such
as nodal escape beat, unclassifiable beat, and non-conducted P wave. However,
When considering only the ECG arrhythmia and the normal beat, eight is the
maximum number we can get from the MIT-BIH arrhythmia database.
Table 11 Comparison with existing approaches
Classifier Work #Type #Test set Acc(%) Sp(%) Se(%) +P(%)
2D CNN Proposed 8 106,642 99.05 99.57 97.85 98.55
1D CNN Kiranyaz et al.[22] 5 100,389 96.4 99.5 68.8 79.2
FFNN Güler et al.[10] 4 360 96.94 97.78 96.31 -
Yu et al.[49] 8 4,900 98.71 99.65 - -
SVM Melgani and Bazi[29] 6 40,438 91.67 90.49 93.83 -
Dutta et al.[8] 3 93,246 95.82 99.17 86.16 97.01
RNN Übeyli et al.[46] 4 360 98.06 97.78 98.15 -
RFT Kumar et al.[25] 3 154 92.16 - - -
K-NN Park et al.[34] 17 109,702 97 95.8 96.6 -
20. 20 Tae Joon Jun et al
4 Discussion and Conclusion
In this paper, we proposed an effective ECG arrhythmia classification method
using two-dimensional convolutional neural networks with ECG image as an
input. 128 x 128 grayscale images are transformed from the MIT-BIH arrhyth-
mia database ECG recording. Over 100,000 ECG beat images are obtained
with eight types of ECG beats including normal beat and seven arrhythmia
beats. Optimized CNN model is designed with considering important concepts
such as data augmentation, regularization, and K-fold cross-validation. As a
result, our proposed scheme achieved 0.989 AUC, 99.05% average accuracy,
99.57% specificity, 97.85% average sensitivity, and 98.55% average positive
predictive value. Our ECG arrhythmia classification result indicates that de-
tection of arrhythmia with ECG images and CNN model can be an effective
approach to help the experts to diagnose cardiovascular diseases which can be
seen from ECG signals. Furthermore, proposed ECG arrhythmia classification
method can be applied to the medical robot or the scanner that can monitors
the ECG signals and helps the medical experts to identify ECG arrhythmia
more precisely and easily. For the future work, we are building an integrated
ECG arrhythmia classification system that scans the patient’s ECG monitor
through the camera of the medical robot and diagnose the arrhythmia to in-
form the physician. Proposed ECG arrhythmia classification will be applied
the ECG images obtained from the medical robot’s camera.
Acknowledgements This research was supported by International Research Develop-
ment Program of the National Research Foundation of Korea(NRF) funded by the Ministry
of Science, ICTFuture Planning of Korea(2016K1A3A7A03952054) and support of Asan
Medical Center providing IVUS images and clinical advices for this research are gratefully
acknowledged.
References
1. Abadi M, Agarwal A, Barham P et al (2016). Tensorflow: Large-scale machine learning
on heterogeneous distributed systems. arXiv preprint arXiv:1603.04467
2. Arif M, Akram MU, Afsar FA (2009). Arrhythmia beat classification using pruned fuzzy
k-nearest neighbor classifier. International Conference of Soft Computing and Pattern
Recognition pp 37-42
3. Ceylan R, zbay Y (2007). Comparison of FCM, PCA and WT techniques for classifica-
tion ECG arrhythmias using artificial neural network. Expert Systems with Applications
33(2):286-295
4. Chetlur S, Woolley C, Vandermersch P et al (2014). cudnn: Efficient primitives for deep
learning. arXiv preprint arXiv:1410.0759
5. Clevert DA, Unterthiner T Hochreiter S (2015). Fast and accurate deep network learning
by exponential linear units (elus). arXiv preprint arXiv:1511.07289
6. Desai U, Martis RJ, Nayak CG (2015). Machine intelligent diagnosis of ECG for arrhyth-
mia classification using DWT, ICA and SVM techniques. Annual IEEE India Conference
pp 1-4
7. Duchi J, Hazan E, Singer Y (2011). Adaptive subgradient methods for online learning
and stochastic optimization. Journal of Machine Learning Research 12:2121-2159
8. Dutta S, Chatterjee A, Munshi S (2010). Correlation technique and least square support
vector machine combine for frequency domain based ECG beat classification. Medical
Engineering and Physics 32(10):1161-1169
21. ECG arrhythmia classification using a 2-D convolutional neural network 21
9. Glorot X, Bengio Y (2010). Understanding the difficulty of training deep feedforward
neural networks. International conference on artificial intelligence and statistics pp 249-
256
10. Gler , beyl ED (2005). ECG beat classifier designed by combined neural network model.
Pattern recognition 38(2):199-208
11. Haseena HH, Mathew AT, Paul JK (2011). Fuzzy clustered probabilistic and multi lay-
ered feed forward neural networks for electrocardiogram arrhythmia classification. Journal
of Medical Systems 35(2):179-188
12. He K, Zhang X, Ren S et al (2016). Deep residual learning for image recognition. IEEE
conference on computer vision and pattern recognition pp 770-778
13. Hosmer DW Jr, Lemeshow S, Sturdivant RX (2013). Applied logistic regression. John
Wiley Sons
14. Huang G, Liu Z, Weinberger KQ et al (2017). Densely connected convolutional networks.
IEEE conference on computer vision and pattern recognition pp 3
15. Ioffe S, Szegedy C (2015). Batch normalization: Accelerating deep network training by
reducing internal covariate shift. arXiv preprint arXiv:1502.03167
16. Jadhav SM, Nalbalwar SL, Ghatol A (2010). Artificial neural network based cardiac
arrhythmia classification using ECG signal data. International Conference On Electronics
and Information Engineering pp V1-228
17. Jadhav SM, Nalbalwar SL, Ghatol AA (2010). ECG arrhythmia classification using
modular neural network model. IEEE EMBS Conference on Biomedical Engineering and
Sciences pp 62-66
18. Jun TJ, Park HJ, Yoo H et al (2016). GPU based cloud system for high-performance
arrhythmia detection with parallel k-NN algorithm. Annual International Conference of
the IEEE Engineering in Medicine and Biology Society pp 5327-5330
19. Jun TJ, Park HJ, Minh NH et al (2016). Premature ventricular contraction beat detec-
tion with deep neural networks. IEEE International Conference on Machine Learning and
Applications pp 859-864
20. Kamath C (2011). ECG beat classification using features extracted from Teager energy
functions in time and frequency domains. IET signal processing 5(6):575-581
21. Kingma DP, Ba J (2014). Adam: A method for stochastic optimization. arXiv preprint
arXiv:1412.6980
22. Kiranyaz S, Ince T, Gabbouj M (2016). Real-time patient-specific ECG classification
by 1-D convolutional neural networks. IEEE Transactions on Biomedical Engineering
63(3):664-675
23. Kohli N, Verma NK, Roy A (2010). SVM based methods for arrhythmia classification in
ECG. International Conference onComputer and Communication Technology pp 486-490
24. Krizhevsky A, Sutskever I,Hinton GE (2012). Imagenet classification with deep convo-
lutional neural networks. Advances in neural information processing systems pp 1097-1105
25. Kumar RG, Kumaraswamy YS (2012). Investigating cardiac arrhythmia in ECG using
random forest classification. International Journal of Computer Applications 37(4):31-34
26. LeCun Y, Boser B, Denker JS et al (1989). Backpropagation applied to handwritten zip
code recognition. Neural computation 1(4):541-551
27. Linh TH, Osowski S, Stodolski M (2003). On-line heart beat recognition using Her-
mite polynomials and neuro-fuzzy network. IEEE Transactions on Instrumentation and
Measurement 52(4):1224-1231
28. Maas AL, Hannun AY, Ng AY (2013). Rectifier nonlinearities improve neural network
acoustic models. International Conference on Machine Learning 30(1):3
29. Melgani F, Bazi Y (2008). Classification of electrocardiogram signals with support vector
machines and particle swarm optimization. IEEE transactions on information technology
in biomedicine 12(5):667-677
30. Moody GB, Mark RG (2001). The impact of the MIT-BIH arrhythmia database. IEEE
Engineering in Medicine and Biology Magazine 20(3):45-50
31. Nasiri JA, Naghibzadeh M, Yazdi HS (2009). ECG arrhythmia classification with sup-
port vector machines and genetic algorithm. UKSim European Symposium on Computer
Modeling and Simulation pp 187-192
32. Osowski S, Linh TH (2001). ECG beat recognition using fuzzy hybrid neural network.
IEEE Transactions on Biomedical Engineering 48(11):1265-1271
22. 22 Tae Joon Jun et al
33. Osowski S, Hoai LT, Markiewicz T (2004). Support vector machine-based expert system
for reliable heartbeat recognition. IEEE transactions on biomedical engineering 51(4):582-
589
34. Park J, Lee K, Kang K. (2013). Arrhythmia detection from heartbeat using k-nearest
neighbor classifier. IEEE International Conference on Bioinformatics and Biomedicine pp
15-22
35. Polat K, Gne S (2007). Detection of ECG Arrhythmia using a differential expert system
approach based on principal component analysis and least square support vector machine.
Applied Mathematics and Computation 186(1):898-906
36. Rai HM, Trivedi A, Shukla S (2013). ECG signal processing for abnormalities detection
using multi-resolution wavelet transform and Artificial Neural Network classifier. Mea-
surement 46(9):3238-3246
37. Rajpurkar P, Hannun AY, Haghpanahi M et al (2017). Cardiologist-level arrhythmia
detection with convolutional neural networks. arXiv preprint arXiv:1707.01836
38. Russakovsky O, Deng J, Su H et al (2015). Imagenet large scale visual recognition
challenge. International Journal of Computer Vision 115(3):211-252
39. Sarfraz M, Khan AA, Li FF (2014). Using independent component analysis to obtain
feature space for reliable ECG Arrhythmia classification. IEEE International Conference
on Bioinformatics and Biomedicine pp 62-67
40. Simard PY, Steinkraus D, Platt JC (2003). Best practices for convolutional neural
networks applied to visual document analysis. International Conference on Document
Analysis and Recognition pp 958-962
41. Simonyan K, Zisserman A (2014). Very deep convolutional networks for large-scale
image recognition. arXiv preprint arXiv:1409.1556.
42. Song MH, Lee J, Cho SP et al (2005). Support vector machine based arrhythmia classi-
fication using reduced features. International Journal of Control Automation and Systems
3(4):571
43. Srivastava N, Hinton G, Krizhevsky A et al (2014). Dropout: A simple way to prevent
neural networks from overfitting. The Journal of Machine Learning Research 15(1):1929-
1958
44. Szegedy C, Liu W, Jia Y et al (2015). Going deeper with convolutions. IEEE conference
on computer vision and pattern recognition pp 1-9
45. beyli ED (2007). ECG beats classification using multiclass support vector machines with
error correcting output codes. Digital Signal Processing 17(3):675-684
46. beyli ED (2009). Combining recurrent neural networks with eigenvector methods for
classification of ECG beats. Digital Signal Processing 19(2):320-329
47. Ye C, Coimbra MT, Kumar BV (2010). Arrhythmia detection and classification using
morphological and dynamic features of ECG signals. Annual International Conference of
the IEEE Engineering in Medicine and Biology Society pp 1918-1921
48. Yu SN, Chen YH (2007). Electrocardiogram beat classification based on wavelet trans-
formation and probabilistic neural network. Pattern Recognition Letters 28(10):1142-1150
49. Yu SN, Chou KT (2008). Integration of independent component analysis and neural
networks for ECG beat classification. Expert Systems with Applications 34(4):2841-2846
50. World Health Organization (2017). Cardiovascular diseases (CVDs).
http://www.who.int/mediacentre/factsheets/fs317/en/ Accessed 18 Apr 2018
51. Zeiler MD (2012). ADADELTA: an adaptive learning rate method. arXiv preprint
arXiv:1212.5701
52. Zeiler MD, Fergus R (2013). Stochastic pooling for regularization of deep convolutional
neural networks. arXiv preprint arXiv:1301.3557