| Literature DB >> 35980965 |
Fabiola De Marco1, Filomena Ferrucci1, Michele Risi1, Genoveffa Tortora1.
Abstract
Detection of Premature Ventricular Contractions (PVC) is of crucial importance in the cardiology field, not only to improve the health system but also to reduce the workload of experts who analyze electrocardiograms (ECG) manually. PVC is a non-harmful common occurrence represented by extra heartbeats, whose diagnosis is not always easily identifiable, especially when done by long-term manual ECG analysis. In some cases, it may lead to disastrous consequences when associated with other pathologies. This work introduces an approach to identify PVCs using machine learning techniques without feature extraction and cross-validation techniques. In particular, a group of six classifiers has been used: Decision Tree, Random Forest, Long-Short Term Memory (LSTM), Bidirectional LSTM, ResNet-18, MobileNetv2, and ShuffleNet. Two types of experiments have been performed on data extracted from the MIT-BIH Arrhythmia database: (i) the original dataset and (ii) the balanced dataset. MobileNetv2 came in first in both experiments with high performance and promising results for PVCs' final diagnosis. The final results showed 99.90% of accuracy in the first experiment and 99.00% in the second one, despite no feature detection techniques were used. The approach we used, which was focused on classification without using feature extraction and cross-validation techniques, allowed us to provide excellent performance and obtain better results. Finally, this research defines as first step toward understanding the explanations for deep learning models' incorrect classifications.Entities:
Mesh:
Substances:
Year: 2022 PMID: 35980965 PMCID: PMC9387858 DOI: 10.1371/journal.pone.0268555
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.752
Fig 1The difference between two signals: Normal and PVC (abnormal).
Fig 2Methodology to classify QRS complexes.
ShuffleNet architecture.
| Layer | Output Size | Kernel Size | Stride | Repeat |
|---|---|---|---|---|
| image | 224×224 | |||
| conv1 | 112×112 | 3×3 | 2 | 1 |
| maxPool | 56×56 | 3×3 | 2 | |
| stage2 | 28×28 | 2 | 1 | |
| stage2 | 28×28 | 1 | 3 | |
| stage3 | 14×14 | 2 | 1 | |
| stage3 | 14×14 | 1 | 7 | |
| stage4 | 7×7 | 2 | 1 | |
| stage4 | 7×7 | 1 | 3 | |
| globalPool | 1×1 | 7×7 | ||
|
| 2 | |||
|
| 2 | |||
|
| 2 |
Fig 3ShuffleNet unit with stride = 1.
The activation functions used are Relu and Batch normalization (BN).
Fig 4ShuffleNet unit with stride = 2.
ResNet-18 architecture.
| Layer | Output Size | Kernel Size | Stride |
|---|---|---|---|
| conv1 | 112×112×64 | 7x7, 64 | 2 |
| conv2_x | 56×56×64 | 3×3 maxPool | 2 |
|
| |||
| conv3_x | 28×28×128 |
| |
| conv4_x | 14×14×256 |
| |
| conv5_x | 7×7×512 |
| |
| avgpool | 1×1×512 | 7×7 | |
|
| 2 | 512×2 | |
|
| 2 | ||
|
| 2 |
MobileNetv2 architecture.
| Layer | Output Size | Kernel Size | Expansion Factor | Stride | Repeat |
|---|---|---|---|---|---|
| image | 224×224×3 | 2 | 1 | ||
| conv2d | 112×112×32 | 2 | 1 | ||
| bottleneck | 112×112×16 | 1 | 1 | 1 | |
| bottleneck | 56×56×24 | 6 | 2 | 2 | |
| bottleneck | 28×28×32 | 6 | 2 | 3 | |
| bottleneck | 14×14×64 | 6 | 2 | 4 | |
| bottleneck | 14×14×96 | 6 | 1 | 3 | |
| bottleneck | 7×7×160 | 6 | 2 | 3 | |
| bottleneck | 7×7×320 | 6 | 1 | 1 | |
| conv2d | 7×7×1280 | 1×1 | 1 | ||
| avgpool | 1×1×1280 | 7×7 | 1 | ||
|
| 2 | ||||
|
| 2 | ||||
|
| 2 |
Fig 5Bottleneck residual block of MobileNetv2 with stride = 1.
Fig 6Bottleneck residual block of MobileNetv2 with stride = 2.
LSTM and BLSTM architecture implemented in Matlab without transfer learning technique.
| LSTM | Output Size | BLSTM | Output Size |
|---|---|---|---|
| SequenceInput | 1 | SequenceInput | 1 |
| Lstm | 50 | Blstm | 50 |
|
| 2 |
| 2 |
|
| 2 |
| 2 |
|
| 2 |
| 2 |
Random forest results (1st experiment).
| Random Forest | ACC | SE | SP | PRE | F1 | AUC |
|---|---|---|---|---|---|---|
| RF–60 | 0.9926 | 0.9315 | 0.9987 | 0.9865 | 0.9582 | 0.9651 |
| RF–100 | 0.9927 | 0.9322 | 0.9987 | 0.9865 | 0.9586 | 0.9654 |
| RF–128 | 0.9925 | 0.9308 | 0.9987 | 0.9858 | 0.9575 | 0.9647 |
Random forest results (2nd experiment).
| Random Forest | ACC | SE | SP | PRE | F1 | AUC |
|---|---|---|---|---|---|---|
| RF–60 | 0.9783 | 0.9783 | 0.9987 | 0.9783 | 0.9783 | 0.9783 |
| RF–100 | 0.9804 | 0.9797 | 0.9811 | 0.9811 | 0.9804 | 0.9804 |
| RF–128 | 0.9804 | 0.9804 | 0.9804 | 0.9804 | 0.9804 | 0.9804 |
LSTM results (1st experiment).
| LSTM | ACC | SE | SP | PRE | F1 | AUC |
|---|---|---|---|---|---|---|
| 500 | 0.9938 | 0.9562 | 0.9973 | 0.9709 | 0.9635 | 0.9767 |
| 800 | 0.9922 | 0.9527 | 0.9960 | 0.9584 | 0.9556 | 0.9744 |
BLSTM results (2nd experiment).
| BLSTM | ACC | SE | SP | PRE | F1 | AUC |
|---|---|---|---|---|---|---|
| 500 | 0.9846 | 0.9839 | 0.9853 | 0.9853 | 0.9846 | 0.9846 |
| 800 | 0.9870 | 0.9900 | 0.9842 | 0.9837 | 0.9868 | 0.9871 |
Final results (1st experiment).
| Models | ACC | SE | SP | PRE | F1 | AUC |
|---|---|---|---|---|---|---|
| MobileNetv2 | 0.9990 | 0.9930 | 0.9996 | 0.9958 | 0.9944 | 0.9963 |
| ResNet-18 | 0.9984 | 0.9902 | 0.9991 | 0.9909 | 0.9905 | 0.9947 |
| ShuffleNet | 0.9967 | 0.9727 | 0.9990 | 0.9893 | 0.9809 | 0.9858 |
| BLSTM | 0.9941 | 0.9592 | 0.9974 | 0.9592 | 0.9653 | 0.9783 |
| LSTM | 0.9938 | 0.9562 | 0.9973 | 0.9709 | 0.9635 | 0.9767 |
| Random Forest | 0.9927 | 0.9322 | 0.9987 | 0.9865 | 0.9586 | 0.9654 |
| Decision Tree | 0.9871 | 0.9234 | 0.9934 | 0.9335 | 0.9284 | 0.9584 |
Final results (2nd experiment).
| Models | ACC | SE | SP | PRE | F1 | AUC |
|---|---|---|---|---|---|---|
| MobileNetv2 | 0.9909 | 0.9895 | 0.9923 | 0.9923 | 0.9909 | 0.9909 |
| LSTM | 0.9884 | 0.9860 | 0.9908 | 0.9909 | 0.9885 | 0.9884 |
| ResNet-18 | 0.9860 | 0.9874 | 0.9846 | 0.9846 | 0.9860 | 0.9860 |
| ShuffleNet | 0.9853 | 0.9832 | 0.9874 | 0.9873 | 0.9852 | 0.9853 |
| BLSTM | 0.9846 | 0.9839 | 0.9853 | 0.9853 | 0.9846 | 0.9846 |
| Random Forest | 0.9804 | 0.9804 | 0.9804 | 0.9804 | 0.9804 | 0.9804 |
| Decision Tree | 0.9642 | 0.9601 | 0.9684 | 0.9682 | 0.9641 | 0.9643 |
Summary of research on the classification of PVC.
| Authors | ACC | SE | SP | PRE | F1 | AUC |
|---|---|---|---|---|---|---|
| Geeta and Naveen [ | - | 0.9800 | - | 0.9607 | - | - |
| Xie | 0.9638 | 0.9788 | 0.9756 | 0.9546 | - | - |
| Kim | 0.9864 | 0.9840 | 0.9870 | - | - | - |
| Zhou | 0.9803 | 0.9642 | 0.9806 | 0.9340 | - | - |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
LSTM results (2nd experiment).
| LSTM | ACC | SE | SP | PRE | F1 | AUC |
|---|---|---|---|---|---|---|
| 500 | 0.9884 | 0.9860 | 0.9908 | 0.9709 | 0.9885 | 0.9884 |
| 800 | 0.9905 | 0.9871 | 0.9938 | 0.9935 | 0.9903 | 0.9905 |
BLSTM results (1st experiment).
| BLSTM | ACC | SE | SP | PRE | F1 | AUC |
|---|---|---|---|---|---|---|
| 500 | 0.9941 | 0.9592 | 0.9974 | 0.9715 | 0.9653 | 0.9783 |
| 800 | 0.9922 | 0.9503 | 0.9961 | 0.9586 | 0.9544 | 0.9732 |