I. Introduction
Cardiovascular diseases (CVDs) are the main causes of death around the world, of which 85% happened due to heart attack and affect the gross domestic product of the nation rigorously [1]. The electrocardiogram (ECG) is a noninvasive and cost-effective tool for the early detection of abnormal heart rhythm disorders in the cardiovascular system. A normal ECG wave consists of P-wave, QRS-wave, T-wave, and U-wave components. The U-wave has not been considered generally because its amplitude and heart rate depend on the T-wave amplitude. The P-wave represents atrial depolarization, the QRS complex represents ventricular depolarization, and the T-wave is associated with ventricular repolarization. The presence of arrhythmias in the heart is seen by changes that occur in the characteristics of these waves. An arrhythmia is an irregular occurrence of a heartbeat or pattern of heart rate rhythm. During the presence of abnormalities, the cardiac muscle cannot be able to pump the blood in the body accurately. Hence, insufficient blood flow can damage the heart, brain, and other organs. So, cardiologists examine the ECG recordings carefully to identify arrhythmias. Sometimes signals get unidentified due to small variations in the signal amplitude [2]. To analyze long ECG recordings, manual beat-to-beat exploration is time-consuming and inaccurate. The manual examinations of ECG recording also become error-prone and cumbersome for the cardiologists. Thus, there is an urgent need for automated ECG classification. The early recognition of cardiac arrhythmia is critical for effective investigation and treatment of CVDs.