摘要
[Objectives]This study was conducted to clarify the difference of millet from different producing areas in near-infrared spectroscopy(NIRS)modeling.[Methods]Millet samples from six different regions were collected for NIRS analysis,and an origin identification model based on BP neural network was established.The competitive adaptive reweighted sampling(CARS)algorithm was used to extract characteristic wavelength variables,and a CARS-BP model was established on this basis.Finally,the CARS-BP model was compared with support vector machine(SVM),partial least squares discriminant analysis(PLS)and KNN models.[Results]The characteristic wavelengths were extracted by CARS,and the number of variables was reduced from 1845 to 130.The discrimination accuracy of the CARS-BP model for the samples from six producing areas reached 98.1%,which was better than SVM,PSL and KNN models.[Conclusions]NIRS can quickly and accurately identify the origin of millet,providing a new method and way for the origin identification and quality evaluation of millet.