Current Research in Food Science (Jan 2024)

High-accuracy classification and origin traceability of peanut kernels based on near-infrared (NIR) spectroscopy using Adaboost - Maximum uncertainty linear discriminant analysis

  • Rui Zhu,
  • Xiaohong Wu,
  • Bin Wu,
  • Jiaxing Gao

Journal volume & issue
Vol. 8
p. 100766

Abstract

Read online

Peanut kernels, known for their high nutritional value and palatability, are classified as nut food. In this study, peanut kernel samples from six distinct cities in Shandong Province, China, were examined to categorize and trace their origins. Near-infrared (NIR) spectra of samples were captured using a portable NIR-M-R2 spectrometer. After the application of Savitzky-Golay (SG) filtering, the classification was attempted using principal component analysis (PCA) plus linear discrimination analysis (LDA). Additionally, maximum uncertainty linear discriminant analysis (MLDA) was applied for comparison. A specific number of eigenvectors could respectively maximize the classification accuracies, 81.48% for PCA + LDA and 76.54% for MLDA. In order to further improve the classification accuracies, Adaboost-MLDA was proposed to develop a stronger classifier. This method, after 18 iterations, achieved remarkable effects, achieving a high accuracy of 95.06%. In a similar vein, the enhancement with preprocessing techniques multiplicative scatter correction (MSC) + SG and standard normal variate (SNV) + SG raised accuracies to 98.77% and 97.53%, respectively. The results of classifying first-order and second-order derivative spectra using Adaboost-MLDA were also described, achieving accuracies near 100%. The experiment demonstrates that integrating Adaboost with NIR spectroscopy offers a highly accurate method for peanut kernel classification, promising for practical applications in food quality control.

Keywords