Single-probe near-infrared spectroscopy (NIRS) usually uses different spectral information for modelling, but there are few reports about its influence on model performance. Based on sized-adaptive online NIRS information and the 2D conventional neural network (CNN), minced samples of pure mutton, pork, duck, and adulterated mutton with pork/duck were classified in this study. The influence of spectral information, convolution kernel sizes, and classifiers on model performance was separately explored. The results showed that spectral information had a great influence on model accuracy, of which the maximum difference could reach up to 12.06% for the same validation set. The convolution kernel sizes and classifiers had little effect on model accuracy but had significant influence on classification speed. For all datasets, the accuracy of the CNN model with mean spectral information per direction, extreme learning machine (ELM) classifier, and 7 × 7 convolution kernel was higher than 99.56%. Considering the rapidity and practicality, this study provides a fast and accurate method for online classification of adulterated mutton.
Read full abstract