Resampling for Reliable Evaluation and Improved Performance Inautomatic Detection of electrode Misplacements In Ecg: Studies Based On Limb-Lead Misplacements

It is estimated that up to 4% of all ECGs are collected with misplaced electrode cables. Electrode misplacement can significantly alter the ECG and thus lead to wrong diagnoses. We developed an algorithm for automatic detection of electrode misplacement and evaluated its performance under consideration of a realistic misplacement rate. The algorithm consists of two discrimination steps. Step 1 determines whether an ECG has been correctly collected. If the prediction of Step 1 is misplacement, Step 2 then determines the type of misplacement. Previous algorithms reported their performances on a database including equal number of misplaced and correct records. We showed that these algorithms may have high false positive rates on misplacement prediction. Resampling was conducted at both the training and test sets for faithful evaluation and for optimal performance. The performance of Step 1 is 99.6% accuracy, 91.7% sensitivity, 99.9% specificity, 98.9% positive predictive value and 99.7% negative predictive value. The overall accuracy of Step 2 is 90.4%. Introduction 2Department of Family Medicine 3Division of Cardiology, University of Tennessee Medical Center, Knoxville, TN 37920 J Biom Tech Res Vol. 1. Issue. 1. 6000103 Figure 1: Examples of selected electrode placements: (a) the correct ECG; (b) the reversal between LA and RA electrodes; and (c) a misplacement, where RA takes the position of LA, LA takes the position of LL, and LL takes the position of RA. Figure adapted from Xia et al. (2012a). The reversal between the LA and RA electrodes is the most common electrode placement error, and many ECG recorders have builtin logic to recognize this problem [6]. Early algorithms use rule-based criteria to detect the reversal between LA and RA [7]. For example, the Marquette program suspects LA-RA interchange “if the QRS axis is between 90 and 270 degrees and the P axis is between 90 and 210 degrees” [8]. While the Marquette program yields accurate results (93.91% sensitivity and 100% specificity) for ECGs with clear P waves, the results are disappointing (39.34% sensitivity and 100% specificity) for ECGs without P waves [9]. A few other algorithms have been developed for different types of electrode misplacement [10-16]. The recent review by Batchvarov et al. [17] provides a systematic review and comparison of various algorithms. Among the existing algorithms, the work of Heden et al [12] and that of Kors and Herpen [15] present the highest classification accuracies. Heden et al. were the first to use artificial neural networks for detection of electrode misplacement. They used various ECG waves and intervals as features. When classifying the reversal of left arm electrode and right arm electrode, they obtained a specificity of 99.95% and sensitivity of 99.11% when the P wave was present and a specificity of 99.92% and sensitivity of 94.5% when the P wave was absent. They also obtained a specificity of 57.6% and sensitivity of 99.97% for the reversal of left arm and left leg electrodes and a specificity of 71.76% and sensitivity of 99.92% on average for the precordial lead reversals.Kors and Herpen were the first to use intrinsic relationships between different leads of the ECG as features in detection of cable reversals. They investigated 14 types of misplacement including the 5 types of limb cable reversals and 9 types of precordial cable reversals. On a set of 3,305 ECGs, they demonstrated excellent specificities (>=99.5%) for all 14 types of misplacement and very good sensitivities (>=93%) for all interchanges except the LA/LL reversal (sensitivity = 17.9%, specificity = 99.5%). In a recent study, Xia et al. [18] reviewed and compared the algorithm of Heden et al. and that of Kors and Herpenusing 3 different databases from Physionet [19]. The work of Xia et al. shows that existing algorithms work well on records of high signal quality and without severe distortions, but the performance is less satisfactory on records with noise and arrhythmias. problems, where each type of misplacement is examined against the correct ECG. As such, for a given ECG, whose type of placement is not known, it is not clear how accurately this ECG can be labeled. In contrast, this article considers a more general multi-class classification problem. We first determine whether the ECG has been collected with misplaced electrodes. Then, for a misplaced ECG, we determine what the type of misplacement is. Moreover, performances of previous algorithms were tested using test data sets that contain the same number of correct and misplaced ECGs. Recall that misplacements occur in 4% of all ECGs in reality. Thus, performance evaluation based on balanced data sets may be misleading. This article aims to overcome these difficulties. The paper is organized as follows. Section 2 describes various layouts of ECG electrodes and the methods to derive the different electrode misplacements. Section 3 describes the databases used in this work. Section 4provides detailed explanations on the methods. The results are presented in Section 5. Finally, the conclusion and discussion are presented in Section 6. In theory, the 10 electrode cables in the 12-lead ECG have more than 3.6 million permutations, leading to millions of possible reversals. However, reversals of precordial leads are extremely unlikely to occur and researchers usually consider just a few types of misplacements of precordial leads [17]. In this article, we focused our attention on misplacements involving only limb electrodes. Layout of ECG Electrodes and Derivation of Misplaced ECGs The 4 limb cables have 24 different permutations of placement on the 4 limbs. In the standard ECG, RL and LL electrodes are placed at the ankles. Therefore, reversing the RL and LL electrodes will not change the ECG since the potential difference between the two ankles is essentially zero. As a result, the 24 different types of electrode placement yield 12 different ECGs. Table 1shows the 11 ECGs from limb lead reversals compared to the correct ECG. Note that all cable reversals are derived from operations on the correct electrode placement. Moreover, certain types of misplacement are obtained using two sequential operations. For example, the type 7 placement involves the interchange between LA and RL followed by the interchange between LA and LL. In theory, the last 6 rows of Table 1are trivial to detect since one of the leads in these ECGs is a flat line since one of the arm electrodes is placed on the right leg. See Xia et al. [18] for more detailed description on limb lead reversals. The review article of Batchvarov et al. [17] discusses rules to identify common cable interchanges. J Biom Tech Res Vol. 1. Issue. 1. 6000103 Page 2 of 9 Citation: Xiaopeng Zhao, Henian Xia, Irfan Asif, Dale C Wortham, Elena G Tolkacheva (2014) Resampling for Reliable Evaluation and Improved Performance Inautomatic Detection Ofelectrode Misplacements In Ecg: Studies Based On Limb-Lead Misplacements. J Biom Tech Res 1(1): 9. The existing algorithms consider binary classification Table 1: ECGs from various types of misplacement compared to the correct ECG.

[1]  Kenneth Levenberg A METHOD FOR THE SOLUTION OF CERTAIN NON – LINEAR PROBLEMS IN LEAST SQUARES , 1944 .

[2]  O Pahlm,et al.  Recognition of electrocardiographic electrode misplacements involving the ground (right leg) electrode. , 1993, The American journal of cardiology.

[3]  Adrian Baranchuk,et al.  Electrocardiography pitfalls and artifacts: the 10 commandments. , 2009, Critical care nurse.

[4]  Karen Spärck Jones A statistical interpretation of term specificity and its application in retrieval , 2021, J. Documentation.

[5]  O. Pahlm,et al.  Detection of frequently overlooked electrocardiographic lead reversals using artificial neural networks. , 1996, The American journal of cardiology.

[6]  G. D. Clifford,et al.  A single channel ECG quality metric , 2012, 2012 Computing in Cardiology.

[7]  Jeffrey M. Hausdorff,et al.  Physionet: Components of a New Research Resource for Complex Physiologic Signals". Circu-lation Vol , 2000 .

[8]  B Heden,et al.  Electrocardiographic lead reversal. , 2001, The American journal of cardiology.

[9]  Ferenc Follath,et al.  Electrocardiographic artifacts due to electrode misplacement and their frequency in different clinical settings. , 2007, The American journal of emergency medicine.

[10]  J. Criley,et al.  Virtual tools for teaching electrocardiographic rhythm analysis. , 2006, Journal of electrocardiology.

[11]  D. Dubin Rapid Interpretation of EKG's , 1977 .

[12]  Stephen V. Stehman,et al.  Selecting and interpreting measures of thematic classification accuracy , 1997 .

[13]  Robert Hecht-Nielsen,et al.  Theory of the backpropagation neural network , 1989, International 1989 Joint Conference on Neural Networks.

[14]  George B Moody,et al.  The PhysioNet/computing in cardiology challenge 2010: Mind the gap , 2010, 2010 Computing in Cardiology.

[15]  J. Zieliński,et al.  Negative P wave in lead I due to right atrial enlargement and displacement of the heart in the chest , 1976, Pneumonologie.

[16]  Jacek M. Leski,et al.  ECG baseline wander and powerline interference reduction using nonlinear filter bank , 2005, Signal Process..

[17]  Simon Haykin,et al.  Neural Networks: A Comprehensive Foundation , 1998 .

[18]  M. Joseph Congenital heart disease in infancy and childhood. , 1958, Medical world.

[19]  D. Francis,et al.  Accuracy in ECG lead placement among technicians, nurses, general physicians and cardiologists , 2007, International journal of clinical practice.

[20]  Gabriel A Garcia,et al.  Matrix of regularity for improving the quality of ECGs , 2012, Physiological measurement.

[21]  Ikaro Silva,et al.  Improving the quality of ECGs collected using mobile phones: The PhysioNet/Computing in Cardiology Challenge 2011 , 2011, 2011 Computing in Cardiology.

[22]  Paul S. Addison,et al.  Continuous Wavelet Transform Modulus Maxima Analysis of the Electrocardiogram: Beat Characterisation and Beat-to-Beat Measurement , 2005, Int. J. Wavelets Multiresolution Inf. Process..

[23]  P Caminal,et al.  Automatic detection of wave boundaries in multilead ECG signals: validation with the CSE database. , 1994, Computers and biomedical research, an international journal.

[24]  D. Altman,et al.  Statistics Notes: Diagnostic tests 2: predictive values , 1994, BMJ.

[25]  Xiaopeng Zhao,et al.  Reconstruction of physiological signals using iterative retraining and accumulated averaging of neural network models , 2011, Physiological measurement.

[26]  K. C. Ho,et al.  Use of the sinus P wave in diagnosing electrocardiographic limb lead misplacement not involving the right leg (ground) lead. , 2001, Journal of electrocardiology.

[27]  D. Powers Evaluation: From Precision, Recall and F-Factor to ROC, Informedness, Markedness & Correlation , 2008 .

[28]  Xiaopeng Zhao,et al.  Automatic detection of ECG electrode misplacement: a tale of two algorithms , 2012, Physiological measurement.

[29]  Ralf Bousseljot,et al.  Nutzung der EKG-Signaldatenbank CARDIODAT der PTB über das Internet , 2009 .

[30]  J A Milliken,et al.  Recognition of electrocardiographic left arm/left leg lead reversal. , 1997, The American journal of cardiology.

[31]  J A Kors,et al.  Accurate automatic detection of electrode interchange in the electrocardiogram. , 2001, The American journal of cardiology.

[32]  Hecht-Nielsen Theory of the backpropagation neural network , 1989 .

[33]  Marek Malik,et al.  Incorrect electrode cable connection during electrocardiographic recording. , 2007, Europace : European pacing, arrhythmias, and cardiac electrophysiology : journal of the working groups on cardiac pacing, arrhythmias, and cardiac cellular electrophysiology of the European Society of Cardiology.