Spectra Classification Based on Local Mean-Based K-Nearest Centroid Neighbor Method