{'fraction_non_alphanumeric': 0.010416666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 5.40952380952381, '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 novel dictionary learning algorithm for image representation

Sparse coding has proved its efficiency in the image classification task. However, its major drawback is the discarding of the spatial context information that can be extracted from the image. Therefore, we propose in this work a novel sparse coding method called Laplacian sparse coding based on the integration of topological information in the encoding process. This is achieved by embedding the similarities between local region visual phrases into the objective function of the classical Laplacian sparse coding. Experimental results made on several datasets prove the efficiency of the proposed method.