Determination of Fat in Walnut Beverage Based on Least Squares Support Vector Machine
LI Zi-wen1, LI Zong-peng1, MAI Shu-kui1, SHENG Xiao-hui1, YIN Jian-jun1, LIU Guo-rong2, WANG Cheng-tao2,ZHANG Hai-hong3, XIN Li-bin4, WANG Jian1*
1. China National Research Institute of Food and Fermentation Industries Corporation, Beijing 100015, China
2. Beijing Engineering and Technology Research Center of Food Additives, Beijing Technology and Business University, Beijing 100048, China
3. College of Agriculture, Ningxia University, Yinchuan 750021, China
4. Shanghai Precise Packaging Corporation, Shanghai 201514, China
Abstract:Near-infrared spectroscopy was used to quantitatively analyze the fat content of walnut beverage. At the same time, modeling variables were optimized and modeling methods were compared to optimize the best model. In order to eliminate the influence of scattering on the spectrum, the data are preprocessed by the standard normal transformation (SNV) method. The preferred characteristic wavelengths of genetic algorithms (GA) combined with backward interval partial least squares (BiPLS) were used as input variables of partial least squares (PLS) and least squares support vector machine (LS-SVM) respectively to establish model of fat content in walnut beverage. The R2, RMSEP and RPD were used to evaluate the effect of spectral band selection method on the construction of fat index model in walnut beverage and determine the best modeling method. The results showed that the variable selection could optimize the model. 150 and 30 variable points corresponding to the characteristic absorption peaks of the fat components in walnut beverage samples were selected by BiPLS and GA-BiPLS methods, respectively, accounting for 10% and 2% of the full spectrum. The RMSEP value of the PLS model decreased from 0.049 to 0.043 and 0.040, respectively, and the R2 increased from 0.964 to 0.973 and 0.974. The range error ratio RPD increased from 4.88 to 5.62 and 6.00, and the principal component number also decreased to varying degrees. The method of variable selection could reduce model dimensions and improve model accuracy. Compared with the PLS model, the R2, RMSEP and RPD values of the LS-SVM model showed better results, reaching 0.986, 0.036 and 6.52, respectively. The LS-SVM model has higher accuracy and stability than the PLS model. Since PLS is a classic linear modeling method, the nonlinear factors in the sample data set are ignored in the process of building the model. However, there was a complex nonlinear relationship between fat content and near-infrared spectral information, which is due to the interference of noise, background and other factors in the spectral measurement process of walnut beverage samples and the interaction between various indicators. The LS-SVM method could enhance the correlation between spectral variables and index concentration, so that the established model has better accuracy and universality. It shows that in the actual production, the LS-SVM method has excellent feasibility, which reflects its great potential in the analysis of the quality of walnut beverage. Based on the LS-SVM method, the quantitative analysis model of walnut fat content has accurate and stable characteristics, which can provide technical reference for the quality monitoring of walnut beverage production, and provide a new idea for the analysis of beverage quality.
Key words:Walnut beverage; Near-infrared spectroscopy; Least squares support vector machines(LS-SVM); Band selection
李子文,李宗朋,买书魁,盛晓慧,尹建军,刘国荣,王成涛,张海红,辛立斌,王 健. 最小二乘支持向量机的核桃露饮品中脂肪成分的定量分析[J]. 光谱学与光谱分析, 2019, 39(12): 3916-3920.
LI Zi-wen, LI Zong-peng, MAI Shu-kui, SHENG Xiao-hui, YIN Jian-jun, LIU Guo-rong, WANG Cheng-tao,ZHANG Hai-hong, XIN Li-bin, WANG Jian. Determination of Fat in Walnut Beverage Based on Least Squares Support Vector Machine. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2019, 39(12): 3916-3920.
[1] WEI Xiao-lu, HUANG Xin, FENG Yue, et al(魏晓璐, 黄 鑫, 冯 悦, 等). Science and Technology of Food Industry(食品工业科技), 2014, 35(13): 288.
[2] WU Xiao-ju, XIE Ya-li(吴晓菊, 谢亚利). Farm Products Processing(农产品加工), 2013,(8): 66.
[3] Li Zongpeng, Wang Jian, Xiong Yating, et al. Vibrational Spectroscopy, 2016, 84: 233.
[4] WANG Hui, LU Jian-liang(王 会, 陆建良). Food Research and Development(食品研究与开发), 2016, 37(24): 132.
[5] GU Ru-xiang, ZHAO Wu-qi, SHI Ke-xin, et al(谷如祥, 赵武奇, 石珂心, 等). Science and Technology of Food Industry(食品工业科技), 2013, 34(20): 75.
[6] TIAN Jing, LI Qiao-ling(田 晶, 李巧玲). Food Science(食品科学), 2018, 39(2): 293.
[7] Zhang L, Li G, Sun M, et al. Infrared Physics & Technology, 2017, 86.
[8] ZOU Xiao-bo, CHEN Zheng-wei, SHI Ji-yong, et al(邹小波,陈正伟,石吉勇,等). China Brewing(中国酿造), 2011, 30(3): 63.
[9] ZHANG Hai-liang, LIU Xue-mei, HE Yong(章海亮, 刘雪梅, 何 勇). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2014,34(5): 1348.
[10] Aouadni I, Rebai A. Annals of Operations Research, 2017, 256(1): 1.
[11] Zhou S, Yin Q, Lu L, et al. Infrared Physics & Technology, 2017, 80.
[12] Rungpichayapichet P, Mahayothee B, Nagle M, et al. Postharvest Biology & Technology, 2015, 111: 31.
[13] Wu Z, Ma Q, Lin Z, et al. Talanta, 2013, 107(2): 248.
[14] CHEN Li-dan, ZHAO Yan-ru(陈立旦,赵艳茹). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2014, 30(8): 168.
[15] Jerry Workman, Jr Lois Weyer. Practical Guide to interpretive Near-Infrared Spectroscopy(近红外光谱解析实用指南). Translated by CHU Xiao-li, XU Yu-peng, TIAN Gao-you(褚小立, 许育鹏, 田高友, 译). Beijing: Chemical Industry Press(北京: 化学工业出版社), 2009. 240.