{'fraction_non_alphanumeric': 0.009345794392523364, 'fraction_numerical': 0.0013351134846461949, 'mean_word_length': 5.147540983606557, '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}}
A genetic algorithm to compress electrocardiograms using parameterized wavelets

A compression method, based on the choice of a wavelet that matches the electrocardiogram signal to be compressed, is proposed in this paper. The coefficients of the scaling filter that minimize the distortion of the compressed signal are used to determine the wavelet. The choice of the scaling filter is done by the parametrization of the scaling coefficients in a way that all the constraints are satisfied for any set of parameters. A genetic algorithm is used to determine the parameters that minimize the distortion of the compressed signal. The performance of the proposed algorithm is analyzed and compared with the compression using the classical wavelet Db3.