| Literature DB >> 33133225 |
Zhishuai Liu1, Guihua Yao2, Qing Zhang2, Junpu Zhang1, Xueying Zeng1.
Abstract
An electrocardiogram (ECG) records the electrical activity of the heart; it contains rich pathological information on cardiovascular diseases, such as arrhythmia. However, it is difficult to visually analyze ECG signals due to their complexity and nonlinearity. The wavelet scattering transform can generate translation-invariant and deformation-stable representations of ECG signals through cascades of wavelet convolutions with nonlinear modulus and averaging operators. We proposed a novel approach using wavelet scattering transform to automatically classify four categories of arrhythmia ECG heartbeats, namely, nonectopic (N), supraventricular ectopic (S), ventricular ectopic (V), and fusion (F) beats. In this study, the wavelet scattering transform extracted 8 time windows from each ECG heartbeat. Two dimensionality reduction methods, principal component analysis (PCA) and time window selection, were applied on the 8 time windows. These processed features were fed to the neural network (NN), probabilistic neural network (PNN), and k-nearest neighbour (KNN) classifiers for classification. The 4th time window in combination with KNN (k = 4) has achieved the optimal performance with an averaged accuracy, positive predictive value, sensitivity, and specificity of 99.3%, 99.6%, 99.5%, and 98.8%, respectively, using tenfold cross-validation. Thus, our proposed model is capable of highly accurate arrhythmia classification and will provide assistance to physicians in ECG interpretation.Entities:
Mesh:
Year: 2020 PMID: 33133225 PMCID: PMC7568798 DOI: 10.1155/2020/3215681
Source DB: PubMed Journal: Comput Math Methods Med ISSN: 1748-670X Impact factor: 2.238
Figure 1ECG signals for different arrhythmia categories.
Selected automated ECG classification methods on the MIT-BIH Arrhythmia Database.
| Author | Year | Method | Class | Performance | |
|---|---|---|---|---|---|
| Conventional machine learning approaches | |||||
| Inan et al. [ | 2006 | Feature extraction: classifier | WT and timing interval | 3 | ACC: 95.16% |
| Sayadi et al. [ | 2010 | Feature extraction: classifier | Innovation sequence of EKF | 2 | ACC: 99.10% |
| SEN: 98.77% | |||||
| SPEC: 97.47% | |||||
| Martis et al. [ | 2012 | Feature extraction: classifier | PCA | 5 | ACC: 98.11% |
| SEN: 99.90% | |||||
| SPEC: 99.10% | |||||
| Prasad et al. [ | 2013 | Feature extraction: classifier | HOS+ICA | 3 | ACC: 97.65% |
| SEN: 98.75% | |||||
| SPEC: 99.53% | |||||
| Martis et al. [ | 2013 | Feature extraction: classifier | Cumulant+ICA | 3 | ACC: 99.5% |
| SEN: 100% | |||||
| SPEC: 99.22% | |||||
| Martis et al. [ | 2013 | Feature extraction: classifier | HOS+PCA | 3 | ACC: 93.48% |
| SEN: 99.27% | |||||
| SPEC: 98.31% | |||||
| Martis et al. [ | 2013 | Feature extraction: classifier | Cumulant+PCA | 5 | ACC: 94.52% |
| SEN: 98.61% | |||||
| SPEC: 98.41% | |||||
| Martis et al. [ | 2012 | Feature extraction: classifier | DCT+PCA | 5 | ACC: 99.52% |
| SEN: 98.69% | |||||
| SPEC: 99.91% | |||||
| Martis et al. [ | 2014 | Feature extraction: classifier | ICA+DCT | 3 | ACC: 99.45% |
| SEN: 99.61% | |||||
| SPEC: 100% | |||||
| Kaya and Pehlivan [ | 2015 | Feature extraction: classifier | Genetic algorithms | 5 | ACC: 99.69% |
| SEN: 99.46% | |||||
| SPEC: 99.91% | |||||
| Kaya and Pehlivan [ | 2015 | Feature extraction: classifier | Time series+PCA | 5 | ACC: 99.63% |
| SEN: 99.29% | |||||
| SPEC: 99.89% | |||||
| Li and Zhou [ | 2016 | Feature extraction: classifier | WPE+RR | 5 | ACC: 94.61% |
| Mondjar-Guerra et al. [ | 2018 | Feature extraction: classifier | Wavelets+LBP+HOS+several amplitude values | 5 | ACC: 94.5% |
| SEN: 66.4% | |||||
| SPEC: 70.3% | |||||
| Yang and Wei [ | 2020 | Feature extraction: classifier | Combined parameter and visual pattern features of ECG morphology | 5 | ACC: 97.70% |
| This work | 2020 | Feature extraction: classifier | WSN+the 4th time window | 4 | ACC: 99.3% |
| SEN: 99.5% | |||||
| SPEC: 98.8% | |||||
|
| |||||
| Deep learning approaches | |||||
| Martis et al. [ | 2014 | 9-layer deep convolution neural network | 5 | ACC: 93.47% | |
| SEN: 96.01% | |||||
| SPEC: 91.64% | |||||
ACC: accuracy; SEN: sensitivity; SPEC: specificity; WT: wavelet transform; EKF: extended Kalman filter; DCT: discrete cosine transform; DWT: discrete wavelet transform; HOS: higher order statistics; IC: independent component; ICA: independent component analysis; RR: RR intervals; WPE: wavelet packet entropy; LBP: local binary patterns; RF: random forest; LS-SVM: least square-support vector machine.
Figure 2A fragment of record 100.
MIT-BIH Arrhythmia Database beats classified as per ANSI/AAMI EC57:1998 standard [9].
| N | S | V | F | Q |
|---|---|---|---|---|
| Normal | Atrial premature | Premature ventricular contraction | Fusion of ventricular and normal | Paced |
| Left bundle branch | Aberrant atrial | Fusion of paced and normal | ||
| Right bundle branch block | Nodal (junctional) premature | Ventricular escape | Unclassifiable | |
| Atrial escape | Supraventricular premature | |||
| Nodal (junctional) escape |
The breakdown of five arrhythmia categories.
| Class | Number of ECG heartbeats |
|---|---|
| N | 90023 |
| S | 2758 |
| V | 6914 |
| F | 800 |
| Q | 12 |
| Total | 100507 |
Figure 3The tree view of wavelet scattering network.
Figure 4Wavelet filters. (a) The low pass filter with 0.5 s invariance scale. (b) The first filter bank with 8 wavelets per octave and the second filter bank with 1 wavelet per octave.
Figure 5Scattering coefficients of 8 time windows for one ECG heartbeat.
The confusion matrix for 8 time windows combined with the NN across 10 folds.
| Original | Predicted | ||||||
|---|---|---|---|---|---|---|---|
| N | S | V | F | PPV (%) | SEN (%) | SPEC (%) | |
| N | 88681 | 369 | 737 | 213 | 90.9 | 98.5 | 96.7 |
| S | 4106 | 82994 | 2006 | 894 | 93.9 | 92.2 | 98.0 |
| V | 2669 | 2132 | 83701 | 1498 | 91.7 | 93.0 | 97.2 |
| F | 2124 | 2872 | 4843 | 80161 | 96.9 | 89.1 | 96.5 |
The accuracy of each time window classified by the NN.
| Time window | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| ACC (%) | 88.9 | 90.3 | 92.2 | 92.8 | 92.2 | 91.2 | 89.8 | 87.3 |
The confusion matrices for the first principal component combined with the NN, PNN, and KNN across 10 folds.
| Original | Predicted | |||||||
|---|---|---|---|---|---|---|---|---|
| N | S | V | F | PPV (%) | SEN (%) | SPEC (%) | ||
| NN | N | 83508 | 2621 | 2799 | 1072 | 92.4 | 92.8 | 97.5 |
| S | 3144 | 84182 | 1946 | 728 | 94.0 | 93.5 | 98.0 | |
| V | 1434 | 996 | 86100 | 1460 | 91.7 | 95.7 | 97.1 | |
| F | 2270 | 1803 | 3069 | 82858 | 96.2 | 92.1 | 97.4 | |
|
| ||||||||
| PNN | N | 86738 | 1225 | 1459 | 578 | 97.8 | 96.4 | 99.3 |
| S | 1646 | 88085 | 214 | 55 | 98.6 | 97.9 | 99.5 | |
| V | 50 | 13 | 89797 | 140 | 98.1 | 99.8 | 99.4 | |
| F | 228 | 27 | 21 | 89724 | 99.1 | 99.7 | 99.9 | |
|
| ||||||||
| KNN | N | 87816 | 690 | 1091 | 403 | 96.5 | 97.6 | 98.8 |
| S | 2418 | 86520 | 627 | 435 | 98.9 | 96.1 | 99.7 | |
| V | 156 | 62 | 89612 | 170 | 98.0 | 99.6 | 99.3 | |
| F | 572 | 186 | 112 | 89130 | 98.9 | 99.0 | 99.7 | |
The confusion matrices for the 4th time window combined with the NN, PNN, and KNN across 10 folds.
| Original | Predicted | |||||||
|---|---|---|---|---|---|---|---|---|
| N | S | V | F | PPV (%) | SEN (%) | SPEC (%) | ||
| NN | N | 88146 | 811 | 789 | 254 | 93.8 | 97.9 | 97.8 |
| S | 3181 | 85641 | 901 | 277 | 94.9 | 95.2 | 98.3 | |
| V | 1553 | 1323 | 85084 | 2040 | 94.4 | 94.5 | 98.1 | |
| F | 1108 | 2439 | 3343 | 83110 | 97.0 | 92.3 | 97.5 | |
|
| ||||||||
| PNN | N | 86415 | 2540 | 615 | 430 | 99.8 | 96.0 | 99.9 |
| S | 171 | 89828 | 0 | 1 | 97.2 | 99.8 | 99.0 | |
| V | 1 | 71 | 89879 | 49 | 99.3 | 99.9 | 99.8 | |
| F | 0 | 1701 | 1645 | 86654 | 96.0 | 96.3 | 98.8 | |
|
| ||||||||
| KNN | N | 88915 | 644 | 281 | 160 | 98.5 | 98.8 | 99.5 |
| S | 893 | 87177 | 1155 | 775 | 92.7 | 96.9 | 97.4 | |
| V | 496 | 4545 | 82247 | 2712 | 96.4 | 91.4 | 98.9 | |
| F | 0 | 3 | 0 | 89997 | 99.5 | 100 | 100 | |
The confusion matrix for the 3th, 4th, and 5th time windows combined with the NN across 10 folds.
| Original | Predicted | ||||||
|---|---|---|---|---|---|---|---|
| N | S | V | F | PPV (%) | SEN (%) | SPEC (%) | |
| N | 88156 | 560 | 1042 | 242 | 95.3 | 98.0 | 98.4 |
| S | 2662 | 86180 | 721 | 437 | 96.3 | 95.8 | 98.8 |
| V | 909 | 933 | 86431 | 1727 | 94.6 | 96.0 | 98.2 |
| F | 794 | 1836 | 3163 | 84207 | 97.2 | 93.6 | 97.9 |
Summary of classification results achieved by all the methods in this paper.
| Feature extraction | Classifier | TP | TN | FP | FN | ACC (%) | PPV (%) | SEN (%) | SPEC (%) |
|---|---|---|---|---|---|---|---|---|---|
| WSN | NN | 261101 | 88681 | 1319 | 8899 | 97.2 | 99.5 | 96.7 | 98.5 |
| WSN+PCA | NN | 263152 | 83508 | 6492 | 6848 | 96.3 | 97.6 | 97.5 | 92.3 |
| PNN | 268076 | 86738 | 3262 | 1924 | 98.6 | 98.8 | 99.3 | 96.4 | |
| KNN | 266854 | 87816 | 2184 | 3146 | 98.5 | 99.2 | 98.8 | 97.6 | |
| WSN+the 3th, 4th, and 5th time window | NN | 264158 | 88146 | 1854 | 5842 | 97.9 | 99.3 | 97.8 | 97.9 |
| WSN+the 4th time window | NN | 265091 | 87999 | 2001 | 4909 | 98.1 | 99.3 | 98.2 | 97.8 |
| PNN | 269828 | 86415 | 3585 | 172 | 99.0 | 98.7 | 99.9 | 96.0 | |
| KNN | 268611 | 88915 | 1085 | 1389 | 99.3 | 99.6 | 99.5 | 98.8 |
TP: true positive; TN: true negative; FP: false positive; FN: false negative; WSN: wavelet scattering network.