摘要
The detection model of sucrose content in tea was established by using near-infrared spectroscopy technology and a back propagation neural network algorithm. The quality of model prediction is improved by introducing a genetic algorithm. The prediction model was established by using Fourier transform diffuse reflectance spectroscopy data of 120 tea samples mixed with sucrose. The prediction results of another 42 samples show that the correlation coefficient based on the traditional back-propagation neural network algorithm model is 0.738 0, the root mean square error of prediction is 3.075 4, and the prediction accuracy is 83.3%. The correlation coefficient increases to 0.941 9 after the introduction of the genetic algorithm. The root mean square error of prediction is 1.317 6, and the prediction accuracy is 88.1%, thus the training error is reduced by more than one order of magnitude. The experimental results show that the back-propagation neural network model can be used to detect the sucrose content in tea. Simultaneously, the introduction of the genetic algorithm can optimize the initial weights and thresholds of the neural network, so as to diminish the prediction error.
- 单位