Visible and near-infrared (Vis∕NIR) reflectance spectroscopy has been investigated for its ability to nondestructively detect acidity in bayberry juice. What we believe to be a new, better mathematic model is put forward, which we have named principal component analysis–stepwise regression analysis–backpropagation neural network (PCA-SRA-BPNN), to build a correlation between the spectral reflectivity data and the acidity of bayberry juice. In this model, the optimum network parameters, such as the number of input nodes, hidden nodes, learning rate, and momentum, are chosen by the value of root-mean-square (rms) error. The results show that its prediction statistical parameters are correlation coefficient (r) of 0.9451 and root-mean-square error of prediction (RMSEP) of 0.1168. Partial least-squares (PLS) regression is also established to compare with this model. Before doing this, the influences of various spectral pretreatments (standard normal variate, multiplicative scatter correction, S. Golay first derivative, and wavelet package transform) are compared. The PLS approach with wavelet package transform preprocessing spectra is found to provide the best results, and its prediction statistical parameters are correlation coefficient (r) of 0.9061 and RMSEP of 0.1564. Hence, these two models are both desirable to analyze the data from Vis∕NIR spectroscopy and to solve the problem of the acidity prediction of bayberry juice. This supplies basal research to ultimately realize the online measurements of the juice's internal quality through this Vis∕NIR spectroscopy technique.
© 2007 Optical Society of America
Original Manuscript: July 28, 2006
Revised Manuscript: December 23, 2006
Manuscript Accepted: June 24, 2007
Published: August 28, 2007
Yongni Shao, Yong He, and Jingyuan Mao, "Quantitative analysis of bayberry juice acidity based on visible and near-infrared spectroscopy," Appl. Opt. 46, 6391-6396 (2007)