The invention relates to a near-
infrared spectrum rapid evaluation method for rice
taste quality, wherein the method is one for food detection by using a near-
infrared spectrum. The method comprises the following steps:
processing a collected sample; with a near-
infrared diffuse reflection spectrum as an original spectrum, preprocessing the spectrum, preliminarily optimizing the characteristic
wavelength of the near-infrared spectrum based on a competitive adaptive reweighted sampling
algorithm, and performing synchronous optimization on parameters of a
support vector machine and the characteristic
wavelength of the near-infrared spectrum based on a
quantum genetic
simulated annealing algorithm to obtain an optimal characteristic
wavelength; establishing a regression model by utilizing theoptimal characteristic wavelength, evaluating the precision of the regression model, and rapidly establishing an evaluation model; performing spectral scanning on polished rice needing to be measured, and inputting
spectral data into the evaluation model according to the characteristic wavelength to finish quality evaluation. According to the method, the
quantum genetic
simulated annealing algorithm is applied to synchronously optimize the parameters of the
support vector machine and the characteristic wavelength of the near-infrared spectrum, so that the detection precision and efficiency ofthe rice
taste quality by the
support vector machine regression model are effectively improved.