The analysis of ECG signals allows to infer very significative information on a patient’s health. If an ECG signal shows a heartbeat rhythm which is irregular, either faster (>100 beats/min), or slower (<60 beats/min) than what is physiologically classified as normal, this falls into the definition of cardiac arrhythmia
Normal cardiac rhythm can be occasionally interrupted by a beat that occurs before the regular time of the next sinus beat, and this is described as a premature beat or premature contraction. The premature beat can be classified into two types depending on the location of the focus, which is different from the Sinus Node (SN):
• Premature Atrial Contraction (PAC) (also known as atrial premature beat (APB)) if its origin is in the atria or the AV node;
• Premature Ventricular Contraction (PVC) (also known as ventricular premature beat (VPB)) if its origin is in the ventricles;
- Beat windowing: When dealing with a deep learning approach, the feature extraction block is data driven, so performed by the neural network which receives as input the single beats. The beats have been extracted from ECG signals by taking a window which spans from –2s to +2s starting from the R peak of each beat. The 2 leads were fed separately to the network.
- Model: hybrid approach has been developed, which consists in the definition of a deep learning network fed by windowed beats, whose last Dense layer receives as inputs the ECG temporal features manually extracted.
The performance metrics were computed comparing the true known labels with the predictions’ vector obtained as the concatenation of the outputs of the 13 models resulting from the 13 different train-test splits according to k-fold cross validation method.