Figure 1.
Image showing a raw plotted signal with no filter applied (a) and the same signal plotted with a Butterworth bandpass filter to suppress signal noise (b).
Figure 1.
Image showing a raw plotted signal with no filter applied (a) and the same signal plotted with a Butterworth bandpass filter to suppress signal noise (b).
Figure 2.
A standard ECG in grayscale, displayed across a grid background at 1536 × 1536 resolution. This image was part of the dataset used to train the models in the study and serves as an example of the images used during training.
Figure 2.
A standard ECG in grayscale, displayed across a grid background at 1536 × 1536 resolution. This image was part of the dataset used to train the models in the study and serves as an example of the images used during training.
Figure 3.
Image showing the effects of the four different window sizes (W) employed to smooth the lead signals. The signals were processed using the Simple Moving Average (SMA) algorithm.
Figure 3.
Image showing the effects of the four different window sizes (W) employed to smooth the lead signals. The signals were processed using the Simple Moving Average (SMA) algorithm.
Figure 4.
Graph showing the validation accuracies per epoch of models c04-s140-w00, c04-s140-w10, c04-s140-w20 and c04-s140-w30.
Figure 4.
Graph showing the validation accuracies per epoch of models c04-s140-w00, c04-s140-w10, c04-s140-w20 and c04-s140-w30.
Figure 5.
Graph showing the validation loss per epoch of models c04-s140-w10, c04-s70-w10, c04-s35-w10 and c04-s18-w10.
Figure 5.
Graph showing the validation loss per epoch of models c04-s140-w10, c04-s70-w10, c04-s35-w10 and c04-s18-w10.
Table 1.
Table showing a breakdown of all the datasets used for training models.
Table 1.
Table showing a breakdown of all the datasets used for training models.
| Dataset | Window Size | No. of Classes | Training Data |
|---|
| c04-s140-w00 | 0 | 4 | 25,000 |
| c04-s140-w10 | 10 | 4 | 25,000 |
| c04-s140-w20 | 20 | 4 | 25,000 |
| c04-s140-w30 | 30 | 4 | 25,000 |
| c04-s70-w10 | 10 | 4 | 12,500 |
| c04-s35-w10 | 10 | 4 | 6250 |
| c04-s18-w10 | 10 | 4 | 3125 |
| c10-s84-w10 | 10 | 10 | 6000 |
| c04-s34-w10 | 10 | 4 | 6000 |
Table 2.
Table showing the validation accuracy, precision, recall and F1 score of the best performing epoch, based on validation accuracy and loss, for models c04-s140-w00, c04-s140-w10, c04-s140-w20, c04-s140-w30 and a ResNet-50 baseline trained on the c04-s140-w10 dataset.
Table 2.
Table showing the validation accuracy, precision, recall and F1 score of the best performing epoch, based on validation accuracy and loss, for models c04-s140-w00, c04-s140-w10, c04-s140-w20, c04-s140-w30 and a ResNet-50 baseline trained on the c04-s140-w10 dataset.
| Model | Epoch | Val Acc | Precision | Recall | F1 |
|---|
| c04-s140-w00 | 99 | 96.93 | 0.972 | 0.972 | 0.972 |
| c04-s140-w10 | 87 | 96.64 | 0.967 | 0.967 | 0.967 |
| c04-s140-w20 | 97 | 96.31 | 0.964 | 0.964 | 0.964 |
| c04-s140-w30 | 98 | 95.63 | 0.958 | 0.958 | 0.958 |
| ResNet-50 | 18 | 97.10 | 0.971 | 0.971 | 0.9709 |
Table 3.
Table showing the validation accuracy, validation loss, test accuracy and test loss of the best performing epoch, based on validation accuracy and loss, for models c04-s140-w00, c04-s140-w10, c04-s140-w20, c04-s140-w30 and a ResNet-50 baseline trained on the c04-s140-w10 dataset.
Table 3.
Table showing the validation accuracy, validation loss, test accuracy and test loss of the best performing epoch, based on validation accuracy and loss, for models c04-s140-w00, c04-s140-w10, c04-s140-w20, c04-s140-w30 and a ResNet-50 baseline trained on the c04-s140-w10 dataset.
| Model | Epoch | Val Acc | Val Loss | Test Acc | Test Loss |
|---|
| c04-s140-w00 | 99 | 96.93 | 0.2178 | 97.79 | 0.1947 |
| c04-s140-w10 | 87 | 96.64 | 0.2241 | 97.5 | 0.1994 |
| c04-s140-w20 | 97 | 96.31 | 0.237 | 97.26 | 0.2160 |
| c04-s140-w30 | 98 | 95.63 | 0.2449 | 96.77 | 0.2173 |
| ResNet-50 | 18 | 97.10 | 0.971 | 97.82 | 0.0750 |
Table 4.
Table showing the accuracy, precision, recall and F1 score of the best performing epoch, based on accuracy, before or at epoch 100, for models c04-s140-w10, c04-s70-w10, c04-s35-w10 and c04-s18-w10.
Table 4.
Table showing the accuracy, precision, recall and F1 score of the best performing epoch, based on accuracy, before or at epoch 100, for models c04-s140-w10, c04-s70-w10, c04-s35-w10 and c04-s18-w10.
| Model | Epoch | Val Acc | Precision | Recall | F1 |
|---|
| c04-s140-w10 | 87 | 96.64 | 0.967 | 0.967 | 0.967 |
| c04-s70-w10 | 99 | 90.93 | 0.911 | 0.910 | 0.909 |
| c04-s35-w10 | 98 | 76.72 | 0.766 | 0.768 | 0.759 |
| c04-s18-w10 | 93 | 64.08 | 0.604 | 0.636 | 0.598 |
Table 5.
Table showing the validation accuracy, precision, recall and F1 score of the best performing epoch, based on accuracy, for models c04-s140-w10, c04-s70-w10, c04-s35-w10 and c04-s18-w10.
Table 5.
Table showing the validation accuracy, precision, recall and F1 score of the best performing epoch, based on accuracy, for models c04-s140-w10, c04-s70-w10, c04-s35-w10 and c04-s18-w10.
| Model | Epoch | Val Acc | Precision | Recall | F1 |
|---|
| c04-s140-w10 | 87 | 96.64 | 0.967 | 0.967 | 0.967 |
| c04-s70-w10 | 146 | 94.26 | 0.946 | 0.946 | 0.946 |
| c04-s35-w10 | 195 | 88.42 | 0.887 | 0.887 | 0.887 |
| c04-s18-w10 | 247 | 81.88 | 0.823 | 0.823 | 0.823 |
Table 6.
Table showing the loss difference at the best performing epoch, based on validation accuracy and loss, for models c04-s140-w10, c04-s70-w10, c04-s35-w10 and c04-s18-w10.
Table 6.
Table showing the loss difference at the best performing epoch, based on validation accuracy and loss, for models c04-s140-w10, c04-s70-w10, c04-s35-w10 and c04-s18-w10.
| Dataset | Epoch | Val Loss | Train Loss | Difference |
|---|
| c04-s140-w10 | 87 | 0.2141 | 0.0483 | 0.1758 |
| c04-s70-w10 | 146 | 0.2885 | 0.0517 | 0.2368 |
| c04-s35-w10 | 195 | 0.4549 | 0.0582 | 0.3967 |
| c04-s18-w10 | 247 | 0.6020 | 0.0606 | 0.5414 |
Table 7.
Table showing the validation accuracy, validation loss, test accuracy and test loss of the best performing epoch, based on validation accuracy and loss, for models c04-s140-w10, c04-s70-w10, c04-s35-w10 and c04-s18-w10.
Table 7.
Table showing the validation accuracy, validation loss, test accuracy and test loss of the best performing epoch, based on validation accuracy and loss, for models c04-s140-w10, c04-s70-w10, c04-s35-w10 and c04-s18-w10.
| Model | Epoch | Val Acc | Val Loss | Test Acc | Test Loss |
|---|
| c04-s140-w10 | 87 | 96.64 | 0.2241 | 97.50 | 0.1994 |
| c04-s70-w10 | 146 | 94.26 | 0.2885 | 95.56 | 0.2603 |
| c04-s35-w10 | 195 | 88.42 | 0.4549 | 89.26 | 0.4511 |
| c04-s18-w10 | 247 | 81.88 | 0.6020 | 82.44 | 0.6046 |
Table 8.
Table showing the accuracy, precision, recall and F1 score of the best performing epoch, based on validation accuracy, for models c04-s140-w10, c10-s84-w10, c04-s34-w10 and a ResNet-50 baseline trained on the c10-s84-w10 dataset.
Table 8.
Table showing the accuracy, precision, recall and F1 score of the best performing epoch, based on validation accuracy, for models c04-s140-w10, c10-s84-w10, c04-s34-w10 and a ResNet-50 baseline trained on the c10-s84-w10 dataset.
| Model | Epoch | Val Acc | Precision | Recall | F1 |
|---|
| c04-s140-w10 | 87 | 96.64 | 0.967 | 0.967 | 0.967 |
| c10-s84-w10 | 98 | 83.28 | 0.834 | 0.834 | 0.833 |
| c04-s34-w10 | 99 | 80.98 | 0.809 | 0.807 | 0.800 |
| ResNet-50 | 18 | 88.78 | 0.888 | 0.888 | 0.888 |
Table 9.
Table showing the validation accuracy, validation loss, test accuracy and test loss of the best performing epoch, based on validation accuracy and loss, for models c04-s140-w10, c10-s84-w10, c04-s34-w10 and a ResNet-50 baseline trained on the c10-s84-w10 dataset.
Table 9.
Table showing the validation accuracy, validation loss, test accuracy and test loss of the best performing epoch, based on validation accuracy and loss, for models c04-s140-w10, c10-s84-w10, c04-s34-w10 and a ResNet-50 baseline trained on the c10-s84-w10 dataset.
| Model | Epoch | Val Acc | Val Loss | Test Acc | Test Loss |
|---|
| c04-s140-w10 | 87 | 96.64 | 0.2241 | 97.50 | 0.1994 |
| c10-s84-w10 | 98 | 83.28 | 0.6204 | 85.88 | 0.5312 |
| c04-s34-w10 | 99 | 80.98 | 0.6337 | 79.96 | 0.6574 |
| ResNet-50 | 18 | 88.78 | 0.3569 | 89.02 | 0.3767 |
Table 10.
Table showing the per class accuracy breakdown for the best performing epoch, based on validation accuracy and loss, of model c10-s84-w10.
Table 10.
Table showing the per class accuracy breakdown for the best performing epoch, based on validation accuracy and loss, of model c10-s84-w10.
| Class | Rhythm | Accuracy |
|---|
| 0 | Atrial Fibrillation | 85.5 |
| 1 | Atrial Fibrillation with Rapid Ventricular Response | 63.0 |
| 2 | Sinus Arrhythmia | 76.0 |
| 3 | Sinus Bradycardia | 96.5 |
| 4 | Sinus Rhythm | 68.5 |
| 5 | Sinus Rhythm with 1st Degree A-V Block | 82.7 |
| 6 | Sinus Rhythm with borderline 1st Degree A-V Block | 70.3 |
| 7 | Sinus Rhythm with PAC(s) | 80.3 |
| 8 | Sinus Tachycardia | 97.5 |
| 9 | Ventricular Pacing | 94.8 |