to achieve accuracies of at least 99%.
However, when the training set comprises 5 im-
ages per class or fewer, simple transfer learning fails
to classify ECG images with high accuracy. In this
direction, other algorithms that work well in low-
shot and class imbalance scenarios, can be explored.
Other few-shot learning methods can be compared
with transfer learning and observed to see how well
they perform with the amount of labelled data avail-
able. It is also worth experimenting with data from
different ethnicities and regions as the current work
deals with data taken from one region only.
REFERENCES
Addison, P. S. (2005). Wavelet transforms and the ecg: a
review. Physiological measurement, 26(5):R155.
Asl, B. M., Setarehdan, S. K., and Mohebbi, M. (2008).
Support vector machine-based arrhythmia classifica-
tion using reduced features of heart rate variability sig-
nal. Artificial intelligence in medicine, 44(1):51–64.
Behadada, O., Trovati, M., Chikh, M. A., Bessis, N., and
Korkontzelos, Y. (2016). Logistic regression multino-
mial for arrhythmia detection. In 2016 IEEE 1st Inter-
national Workshops on Foundations and Applications
of Self* Systems (FAS* W), pages 133–137. IEEE.
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-
Fei, L. (2009). Imagenet: A large-scale hierarchical
image database. In 2009 IEEE conference on com-
puter vision and pattern recognition, pages 248–255.
Ieee.
Gao, J., Zhang, H., Lu, P., and Wang, Z. (2019). An ef-
fective lstm recurrent network to detect arrhythmia on
imbalanced ecg dataset. Journal of healthcare engi-
neering, 2019.
Gourisaria, M. K., Harshvardhan, G., Agrawal, R., Patra,
S. S., Rautaray, S. S., and Pandey, M. (2021). Arrhyth-
mia detection using deep belief network extracted
features from ecg signals. International Journal of
E-Health and Medical Communications (IJEHMC),
12(6):1–24.
Gupta, P., Bhaskarpandit, S., and Gupta, M. (2021). Sim-
ilarity learning based few shot learning for ecg time
series classification. In 2021 Digital Image Comput-
ing: Techniques and Applications (DICTA), pages 1–
8. IEEE.
He, K., Zhang, X., Ren, S., and Sun, J. (2015). Deep resid-
ual learning for image recognition. arxiv 2015. arXiv
preprint arXiv:1512.03385.
Huang, G., Liu, Z., Van Der Maaten, L., and Weinberger,
K. Q. (2017). Densely connected convolutional net-
works. In Proceedings of the IEEE conference on
computer vision and pattern recognition, pages 4700–
4708.
Izci, E., Ozdemir, M. A., Sadighzadeh, R., and Akan, A.
(2018). Arrhythmia detection on ecg signals by us-
ing empirical mode decomposition. In 2018 Medical
Technologies National Congress (TIPTEKNO), pages
1–4. IEEE.
Ji, Y., Zhang, S., and Xiao, W. (2019). Electrocardiogram
classification based on faster regions with convolu-
tional neural network. Sensors, 19(11):2558.
Jun, T. J., Nguyen, H. M., Kang, D., Kim, D., Kim, D., and
Kim, Y.-H. (2018). Ecg arrhythmia classification us-
ing a 2-d convolutional neural network. arXiv preprint
arXiv:1804.06812.
Khan, A. H., Hussain, M., and Malik, M. K. (2021). Ecg
images dataset of cardiac and covid-19 patients. Data
in Brief, 34:106762.
Khazaee, A. (2013). Heart beat classification using particle
swarm optimization. International Journal of Intelli-
gent Systems and Applications, 5(6):25.
Kingma, D. P. and Ba, J. (2014). Adam: A
method for stochastic optimization. arXiv preprint
arXiv:1412.6980.
Li, P., Wang, Y., He, J., Wang, L., Tian, Y., Zhou, T.-s., Li,
T., and Li, J.-s. (2016). High-performance personal-
ized heartbeat classification model for long-term ecg
signal. IEEE Transactions on Biomedical Engineer-
ing, 64(1):78–86.
Mohamed, B., Issam, A., Mohamed, A., and Abdellatif, B.
(2015). Ecg image classification in real time based on
the haar-like features and artificial neural networks.
Procedia Computer Science, 73:32–39.
Moody, G. B. and Mark, R. G. (1992). Mit-bih arrhythmia
database.
Salem, M., Taheri, S., and Yuan, J.-S. (2018). Ecg ar-
rhythmia classification using transfer learning from 2-
dimensional deep cnn features. In 2018 IEEE biomed-
ical circuits and systems conference (BioCAS), pages
1–4. IEEE.
Savalia, S. and Emamian, V. (2018). Cardiac arrhythmia
classification by multi-layer perceptron and convolu-
tion neural networks. Bioengineering, 5(2):35.
Shoughi, A. and Dowlatshahi, M. B. (2021). A practi-
cal system based on cnn-blstm network for accurate
classification of ecg heartbeats of mit-bih imbalanced
dataset. In 2021 26th International Computer Confer-
ence, Computer Society of Iran (CSICC), pages 1–6.
IEEE.
Simonyan, K. and Zisserman, A. (2014). Very deep con-
volutional networks for large-scale image recognition.
arXiv preprint arXiv:1409.1556.
Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and
Wojna, Z. (2015). Rethinking the inception archi-
tecture for computer vision. 2015. arXiv preprint
arXiv:1512.00567.
Tan, M. and Le, Q. (2019). Efficientnet: Rethinking model
scaling for convolutional neural networks. In Interna-
tional conference on machine learning, pages 6105–
6114. PMLR.
Tsipouras, M. G., Fotiadis, D. I., and Sideris, D. (2005).
An arrhythmia classification system based on the rr-
interval signal. Artificial intelligence in medicine,
33(3):237–250.
Venton, J., Aston, P. J., Smith, N. A., and Harris, P. M.
(2020). Signal to image to classification: Transfer
How Much Data is Enough? Benchmarking Transfer Learning for Few Shot ECG Image Classification
39