• Spectroscopy and Spectral Analysis
  • Vol. 30, Issue 4, 929 (2010)
LIN Hao*, ZHAO Jie-wen, CHEN Quan-sheng, CAI Jian-rong, and ZHOU Ping
Author Affiliations
  • [in Chinese]
  • show less
    DOI: Cite this Article
    LIN Hao, ZHAO Jie-wen, CHEN Quan-sheng, CAI Jian-rong, ZHOU Ping. Identification of Egg Freshness Using Near Infrared Spectroscopy and One Class Support Vector Machine Algorithm[J]. Spectroscopy and Spectral Analysis, 2010, 30(4): 929 Copy Citation Text show less

    Abstract

    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 σ of the kernel function in OC-SVM model were optimized in building model. The optimal OC-SVM model was obtained with ν=0.5 and σ2=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, ZHAO Jie-wen, CHEN Quan-sheng, CAI Jian-rong, ZHOU Ping. Identification of Egg Freshness Using Near Infrared Spectroscopy and One Class Support Vector Machine Algorithm[J]. Spectroscopy and Spectral Analysis, 2010, 30(4): 929
    Download Citation