{'fraction_non_alphanumeric': 0.026182432432432432, 'fraction_numerical': 0.0, 'mean_word_length': 5.970588235294118, '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}}
Sparse Representation-Based Nearest Neighbor Classifiers for Hyperspectral Imagery

In this letter, a sparse representation-based nearest neighbor (SRNN) classifier is proposed. Unlike the traditional k-nearest neighbor (NN) classifier that employs the Euclidean distance as similarity metric, the proposed SRNN considers sparse coefficients to determine the label of testing samples, since sparse coefficients can reflect the similarity between data and provide more discriminative information. A local SRNN (LSRNN) classifier is also proposed to utilize class-specific sparse coefficients to improve the performance. Furthermore, due to the fact that neighboring pixels tend to belong to the same class with high probability, a spatially joint version of LSRNN, called JSRNN, is developed to further improve LSRNN. The proposed SRNN, LSRNN, and JSRNN have been validated on several hyperspectral remote sensing image data sets. Experimental results demonstrate that the proposed classifiers increase the classification accuracy compared with the traditional k-NN, local mean-based NN (LMNN) classifiers, and original sparse representation classifiers using representation residuals.