[Identification of egg freshness using near infrared spectroscopy and one class support vector machine algorithm].
Near infrared (NIR) spectroscopy combined with pattern recognition was attempted to discriminate the freshness of eggs. The algorithm of one-class support vector machine (OC-SVM) was employed to solve the classification problem due to imbalanced number of training samples. In this work, 86 samples of eggs (71 samples of fresh eggs and 15 samples of unfresh eggs) were surveyed by Fourier transform NIR spectroscopy. Firstly, original spectra of eggs in the wave-number range of 10 000-4 000 cm(-1) were acquired. And then, principal component analysis (PCA) was employed to extract useful information from original spectral data, and the number of PCs was optimized. Finally, OC-SVM was performed to calibrate discrimination model, and the optimal PCs were used as the input eigenvectors of model. In order to obtain a good performance, the regularization parameter v and parameter sigma of the kernel function in OC-SVM model were optimized in building model. The optimal OC-SVM model was obtained with nu = 0.5 and sigma2 = 20.3. Experimental result shows that OC-SVM got better performance than conventional two-class SVM model under the same condition. The OC-SVM model was achieved with identification rates of 80 for both fresh eggs and unfresh eggs in the independent prediction set. The identification rates of fresh eggs were 100% in two-class SVM model. However, when the two-class SVM model was used to discriminate the unfresh eggs of, the identification rates were 0% in the independent prediction set. Compared with conventional two-class SVM model, the OC-SVM model showed its superior performance in discrimination of minority unfresh eggs samples. This work shows that it is feasible to identify egg freshness using NIR spectroscopy, and OC-SVM is an excellent choice in solving the problem of imbalanced number of samples in training set.
Lin
Hao
H
School of Food and Biological Engineering, Jiangsu University, Zhenjiang 212013, China. linhaolt794@163.com
Zhao
Jie-Wen
JW
Chen
Quan-Sheng
QS
Cai
Jian-Rong
JR
Zhou
Ping
P
D000465:Algorithms; D004531:Eggs / Q000032:analysis*; D025341:Principal Component Analysis; D019265:Spectroscopy, Near-Infrared; D060388:Support Vector Machine