Development and Interpretability Analysis of Near-Infrared Spectroscopy Models for Fat and Protein Prediction in
Abstract:
Foxtail millet is a nutritionally important cereal whose fat and protein content directly influence its nutritional quality and processing properties. To overcome the limitations of traditional detection methods, developing rapid, non-destructive, and interpretable models is essential. A total of 214 samples of the foxtail millet cultivar "Changnong No. 47" were used in this study. The Sparrow Search Algorithm was introduced to screen stable key wavelengths by statistically analyzing their selection frequency. Based on the selected wavelengths, quantitative models were constructed using Partial Least Squares Regression (PLS), Random Forest (RF), and Support Vector Machine. The SHapley Additive exPlanations method was employed to quantify the direction and magnitude of contributions of the key wavelengths within the model. Results show the selection of 13 key wavelengths for fat and 15 for protein. The RF model delivered the best prediction for fat content (RP2 = 0.797, RMSEP = 0.218%, RPDP = 2.219), while the PLS model performed best for protein content (RP2 = 0.695, RMSEP = 0.268%, RPDP = 1.811). The methodology established in this study can not only be applied to the rapid quality assessment of millet but also be extended to analyze the nutritional components of other grains.
More Related Videos
Related Concept Videos
IR Frequency Region: Fingerprint Region
Light Acquisition


