| Literature DB >> 35656286 |
Shahab Ul Hassan1, Mohd S Mohd Zahid1, Talal Aa Abdullah1, Khaleel Husain2.
Abstract
Cardiac arrhythmia is a leading cause of cardiovascular disease, with a high fatality rate worldwide. The timely diagnosis of cardiac arrhythmias, determined by irregular and fast heart rate, may help lower the risk of strokes. Electrocardiogram signals have been widely used to identify arrhythmias due to their non-invasive approach. However, the manual process is error-prone and time-consuming. A better alternative is to utilize deep learning models for early automatic identification of cardiac arrhythmia, thereby enhancing diagnosis and treatment. In this article, a novel deep learning model, combining convolutional neural network and bi-directional long short-term memory, is proposed for arrhythmia classification. Specifically, the classification comprises five different classes: non-ectopic (N), supraventricular ectopic (S), ventricular ectopic (V), fusion (F), and unknown (Q) beats. The proposed model is trained, validated, and tested using MIT-BIH and St-Petersburg data sets separately. Also, the performance was measured in terms of precision, accuracy, recall, specificity, and f1-score. The results show that the proposed model achieves training, validation, and testing accuracies of 100%, 98%, and 98%, respectively with the MIT-BIH data set. Lower accuracies were shown for the St-Petersburg data set. The performance of the proposed model based on the MIT-BIH data set is also compared with the performance of existing models based on the MIT-BIH data set.Entities:
Keywords: Arrhythmia; accuracy; bi-directional long short-term memory; classification.; convolutional neural network; electrocardiogram; precision
Year: 2022 PMID: 35656286 PMCID: PMC9152186 DOI: 10.1177/20552076221102766
Source DB: PubMed Journal: Digit Health ISSN: 2055-2076
Figure 1.General architecture of Conv1D.
Figure 2.General architecture of bi-directional long short-term memory (Bi-LSTM) network.
Figure 3.Flowchart diagram of the proposed work.
Model summary of the convolutional neural network and bi-directional long short-term memory (CNN-Bi-LSTM) framework for MIT-BIH Arrhythmia data set highlighting the layer types, output shape and number of parameters.
| Layer (type) | Output shape |
|
|---|---|---|
| Conv1D_1 | 182, 32 | 192 |
| Max-pooling1D | 91, 32 32 | 0 |
| Conv1D_2 | 87, 32 | 5152 |
| Max-pooling1D | 43, 32 | 0 |
| Bidirectional_1 | 43, 64 | 16640 |
| Bidirectional_2 | 43, 64 | 24832 |
| Dense_ 1 | 16 | 1040 |
| Dense_ 2 | 5 | 85 |
| Total number of parameters: | 47,941 | |
| Trainable parameters: | 47,941 | |
| Non-trainable parameters: | 0 |
Figure 4.Proposed CNN-Bi-LSTM architecture.
Overall performance parameters of training, validation and testing values of the proposed convolutional neural network and bi-directional long short-term memory (CNN-Bi-LSTM) model using both data sets.
| Performance parameters | MIT-BIH data set | St-Petersburg data set | ||||
|---|---|---|---|---|---|---|
| Train values | Valid values | Test values | Train values | Valid values | Test values | |
| Accuracy | 100% | 98.0% | 98.0% | 98.0% | 95.0% | 95.0% |
| Recall | 100% | 92.20% | 91.0% | 98.2% | 92.4% | 92.2% |
| Precision | 100% | 88.0% | 88.20% | 98.2% | 75.0% | 73.8% |
| Specificity | 99.2% | 92.02% | 90.96% | 97.6% | 92.5% | 92.3% |
| F1-score | 100% | 89.80% | 89.80% | 98.2% | 81.0% | 80.4% |
Figure 5.Validation-based confusion matrix for arrhythmia categorization using the MIT-BIH data set.
Figure 6.Testing-based confusion matrix for arrhythmia categorization using the MIT-BIH data set.
Figure 7.Validation-based confusion matrix for arrhythmia categorization using the St-Petersburg data set.
Figure 8.Testing-based confusion matrix for arrhythmia categorization using the St-Petersburg.
Figure 9.Model accuracy curve.
Figure 10.Model loss curve.
Figure 11.Receiver operating characteristic (ROC) curve of the proposed model.
Summary of the proposed network comparing with state-of-the-art methodologies.
| Work | Architecture | Preprocessing | Classes | Accuracy (%) | Specificity (%) | Recall (%) |
|---|---|---|---|---|---|---|
| Rajendra et al.
| 11 layers CNNs | Yes | 4 | 92.50 | 93.10 | 98.06 |
| Acharya, et al.
| 9 layers CNN | Yes | 5 | 94.03 | 91.54 | 94.03 |
| Shu Lih et al.
| CNN-LSTM | Yes | 5 | 98.10 | 98.70 | 97.50 |
| Li Guo et al.
| CNN | No | 5 | 93.71 | 94.77 | 91.25 |
| Chen Chen
| CNN + LSTM | Yes | 6 | 96.62 | 96.80 | 95.40 |
| Alqudah et al.
| CNN | Yes | 5 | 97.80 | 99.40 | 97.80 |
| W. Jung et al.
| WKNN | Yes | 4 | 96.12 | 99.97 | 96.12 |
| Shraddha et al.
| RNN-LSTM | No | 2 | 88.10 | 92.40 | 83.35 |
| Vandana et al.
| Ensemble SVMs | Yes | 4 | 94.05 | 92.96 | 92.84 |
|
|
|
|
|
|
|
|
SVM: support vector machine; CNN-Bi-LSTM: convolutional neural network and bi-directional long short-term memory; CNN: convolutional neural network; RNN: recurrent neural network.