Pattern recognition in near-infrared spectrum by improved KNN algorithm

ZHANG Lei,DING Xiang-qian,ZHAO Xue-cen
DOI: https://doi.org/10.16652/j.issn.1004-373x.2012.20.042
2012-01-01
Abstract:For the number of variables is much larger than that of samples and the strong correlation characteristics between spectral points,the spectral information was compressed and independent characteristic variables were extracted by principal component analysis.The Mahalanobis distance from each sample to different centers was calculated in the best number of principal components.The overall prediction correctness was counted.The improved KNN algorithmis used to forecast four brands of cigarette category of near-infrared spectral data.A more accurate prediction result was obtained,and at the same time,the efficiency was significantly improved.
What problem does this paper attempt to address?