An ensemble deep learning method for predicting cadmium content in eggs using hyperspectral imaging
Kunshan Yao, Yibo Zhang, Jun Sun, Yexin Xu, Xingrui Jia, Yujie Wei, Bing Zhang, Xiaojiao Du, Yan Li,
An ensemble deep learning method for predicting cadmium content in eggs using hyperspectral imaging,
Measurement,
Volume 256, Part E,
2025,
118524,
ISSN 0263-2241,
https://doi.org/10.1016/j.measurement.2025.118524.
(https://www.sciencedirect.com/science/article/pii/S0263224125018834)
Abstract: The purpose of this research was to investigate the feasibility of applying hyperspectral imaging (HSI) technique for the determination of heavy metal cadmium (Cd) in eggs. An ensemble deep learning algorithm fusing deep learning and ensemble learning was proposed to achieve end-to-end prediction. Firstly, discrete wavelet transform (DWT) algorithm was used to decompose the raw spectra to obtain scale information. Then, one-dimensional convolutional neural network (1DCNN) sub-models were established based on the wavelet coefficients of each scale. Finally, the sub-model space was optimized using a filtering strategy to construct ensemble deep learning model. The results showed that the ensemble deep learning model had stronger stability and higher prediction accuracy than conventional hyperspectral analysis methods, with R2p of 0.91, RMSEP of 0.0285 mg/kg and RPD of 3.40. The proposed combination of HSI with ensemble deep learning model has great potential for in-situ and non-destructive detection of heavy metals in eggs.
Keywords: Egg; Heavy metal; Hyperspectral imaging; Deep learning; Ensemble learning