Kunshan Yao , Yibo Zhang , Jun Sun , Yexin Xu , Xingrui Jia , Yujie Wei , Bing Zhang , Xiaojiao Du , Yan Li
{"title":"An ensemble deep learning method for predicting cadmium content in eggs using hyperspectral imaging","authors":"Kunshan Yao , Yibo Zhang , Jun Sun , Yexin Xu , Xingrui Jia , Yujie Wei , Bing Zhang , Xiaojiao Du , Yan Li","doi":"10.1016/j.measurement.2025.118524","DOIUrl":null,"url":null,"abstract":"<div><div>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 R<sup>2</sup><sub>p</sub> 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.</div></div>","PeriodicalId":18349,"journal":{"name":"Measurement","volume":"256 ","pages":"Article 118524"},"PeriodicalIF":5.6000,"publicationDate":"2025-07-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Measurement","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0263224125018834","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
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.
期刊介绍:
Contributions are invited on novel achievements in all fields of measurement and instrumentation science and technology. Authors are encouraged to submit novel material, whose ultimate goal is an advancement in the state of the art of: measurement and metrology fundamentals, sensors, measurement instruments, measurement and estimation techniques, measurement data processing and fusion algorithms, evaluation procedures and methodologies for plants and industrial processes, performance analysis of systems, processes and algorithms, mathematical models for measurement-oriented purposes, distributed measurement systems in a connected world.