Learning Decision Tree for Selecting QRS Detectors for Cardiac Monitoring

Similar documents
Evaluation of real-time QRS detection algorithms in variable contexts

Heart Rate Calculation by Detection of R Peak

CARDIAC ARRYTHMIA CLASSIFICATION BY NEURONAL NETWORKS (MLP)

Assessment of Reliability of Hamilton-Tompkins Algorithm to ECG Parameter Detection

Premature Ventricular Contraction Arrhythmia Detection Using Wavelet Coefficients

Neural Network based Heart Arrhythmia Detection and Classification from ECG Signal

ECG Beat Recognition using Principal Components Analysis and Artificial Neural Network

Quick detection of QRS complexes and R-waves using a wavelet transform and K-means clustering

DETECTION OF HEART ABNORMALITIES USING LABVIEW

An ECG Beat Classification Using Adaptive Neuro- Fuzzy Inference System

ECG Signal Analysis for Abnormality Detection in the Heart beat

Assessment of the Performance of the Adaptive Thresholding Algorithm for QRS Detection with the Use of AHA Database

HST-582J/6.555J/16.456J-Biomedical Signal and Image Processing-Spring Laboratory Project 1 The Electrocardiogram

Genetic Algorithm based Feature Extraction for ECG Signal Classification using Neural Network

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 2, Issue 10, April 2013

Removal of Baseline wander and detection of QRS complex using wavelets

Vital Responder: Real-time Health Monitoring of First- Responders

Wavelets extrema representation for QRS-T cancellation and P wave detection

Extraction of P wave and T wave in Electrocardiogram using Wavelet Transform

Robust Detection of Atrial Fibrillation for a Long Term Telemonitoring System

ECG - QRS detection method adopting wavelet parallel filter banks

ECG signal classification and parameter estimation using multiwavelet transform.

CHAPTER 5 WAVELET BASED DETECTION OF VENTRICULAR ARRHYTHMIAS WITH NEURAL NETWORK CLASSIFIER

Final Report. Implementation of algorithms for QRS detection from ECG signals using TMS320C6713 processor platform

PERFORMANCE CALCULATION OF WAVELET TRANSFORMS FOR REMOVAL OF BASELINE WANDER FROM ECG

Panorama. Arrhythmia Analysis Frequently Asked Questions

MORPHOLOGICAL CHARACTERIZATION OF ECG SIGNAL ABNORMALITIES: A NEW APPROACH

ECG MONITORING OF A CARDIAC PATIENT USING EMBEDDED SYSTEM

Detection of Qrs Complexes in Ecg Signal Using K-Means Algorithm

USING CORRELATION COEFFICIENT IN ECG WAVEFORM FOR ARRHYTHMIA DETECTION

VLSI Implementation of the DWT based Arrhythmia Detection Architecture using Co- Simulation

An electrocardiogram (ECG) is a recording of the electricity of the heart. Analysis of ECG

DEVELOPMENT OF A SIMPLE SOFTWARE TOOL TO DETECT THE QRS COMPLEX FROM THE ECG SIGNAL

A Novel Algorithm for ECG Signal Processing

A Novel Approach for Different Morphological Characterization of ECG Signal

Biomedical. Measurement and Design ELEC4623. Lectures 15 and 16 Statistical Algorithms for Automated Signal Detection and Analysis

Powerline Interference Reduction in ECG Using Combination of MA Method and IIR Notch

A SUPERVISED LEARNING APPROACH BASED ON THE CONTINUOUS WAVELET TRANSFORM FOR R SPIKE DETECTION IN ECG

Various Methods To Detect Respiration Rate From ECG Using LabVIEW

The Cross-platform Application for Arrhythmia Detection

NOISE DETECTION ALGORITHM

POWER EFFICIENT PROCESSOR FOR PREDICTING VENTRICULAR ARRHYTHMIA BASED ON ECG

Wavelet Decomposition for Detection and Classification of Critical ECG Arrhythmias

PERFORMANCE ANALYSIS OF SOFT COMPUTING TECHNIQUES FOR CLASSIFYING CARDIAC ARRHYTHMIA

GE Healthcare. The GE EK-Pro Arrhythmia Detection Algorithm for Patient Monitoring

Fuzzy Based Early Detection of Myocardial Ischemia Using Wavelets

Performance Identification of Different Heart Diseases Based On Neural Network Classification

Fuzzy Inference System based Detection of Wolff Parkinson s White Syndrome

SPPS: STACHOSTIC PREDICTION PATTERN CLASSIFICATION SET BASED MINING TECHNIQUES FOR ECG SIGNAL ANALYSIS

Classification of ECG Data for Predictive Analysis to Assist in Medical Decisions.

Automatic Detection of Heart Disease Using Discreet Wavelet Transform and Artificial Neural Network

On the Algorithm for QRS Complexes Localisation in Electrocardiogram

Extraction of Unwanted Noise in Electrocardiogram (ECG) Signals Using Discrete Wavelet Transformation

Assessing Arrhythmia Performance ST/AR Algorithm

Robust system for patient specific classification of ECG signal using PCA and Neural Network

PCA Enhanced Kalman Filter for ECG Denoising

PCA and SVD based Feature Reduction for Cardiac Arrhythmia Classification

Removing ECG Artifact from the Surface EMG Signal Using Adaptive Subtraction Technique

SPECTRAL ANALYSIS OF LIFE-THREATENING CARDIAC ARRHYTHMIAS

REVIEW ON ARRHYTHMIA DETECTION USING SIGNAL PROCESSING

An Enhanced Approach on ECG Data Analysis using Improvised Genetic Algorithm

Digital ECG and its Analysis

CHAPTER IV PREPROCESSING & FEATURE EXTRACTION IN ECG SIGNALS

ECG DE-NOISING TECHNIQUES FOR DETECTION OF ARRHYTHMIA

Assessment of ECG frequency and morphology parameters for automatic classification of life-threatening cardiac arrhythmias

The Use of Artificial Neural Network to Detect the Premature Ventricular Contraction (PVC) Beats

1196 IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, VOL. 51, NO. 7, JULY 2004

Electrocardiogram beat classification using Discrete Wavelet Transform, higher order statistics and multivariate analysis

ECG Signal Characterization and Correlation To Heart Abnormalities

AUTOMATIC CLASSIFICATION OF HEARTBEATS

A Review on Arrhythmia Detection Using ECG Signal

ECG signal analysis for detection of Heart Rate and Ischemic Episodes

Coimbatore , India. 2 Professor, Department of Information Technology, PSG College of Technology, Coimbatore , India.

Approach for design of early warning monitoring system for detection of the abnormal cardiac behaviour of any individual.

Abstract. Keywords. 1. Introduction. Goutam Kumar Sahoo 1, Samit Ari 2, Sarat Kumar Patra 3

HST.582J / 6.555J / J Biomedical Signal and Image Processing Spring 2007

Real-time Heart Monitoring and ECG Signal Processing

DIFFERENCE-BASED PARAMETER SET FOR LOCAL HEARTBEAT CLASSIFICATION: RANKING OF THE PARAMETERS

Portable ECG Electrodes for Detection of Heart Rate and Arrhythmia Classification

Detection of Atrial Fibrillation Using Model-based ECG Analysis

ECG QRS Detection. Valtino X. Afonso

Discrete Wavelet Transform-based Baseline Wandering Removal for High Resolution Electrocardiogram

Clinical Examples as Non-uniform Learning and Testing Sets

2-D ECG Compression Using Optimal Sorting and Mean Normalization

Multi Resolution Analysis of ECG for Arrhythmia Using Soft- Computing Techniques

Cardiovascular Authentication: Fusion of Electrocardiogram and Ejection Fraction

Wavelet Neural Network for Classification of Bundle Branch Blocks

diseases is highly important. Electrocardiogram (ECG) is an effective tool for diagnosis of the

Classification of ECG Beats based on Fuzzy Inference System

Robust R Peak and QRS detection in Electrocardiogram using Wavelet Transform

Analysis of Electrocardiograms

Classification of Cardiac Arrhythmias based on Dual Tree Complex Wavelet Transform

1, 2, 3 * Corresponding Author: 1.

Building an Electrocardiogram (ECG) Diagnostic System. Collection Editor: Christine Moran

Application of Wavelet Analysis in Detection of Fault Diagnosis of Heart

On QRS detection methodologies: A revisit for mobile phone applications, wireless ECG monitoring and large ECG databases analysis

A Review on Sleep Apnea Detection from ECG Signal

ECG Rhythm Analysis by Using Neuro-Genetic Algorithms

beyond AMPS LLC, New York, USA Hopital Lariboisiere, Paris, France

LABVIEW based expert system for Detection of heart abnormalities

Transcription:

Learning Decision Tree for Selecting QRS Detectors for Cardiac Monitoring François Portet 1, René Quiniou 2, Marie-Odile Cordier 2, and Guy Carrault 3 1 Department of Computing Science, University of Aberdeen, Aberdeen, AB24 3UE, UK fportet@csd.abdn.ac.uk 2 Irisa, INRIA, Université de rennes 1, Campus de Beaulieu, 35042, Rennes, France {quiniou,cordier}@irisa.fr 3 LTSI, Université de rennes 1, Campus de Beaulieu, 35042, Rennes, France guy.carrault@univ-rennes1.fr Abstract. The QRS complex is the main wave of the ECG. It is widely used for diagnosing many cardiac diseases. Automatic QRS detection is an essential task of cardiac monitoring and many detection algorithms have been proposed in the literature. Although most of the algorithms perform satisfactorily in normal situations, there are contexts, in the presence of noise or a specific pathology, where one algorithm performs better than the others. We propose a combination method that selects, on line, the detector that is the most adapted to the current context. The selection is done by a decision tree that has been learnt from the performance measures of 7 algorithms in various instances of 130 combinations of arrhythmias and noises. The decision tree is compared to expert rules tested in the framework of the cardiac monitoring system IP-CALICOT. 1 Introduction The QRS complex is the main wave in the ECG as it reflects the ventricular activity of the heart. Its automatic detection is an essential task for cardiac monitoring systems that has been studied for several decades and has resulted in a large number of methods [1-5]. But, each method has situations where it fails as each QRS detector reacts differently to the large number of different QRS waveforms and noises. In this paper, we propose to combine the strength of several algorithms to detect the QRS complex even in difficult situations. The approach is not to fuse the detectors outputs but to select, on-line, the best detector from among a set of algorithms according to an evaluation of the current context of the chunk of ECG to process. The selection is done by decision tree (DT) which is learnt to select 7 QRS detectors according to various situations, called contexts, representing 130 combinations of arrhythmia and clinical noise. The learning is detailed in section 2 and its results is analysed in section 3. This method is then compared with expert rules previously acquired in section 4. Finally, the paper ends with a short discussion. R. Bellazzi, A. Abu-Hanna, and J. Hunter (Eds.): AIME 2007, LNAI 4594, pp. 170 174, 2007. Springer-Verlag Berlin Heidelberg 2007

Learning Decision Tree for Selecting QRS Detectors for Cardiac Monitoring 171 2 Learning Method Selecting the QRS detector the most suited to the specific context of some ECG chunk is a difficult task. We advocate the use of selection rules but these rules must be acquired. In a previous experiment [6], we described an expert acquisition method. This experiment emphasized the complexity of the task. That is why an automatic approach is considered. Many methods could be used to learn selection rules but decision tree learning presents several advantages in our application: (1) the ECG contexts are composed of both nominal and categorical data that are easily handled by the learning method; (2) rules derived from decision tree are explicit and checkable by human experts; and (3) the learned decision tree can processes large volume of data in a short time, which is mandatory in ICU monitoring. Succinctly, a decision tree (DT) consists of several test nodes and class (or decision) leaves. It classifies an input by executing the tests in the tree beginning at the root and going down the tree until a leaf is reached which gives the class of the input (or the decision to be taken). The C4.5 algorithm of Quinlan [7] has been used to learn the tree. In our application, the DT input is an ECG context described by a set of attributes (i.e. properties of an ECG chunk) and the output is the algorithm to apply to the input context (i.e. the decision). To learn the DT, a training data set has been created. This has been achieved by (1) generating all possible contexts that can be found in an ECG, (2) applying all the QRS detectors to these contexts and (3) deciding what the best detector to apply to a given context is. 2.1 Definition of the Context A context is defined as the combination of a rhythm context and a noise context. Indeed, in clinical practice, an ECG is composed of the original ECG the rhythm context which is usually corrupted by noise the noise context. An ECG is composed of different QRS waveforms and the variation of waveforms inside an ECG signal disturbs the detection. To the best of our knowledge, the influence of QRS waveform variation on the QRS detection has been studied only in very few papers [6]. The rhythm contexts have been extracted from the MIT-BIH Arrhythmia Database [8]. 10 rhythms that are representative of normal rhythms and arrhythmic situations have been chosen to assess the detectors on sequences of identical QRSs as well as on sequences of non identical QRSs. The noise used to corrupt the ECG comes from several sources. Few studies have analyzed the influence of noise on QRS detectors. Most of them used composite noise that is not representative of real clinical situation. In our study, clinical additive noise was extracted from the MIT-BIH Noise Stress Test Database[9], which contains three noise records, lasting 30 mins each, predominantly composed of baseline wander (bw), muscle artifact (ma), and electrode motion artifact (em). We used these three types of noise at four Signal-to-Noise Ratios (SNR). Thus the attributes of a context are: rhythm context type, noise context type, and the SNR of the noise context.

172 F. Portet et al. 2.2 Selected QRS Detectors Many QRS detection schemes have been described in the literature for the last 30 years; however, since the 90s the performance has improved slowly in non noisy situations. For example, the Pan and Tompkins detector (1985) [1] (ER=0.68%) performs slightly less than the Christov's one (2004) [5] (ER=0.44%) in uncorrupted situations. That is why selection rules are learnt in noisy situations in order to emphasize the difference between detectors. Seven algorithms were selected. They were those used in [6] (pan, gritzali, af2, and df2) plus those proposed by Benitez et al.[4] (benitez), Suppappola and Sun[2] (mobd), and Kadambe et al.[3] (kadambe). 2.3 Computation of the Training Set for Decision Tree Learning The decision rules for selecting some algorithm in a specific context are given by a decision tree previously learned. The training set was computed by the algorithm given Fig. 1. Fig. 1. Algorithm used for the computation of the results This algorithm computes a matrix M where the performance p of each QRS detector is related to the context and the trial. p is composed of 3 values: True Positives (TP -- correct detections), False Negatives (FN -- missed detections) and False Positives (FP -- false alarms). These values are then used to compute: the Error Ratio, ER=(FN+FP)/(TP+FN), the Sensitivity, Se=TP/(TP+FN), the Positive Predictivity, PP=TP/(TP+FP) and the F-Measure, FM=2*PP*Se/(PP+Se). The training set was composed using the following parameters: chunk length B=10 beats (QRSs), N=13 noise values, R=10 rhythm types, T=100 instances of each context type, D=7 detectors. In all, 9,500 QRSs were used representing 8.70% of the whole database and leading to a training set composed of T*N*R (100*13*10) =13,000 individuals. The class (i.e. algorithm that should be chosen in this context) of each individual was found by selecting the QRS detector with the best FM value, for each instance of context.

Learning Decision Tree for Selecting QRS Detectors for Cardiac Monitoring 173 3 Learning Results A tree of size 69 for 48 leaves was obtained from the training set. benitez was used in a majority of the contexts, particularly in the contexts no_noise and bw. These two contexts do not perturb the signal as bw can be easily removed by the input filter of the detectors. Then, for the ma noise it alternates between kadambe and benitez. The choice of kadambe comes from its wavelet filtering, which appears to be the most able to deal with high-frequency noise. For the em context, the choice alternates between all the detectors of the set except kadambe. The em noise is composed of high and low frequency components which can affect the detectors very much. Moreover, in this branch, the rhythm type rather than the level of noise is used to distinguish the different cases. This demonstrates the value of using the rhythm information as a factor which influences the detectors performance. 4 Experiments and Comparison with Expert Rules A test set of 11 uncorrupted ECG records including 10 different rhythm contexts and representing 5 hours and 30 mins, was extracted from the MIT-BIH Arrhythmia database. The clinical noise (bw, ma, em at 4 SNRs) has been added randomly to the uncorrupted ECGs in order to control the SNR. The learned decision tree was translated into production rules and loaded into the cardiac monitoring system IP-CALICOT [10]. IP-CALICOT is a piloting system which enables the selection of signal processing algorithms on line, to treat chunks of ECG according to a context analysis. For comparison, expert rules acquired following the method described in Portet et al. [6] have also been tested on the dataset. To assess the maximum performance reachable with the selection rules, the best detector performance (the detector with maximum FM) for each chuck of ECG has also been retained. The results collected are used as gold standard and are grouped under the name idealselection. Table 1. Performance of the selected detectors detector ER ±STD (%) Se ±STD (%) PP ±STD (%) FM ±STD (%) nb of switch af2 51.82 ±22.17 92.16 ±3.19 67.69 ±8.67 78.05 ±6.62 - benitez 27.87 ±8.60 96.46 ±1.62 79.85 ±4.85 87.38 ±3.37 - df2 37.20 ±23.78 78.93 ±13.43 83.03 ±11.66 80.93 ±11.94 - gritzali 52.10 ±10.68 86.66 ±4.64 69.09 ±4.95 76.89 ±4.12 - kadambe 22.24 ±7.77 93.13 ±2.99 85.83 ±4.80 89.33 ±3.37 - mobd 55.70 ±13.69 95.56 ±2.51 65.09 ±5.37 77.43 ±4.26 - pan 34.90 ±12.52 78.20 ±11.06 85.65 ±5.48 81.76 ±7.38 - expert rules 20.60 ±6.62 93.72 ±2.62 86.75 ±4.12 90.10 ±3.05 623 DT 22.68 ±7.95 94.44 ±2.48 84.66 ±4.81 89.28 ±3.46 542 idealselection 14.38 ±4.86 94.85 ±1.93 91.13 ±2.92 92.96 ±2.32 2119 The result synthesized in Table 1 shows that, according to the FM, expert rules outperform all the other methods (idealselection is used as gold standard). The best

174 F. Portet et al. algorithm is kadambe with FM=89.33% and ER=22.24%. However, benitez shows a Se = 96.46% superior to kadambe. These two algorithms outperform the others with an FM greater by 5.6%. Among the algorithm selection methods, only expert rules (ER=20.60%) outperform kadambe (ER=22.24%) reducing ER by 1.64%. Moreover, expert rules obtain the lowest standard deviation for FM. This shows that the selection method by expert rules is more stable than the DT and, thereby is more reliable. DT is slightly below the results of kadambe. idealselection shows that the upper bound for FM is 92.96%. Thus, expert rules contribute to fill 21.2% of the gap between the best algorithm kadambe and the gold standard. This shows that the algorithm selection strategy can be greatly improved with more accurate rules. Selection rules are also interesting because they switch algorithms fewer times than idealselection (2119). 5 Discussion This experience showed that the selection of algorithms rests mainly on the acquisition of good selection rules. The experience undertaken with QRS detection algorithms shows that there remains some room for improvement. According to the gold standard, the maximum reachable FM is 92.96%. Expert rules reached 90.10%, improving the best algorithm by 0.77% in noisy contexts. This is a good score according to the current literature studies in which the sensitivity is improved typically by less than 1% [5] even in non noisy situation. This method will be applied to the other kinds of signal processing algorithms used in cardiac monitoring, such as QRS classification and P wave detection, which are less developed fields than the QRS detection and for which more significant results are expected. References 1. Pan, J., Tompkins, W.J.: A real-time QRS detection algorithm. IEEE Trans. Biomed. Eng. 32(3), 230 236 (1985) 2. Suppappola, S., Sun, Y.: Nonlinear transforms of ECG signals for digital QRS detection: a quantitative analysis. IEEE Trans. Biomed. Eng. 41(4), 397 400 (1994) 3. Kadambe, S., Murray, R., Boudreaux-Bartels, F.: Wavelet transform-based QRS complex detector. IEEE Trans. Biomed. Eng. 47(7), 838 848 (1999) 4. Benitez, D., et al.: The use of the Hilbert transform in ECG signal analysis. Comput. Biol. Med. 31, 399 406 (2001) 5. Christov, I.: Real time electrocardiogram QRS detection using combined adaptive threshold. Biomed. Eng. Online. 3(28), 1 9 (2004) 6. Portet, F., Hernández, A., Carrault, G.: Evaluation of real-time QRS detection algorithms in variable contexts. Med. Biol. Eng. Comput. 43(3), 381 387 (2005) 7. Quinlan, J.R.: C4.5: Programs for Machine Learning. Morgan Kaufmann, San Francisco (1993) 8. Mark, R., Moody, G.: MIT-BIH arrhythmia data base directory. MIT Press, Cambridge (1988) 9. Moody, G., Muldrow, W., Mark, R.: A noise stress test for arrhythmia detectors. Comput. Cardiol. (1984) 10. Portet, F., et al.: Piloting signal processing algorithms in a cardiac monitoring context. In: Miksch, S., Hunter, J., Keravnou, E.T. (eds.) AIME 2005. LNCS (LNAI), vol. 3581, Springer, Heidelberg (2005)