Corn silage is the main feed in the diet of dairy cows and other ruminant livestock. Silage corn feed is very susceptible to spoilage and corruption due to the influence of aerobic secondary fermentation during the silage process. At present, silage quality testing of corn feed mainly relies on the combination of sensory evaluation and laboratory measurement. The sensory review method is difficult to achieve precision and objectivity, while the laboratory determination method has problems such as cumbersome testing procedures, time-consuming, high cost, and damage to samples. In this study, the external sensory quality grading model for different qualities of silage corn feed was established using hyperspectral data. To explore the feasibility of using hyperspectral data for external sensory quality grading of corn silage, a hyperspectral system was used to collect spectral data of 200 corn silage samples in the 380–1004 nm band, and the samples were classified into four grades: excellent, fair, medium, and spoiled according to the German Agricultural Association (DLG) standard for sensory evaluation of silage samples. Three algorithms were used to preprocess the fodder hyperspectral data, including multiplicative scatter correction (MSC), standard normal variate (SNV), and S–G convolutional smoothing. To reduce the redundancy of the spectral data, variable combination population analysis (VCPA) and competitive adaptive reweighted sampling (CARS) were used for feature wavelength selection, and linear discriminant analysis (LDA) algorithm was used for data dimensionality reduction, constructing random forest classification (RFC), convolutional neural networks (CNN) and support vector machines (SVM) models. The best classification model was derived based on the comparison of the model results. The results show that SNV-LDA-SVM is the optimal algorithm combination, where the accuracy of the calibration set is 99.375% and the accuracy of the prediction set is 100%. In summary, combined with hyperspectral technology, the constructed model can realize the accurate discrimination of the external sensory quality of silage corn feed, which provides a reliable and effective new non-destructive testing method for silage corn feed quality detection.
Read full abstract