{'fraction_non_alphanumeric': 0.012360939431396786, 'fraction_numerical': 0.0, 'mean_word_length': 5.377952755905512, '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}}
Image retrieval and pattern recognition

In this work, we study the relationship between content- based image retrieval and pattern recognition, by modeling the image retrieval process in a probabilistic method. A model called random image database will be presented, together with a retrieval quality measure called probability of self similar, which enables us to establish the link between image retrieval and pattern recognition. The main result is that such a quality measure is uniformly upperbounded by its pattern recognition counterpart using nearest neighbor rule, when only one training sample is available for each class. Therefore a feature measure having better performance in the one training sample per class case should be favored over features doing well in large training sample situations.