Abstract
An electrocardiogram (ECG) is a noninvasive study used for the diagnosis of cardiac arrhythmias (CAs). The identification of a cardiac arrhythmia depends on its classification. This classification has been approached through different strategies, both mathematical and computational. In this work, a new computational model based on the particle swarm optimization (PSO) algorithm and convolutional neural network (CNN) is proposed for the classification of five classes of CAs obtained from the MIT-BIH Arrhythmia Dataset (MITDB). The goal of the PSO is to optimize the hyperparameters that define the layered architecture of a CNN, to increase the accuracy and decrease the categorical cross-entropy (CE) error. The proposed model found a satisfactory layered architecture in 17.68 hours, obtaining an Accuracy of 98% and 97%, a CE of 0.044968 and 0.084768, in training and testing, respectively. These results demonstrate that the proposed model is reliable and also represents an innovative approach because it allows dispensing with the manual selection of the hyperparameters of the layered architecture of a CNN.
Funding Information
  • National Council of Science and Technology (CONACyT), Mexico (CB-2017-2018-A1-S-43008, FOP16-2021-01-320109)
  • CONACYT, México (756277)

This publication has 63 references indexed in Scilit: