Rank 3
Rank 3
Page 2
Lead set 12-lead 6-lead 4-lead 3-lead 2-lead
Epoch at which
17 23 16 16 15
LR=0.0001
Total number
21 26 22 18 17
of epochs
Table 3. Details containing the number of epochs each
lead set is trained
Page 3
Dx F1 Score Dx F1 Score References
AF 0.59 PAC/SVPB 0.57
AFL 0.83 PR/VPB 0.89 [1] Virani SS, Alonso A, Aparicio HJ, Benjamin EJ, Bitten-
BBB 0.28 PRWP 0.31 court MS, Callaway CW, et al. Heart Disease and Stroke
Brady 0.62 PVC 0.63 Statistics – 2021 Update: a Report from the American Heart
Association. Circulation 2021;143(8):e254–e743.
CLBBB/LBBB 0.75 LPR 0.46
[2] Perez Alday EA, Gu A, Shah A, Robichaux C, Wong AKI,
CRBBB/RBBB 0.85 LQT 0.48
Liu C, et al. Classification of 12-lead ECGs: the Phys-
IAVB 0.68 QAb 0.35 ioNet/Computing in Cardiology Challenge 2020. Physio-
IRBBB 0.51 RAD 0.62 logical Measurement 2020;41.
LAD 0.72 SA 0.68 [3] Reyna MA, Sadr N, Perez Alday EA, Gu A, Shah A, Ro-
LAnFB 0.72 SB 0.96 bichaux C, et al. Will Two Do? Varying Dimensions in
LQRSV 0.50 STach 0.94 Electrocardiography: the PhysioNet/Computing in Cardiol-
NSIVCB 0.38 TAb 0.59 ogy Challenge 2021. Computing in Cardiology 2021;48:1–
NSR 0.91 TInv 0.49 4.
[4] Aurore L, Ana M, Pablo MJ, Pablo L, Blanca R. Compu-
Table 5. F1 scores obtained by the final model for 26 tational Techniques for ECG Analysis and Interpretation in
scored diagnoses on the local validation set Light of their Contribution to Medical Advances, 2018.
[5] Ribeiro AH, Ribeiro MH, Paixão GMM, et al. Automatic
Diagnosis of the 12-lead ECG using a Deep Neural Net-
sult in oversampling one of the abundant classes and vice work, 2020.
versa. Upsampling and downsampling data both as indi- [6] Liu F, Liu C, Zhao L, Zhang X, Wu X, Xu X, et al. An Open
vidual classes and as super sets of all 26 classes to create Access Database for Evaluating the Algorithms of Electro-
balanced datasets did not yield better performance. There- cardiogram Rhythm and Morphology Abnormality Detec-
fore, to address the class imbalance, we used a single opti- tion. Journal of Medical Imaging and Health Informatics
mized threshold on the sigmoid output. 2018;8(7):1368––1373.
Having a shorter input array size reduced the training [7] Bousseljot R, Kreiseler D, Schnabel A. Nutzung der EKG-
Signaldatenbank CARDIODAT der PTB über das Internet.
time of the model significantly while preserving informa-
Biomedizinische Technik 1995;40(S1):317–318.
tive features in the signals. Therefore, we resampled the 20
[8] Wagner P, Strodthoff N, Bousseljot RD, Kreiseler D, Lunze
second long recordings at 100Hz. We did not include any FI, Samek W, et al. PTB-XL, a Large Publicly Available
filtering steps to clean the ECG since it may eliminate dis- Electrocardiography Dataset. Scientific Data 2020;7(1):1–
criminating features between classes. Further investigation 15.
is required on whether filtering improves performance. [9] Tihonenko V, Khaustov A, Ivanov S, Rivin A, Yakushenko
E. St Petersburg INCART 12-lead Arrhythmia Database.
Model variation Score PhysioBank PhysioToolkit and PhysioNet 2008;Doi: 10.1
Final Model 0.745 3026/C2V88N.
Replacing Spatial dropout with Dropout 0.733 [10] Zheng J, Zhang J, Danioko S, Yao H, Guo H, Rakovski C.
Without using the frequency domain 0.734 A 12-lead Electrocardiogram Database for Arrhythmia Re-
search Covering More Than 10,000 Patients. Scientific Data
Without using the time domain 0.679
2020;7(48):1–8.
Table 6. Challenge scores for different variations of our [11] Zheng J, Cui H, Struppa D, Zhang J, Yacoub SM, El-Askary
final model on the local validation set H, et al. Optimal Multi-Stage Arrhythmia Classification
Approach. Scientific Data 2020;10(2898):1–17.
Using the frequency domain as input additional to the [12] Ramachandran P, Zoph B, Le QV. Searching for Activation
time domain input, using spatial dropouts, using a number Functions, 2017.
of convolution layer filters in multiples of the number of [13] Tompson J, Goroshin R, Jain A, LeCun Y, Bregler C. Ef-
ficient Object Localization Using Convolutional Networks,
leads, using large initial kernel sizes, using Swish activa-
2015.
tion instead of Rectified Linear Unit activation, and using
residual networks through skip connections improved the
performance and stability of the network (Table 6). Address for correspondence:
Nima L. Wickramasinghe
Acknowledgments
195/2, Galgediyawa, Gampola, Sri Lanka
[email protected]
The authors would like to thank the Sustainable Educa-
tion Foundation, Sri Lanka for facilitating the collabora-
tion and Richie Wheelock for proofreading.
Page 4