%A TIAN Kuang-da;QIU Kai-xian;LI Zu-hong;Lü Ya-qiong;ZHANG Qiu-ju;XIONG Yan-mei;MIN Shun-geng* %T Determination of Calcium and Magnesium in Tobacco by Near-Infrared Spectroscopy and Least Squares-Support Vector Machine %0 Journal Article %D 2014 %J SPECTROSCOPY AND SPECTRAL ANALYSIS %R 10.3964/j.issn.1000-0593(2014)12-3262-05 %P 3262-3266 %V 34 %N 12 %U {https://www.gpxygpfx.com/CN/abstract/article_7395.shtml} %8 2014-12-01 %X The purpose of the present paper is to determine calcium and magnesium in tobacco using NIR combined with least squares-support vector machine (LS-SVM). Five hundred ground and dried tobacco samples from Qujing city, Yunnan province, China, were surveyed by a MATRIX-I spectrometer (Bruker Optics, Bremen, Germany). At the beginning of data processing, outliers of samples were eliminated for stability of the model. The rest 487 samples were divided into several calibration sets and validation sets according to a hybrid modeling strategy. Monte-Carlo cross validation was used to choose the best spectral preprocess method from multiplicative scatter correction (MSC), standard normal variate transformation (SNV), S-G smoothing, 1st derivative, etc., and their combinations. To optimize parameters of LS-SVM model, the multilayer grid search and 10-fold cross validation were applied. The final LS-SVM models with the optimizing parameters were trained by the calibration set and accessed by 287 validation samples picked by Kennard-Stone method. For the quantitative model of calcium in tobacco, Savitzky-Golay FIR smoothing with frame size 21 showed the best performance. The regularization parameter λ of LS-SVM was e16.11, while the bandwidth of the RBF kernel σ2 was e8.42. The determination coefficient for prediction (R2c) was 0.975 5 and the determination coefficient for prediction (R2p) was 0.942 2, better than the performance of PLS model (R2c=0.959 3, R2p=0.934 4). For the quantitative analysis of magnesium, SNV made the regression model more precise than other preprocess. The optimized λ was e15.25 and σ2 was e6.32. R2c and R2p were 0.996 1 and 0.930 1, respectively, better than PLS model (R2c=0.971 6, R2p=0.892 4). After modeling, the whole progress of NIR scan and data analysis for one sample was within tens of seconds. The overall results show that NIR spectroscopy combined with LS-SVM can be efficiently utilized for rapid and accurate analysis of calcium and magnesium in tobacco.