| Literature DB >> 30061754 |
Sandeep Raj1, Kailash Chandra Ray2.
Abstract
Arrhythmia detection is the core of cardiovascular disease diagnosis. Though, there is no such generic solution for detecting the arrhythmias at the moment they occur which is due to the non-stationary nature and inter-patient variations of ECG signals. The feature extraction and classification techniques are significant tools widely used in the automated classification of arrhythmias. This study aims to develop a personalized arrhythmia monitoring platform allowing real-time detection of arrhythmias from the subject's electrocardiogram (ECG) signal for point-of-care usage. A novel method, i.e. discrete orthogonal stockwell transform (DOST) technique for feature extraction is employed to capture the significant time-frequency coefficients to constitute the feature set representing each of the ECG signals. These coefficients or features are classified using artificial bee colony (ABC) optimized twin least-square support vector machine (LSTSVM) for classifying the different categories of ECG signals. The ABC optimizes the dimension of the feature set and the learning parameters of the classifier. The proposed method is prototyped on the commercially available ARM-based embedded platform and validated on the benchmark MIT-BIH arrhythmia database. Further, the prototype is evaluated under two schemes, i.e. class and personalized schemes which reported a higher overall accuracy of 96.29% and 96.08% in the respective schemes than the existing works to the state-of-art CVDs diagnosis.Entities:
Mesh:
Year: 2018 PMID: 30061754 PMCID: PMC6065378 DOI: 10.1038/s41598-018-29690-2
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Summary of datasets in category based analysis scheme.
| ECG signal Type - Annotation | Total | Training | Testing | |
|---|---|---|---|---|
| Normal (NOR) - N | 75017 | 11253 | 23 | 63764 |
| Left Bundle Branch Block (LBBB) - L | 8072 | 2825 | 35 | 5247 |
| Right Bundle Branch Block (RBBB) - R | 7255 | 2539 | 35 | 4716 |
| Atrial Premature Contraction (APC) - A | 2546 | 891 | 35 | 1655 |
| Preventricular Contraction (PVC) - V | 7129 | 2495 | 35 | 4634 |
| Paced Beat (PACE) - P | 7024 | 2458 | 35 | 4566 |
| Aberrated Atrial Premature Beat (AP) - a | 150 | 75 | 50 | 75 |
| Ventricular Flutter (VF) - ! | 472 | 236 | 50 | 236 |
| Fusion of Ventricular and Normal Beat (VFN) - F | 802 | 401 | 50 | 401 |
| Blocked Atrial Premature Beat (BAP) - x | 193 | 97 | 50 | 96 |
| Nodal (Junctional Escape Beat) - j | 229 | 115 | 50 | 114 |
| Fusion of Paced and Normal Beat (FPN) - f | 982 | 491 | 50 | 491 |
| Ventricular Escape Beat (VE) - E | 106 | 53 | 50 | 53 |
| Nodal (Junctional) Premature Beat (NP) - J | 83 | 42 | 50 | 41 |
| Atrial Escape Beat (AE) - e | 16 | 8 | 50 | 8 |
| Unclassificable Beat (UN) - Q | 33 | 17 | 50 | 16 |
| Total | 110109 | 23996 | 21.79 | 86113 |
Figure 1Proposed method flow.
Confusion matrix and performance metrics in setup I (class scheme).
| Predicted Labels | Total |
|
|
| |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N | L | R | A | V | P | a | ! | F | x | j | f | E | J | e | Q | ||||||
| Ground Truth | N | 61910 | 130 | 0 | 1193 | 311 | 0 | 61 | 23 | 57 | 0 | 33 | 27 | 0 | 0 | 11 | 8 | 63764 | 97.09 | 99.11 | 98.09 |
| L | 122 | 5051 | 0 | 0 | 74 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5247 | 96.26 | 94.02 | 95.13 | |
| R | 157 | 0 | 4461 | 71 | 19 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 | 0 | 0 | 4716 | 94.59 | 100 | 97.22 | |
| A | 32 | 23 | 0 | 1487 | 14 | 0 | 0 | 4 | 95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1655 | 89.85 | 53.78 | 67.28 | |
| V | 86 | 15 | 0 | 0 | 4369 | 0 | 0 | 79 | 71 | 0 | 0 | 14 | 0 | 0 | 0 | 0 | 4634 | 94.28 | 90.59 | 92.4 | |
| P | 23 | 109 | 0 | 0 | 0 | 4357 | 0 | 0 | 0 | 0 | 0 | 77 | 0 | 0 | 0 | 0 | 4566 | 95.42 | 99.89 | 97.6 | |
| a | 13 | 0 | 0 | 7 | 3 | 0 | 52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 75 | 69.33 | 46.02 | 55.32 | |
| ! | 14 | 32 | 0 | 0 | 19 | 0 | 0 | 171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 236 | 72.46 | 60.64 | 66.02 | |
| F | 41 | 0 | 0 | 0 | 11 | 0 | 0 | 0 | 349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 401 | 87.03 | 61.01 | 71.74 | |
| x | 11 | 0 | 0 | 3 | 0 | 0 | 0 | 5 | 0 | 77 | 0 | 0 | 0 | 0 | 0 | 0 | 96 | 80.2 | 100 | 88.34 | |
| j | 14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 96 | 0 | 0 | 4 | 0 | 0 | 114 | 84.21 | 74.42 | 79.01 | |
| f | 23 | 11 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 453 | 0 | 0 | 0 | 0 | 491 | 92.26 | 78.92 | 85.07 | |
| E | 8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 45 | 0 | 0 | 0 | 53 | 84.91 | 100 | 91.84 | |
| J | 3 | 0 | 0 | 4 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 32 | 0 | 0 | 41 | 78.05 | 72.73 | 75.29 | |
| e | 4 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 8 | 25 | 15.38 | 19.05 | |
| Q | 6 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 6 | 16 | 37.5 | 42.86 | 37.5 | |
| Total | 62467 | 5372 | 4461 | 2765 | 4823 | 4362 | 113 | 282 | 572 | 77 | 129 | 574 | 45 | 44 | 13 | 14 | 86113 | 96.29 | 96.29 | 76.06 | |
Confusion matrix and performance metrics in setup IIA (personalized scheme) based on datasets in[25].
| Predicted Labels | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N | S | V | F | Q | Total | TP | FN | FP |
|
|
| ||
| Ground Truth | N | 73242 | 863 | 439 | 77 | 29 | 74650 | 73242 | 1408 | 1207 | 98.11 | 98.38 | 98.24 |
| S | 649 | 1614 | 191 | 7 | 9 | 2470 | 1614 | 856 | 1178 | 65.34 | 57.80 | 61.35 | |
| V | 395 | 287 | 5128 | 63 | 26 | 5899 | 5128 | 771 | 679 | 86.93 | 88.30 | 87.61 | |
| F | 156 | 27 | 45 | 394 | 3 | 625 | 394 | 231 | 148 | 63.04 | 72.69 | 67.52 | |
| Q | 7 | 1 | 4 | 1 | 1 | 14 | 1 | 13 | 67 | 7.14 | 1.14 | 2.44 | |
| Total | 74449 | 2792 | 5807 | 542 | 68 | 83658 | 80379 | 3279 | 3279 | 96.08 | 96.08 | 96.08 | |
†Classification results for the testing dataset only (24 records from range 200–234) are shown in parenthesis.
Confusion matrix in setup IIB (personalized scheme) based on datasets in[10].
| Predicted Labels | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N | S | V | F | Q | Total | TP | FN | FP |
|
|
| ||
| Ground Truth | N | 39168 | 935 | 1295 | 2767 | 93 | 44258 | 39168 | 5090 | 579 | 88.50 | 98.54 | 93.25 |
| S | 311 | 1328 | 181 | 14 | 3 | 1837 | 1328 | 509 | 1223 | 72.29 | 52.06 | 60.53 | |
| V | 89 | 275 | 2628 | 142 | 87 | 3221 | 2628 | 593 | 1587 | 81.59 | 62.35 | 70.68 | |
| F | 176 | 12 | 109 | 69 | 22 | 388 | 69 | 319 | 2923 | 17.78 | 02.31 | 04.08 | |
| Q | 3 | 1 | 2 | 0 | 1 | 7 | 1 | 6 | 205 | 14.28 | 0.48 | 0.94 | |
| Total | 39747 | 2551 | 4215 | 2992 | 206 | 49711 | 43194 | 6517 | 6517 | 86.89 | 86.89 | 86.89 | |
Comparison table for setup I (class scheme).
| Study [Ref.] | Classes | Features | Classifier | Accuracy (%) |
|---|---|---|---|---|
| Oresko | 5 | RR-interval | NN | 90 |
| Cvikl | 2 | RR-interval | OSEA | 92.36( |
| Rodriguez | all MIT | Waveform | Decision Tree | 96.128 |
| Jeon | 3 | WT | SVM | 95.1 |
|
|
|
|
|
|
†NN: Neural Networks, SVM: Support Vector Machine, WT: Wavelet Transform, OSEA: Open Source ECG Analysis Software, ABC: artificial bee colony.
Comparison table for setup II (personalized scheme).
| Study [Ref.] | Classes | Features | Classifier | Accuracy(%) |
|---|---|---|---|---|
| Hu | 5 | Time-domain | MOE | 94.8 |
| De Chazal[ | 5 | RR-interval + Morphology | LDA | 81.9 |
| Ye[ | 5 | WT + ICA + RR | SVM | 86.4 |
|
|
|
|
|
|
†LDA: Linear Discriminant Analysis, WT: Wavelet transform, ICA: Independent component analysis, SVM: Support Vector Machines, MOE: Mixture of Experts.
Figure 2Block diagram of the proposed method.
. Note that V[p] = 1, for nε[−β/2, …, −β/2 − 1] that returns z[p], p = β, β + 1, …, 2β−1, β fourier coefficients of the signal. A N-point inverse FFT to z[n] is applied to recover the original signal z[l]. The total time complexity of DOST algorithm is of the order of Θ(NlogN + NlogN + N). The data flow of the DOST algorithm is depicted in Fig. 3. The time-frequency coefficient vectors are extracted from the corresponding heartbeats that are used as final feature set to recognize the heartbeats into different classes using the ABC-LSTSVM classifier model.
Figure 3Dataflow of proposed DOST.
Figure 4Input, reconstructed signal and error for (a) Normal (b) LBBB (c) PVC signal using DOST.
Figure 5Flowchart of ABC technique.
Parameters in the ABC Technique.
| Parameters In the ABC Technique | |
|---|---|
| Number of Bees (Onlooker + Employed Bees) | 200 (50 + 150) |
| Maximum Number of cycles (MCN) | 500 |
| No. of Iterations for Onlooker Bees | 200 |
| No. of Food sources | 25 |
Figure 6Experimental laboratory setup.
Figure 7Noisy ECG signal and its pre-processing.
Figure 8R-peak detection and ECG segmentation.