{'fraction_non_alphanumeric': 0.007331378299120235, 'fraction_numerical': 0.0, 'mean_word_length': 4.788135593220339, '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}}
Median filter with varying bandwidth adaptive to unknown smoothness of the signal

We describe a novel approach to solve a problem of bandwidth selection for median filtering a signal given with an additive noise. The approach is based on the intersection of confidence intervals ICI rule and gives the algorithm, which is simple to implement and nearly ideal within lnN factor in the point-wise mean squared errors risk for estimating the signal. The ICI rule gives the adaptive varying bandwidths and enables the algorithm to be spatial adaptive in the sense that its quality is close to that which one could achieve if the smoothness of the estimated signal was known in advance.