{'fraction_non_alphanumeric': 0.029637760702524697, 'fraction_numerical': 0.005488474204171241, 'mean_word_length': 5.705882352941177, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
QRS Complexes Classification Using Dictionary Learning and Pietra Index

In this study, an algorithm for arrhythmia classification that conforms to the recommended practice by the Association for the Advancement of Medical Instrumentation (AAMI) is presented. Our approach efficiently exploits the inherent sparse representation of the electrocardiogram (ECG) signals. It involves, first, designing a separate dictionary for each Arrhythmia class. To this end, the alternating direction method of multipliers (ADMM) and the K-SVD, a dictionary learning algorithm based on singular value decomposition (SVD) approach, are applied. Sparse representations, based on new designed dictionaries, of each new test QRS complex are then calculated and assigned to the class associated with the largest Pietra Index (PI) afterwards. Our experiments showed promising results with accuracies ranging between 80 % and 100 %.