Nondestructive Detection of Eggshell Thickness Using Near-Infrared Spectroscopy Based on GBDT Feature Selection and an Improved CatBoost Algorithm
Ziqing Li, Ying Ji, Changheng Zhao, Dehe Wang, Rongyan Zhou
Hebei Agricultural University
Key points
From the paper's conclusion- To address this, this study proposes a robust prediction approach by integrating Gradient Boosting Decision Tree (GBDT) feature optimization with an improved CatBoost algorithm.
Abstract
Eggshell thickness is a critical indicator for evaluating egg breakage resistance and hatchability, yet traditional measurement methods remain destructive and inefficient. To address this, this study proposes a robust prediction approach by integrating Gradient Boosting Decision Tree (GBDT) feature optimization with an improved CatBoost algorithm. First, a joint strategy of Standard Normal Variate (SNV) and Multiplicative Scatter Correction (MSC) was employed to eliminate spectral scattering noise and enhance organic matrix fingerprint information. Subsequently, GBDT was introduced for nonlinear feature evaluation to adaptively screen the top 50 wavelengths, effectively mitigating the “curse of dimensionality” and multicollinearity in full-spectrum data. A CatBoost regression model was then constructed using an Ordered Boosting mechanism, supported by a dual anti-overfitting strategy that merged 10-fold nested cross-validation with Bootstrap resampling. Experimental results demonstrate that this method significantly outperforms traditional algorithms in both prediction accuracy and generalization. The coefficients of determination (R2) for the calibration and prediction sets reached 0.930 and 0.918, respectively, with a root mean square error of prediction (RMSEP) of 0.008 mm. Residual analysis confirms that prediction errors follow a zero-mean Gaussian distribution, indicating that systematic bias was effectively eliminated. This research provides a reliable theoretical foundation and technical support for the intelligent grading of poultry egg quality.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Nondestructive Testing of Egg Freshness Based on Laser Doppler Vibrometry.Sensors (Basel, Switzerland) · 2026
- Investigation of factors affecting egg breakage resistance in laying hens using data mining and machine learning methods.Frontiers in genetics · 2026
- Smart Egg Processing in the Digital Food Era, Part I: Advanced Sensing and Artificial Intelligence for Non-Destructive Egg Quality and Safety Assessment.Foods (Basel, Switzerland) · 2026
- Comparative analysis of eggs yolks enriched with different pigments based on near-infrared spectroscopy.Spectrochimica acta. Part A, Molecular and biomolecular spectroscopy · 2026
- A robust ensemble chemometric strategy for near-infrared determination of ash content in fishmeal.Spectrochimica acta. Part A, Molecular and biomolecular spectroscopy · 2026
- A hybrid approach for egg sex determination using hyperspectral imaging and machine learning with key spectral feature identificationSmart Agricultural Technology · 2026