Loading…
Determination of malathion content in sorghum grains using hyperspectral imaging technology combined with stacked machine learning models
The rapid and precise detection of pesticide residues remains a pressing safety issue in the food industry. In this study, a rapid method for analyzing pesticide residues in sorghum was developed, combining hyperspectral imaging (HSI) technology with stacking ensemble learning (SEL) models. The HSI...
Saved in:
Published in: | Journal of food composition and analysis 2024-11, Vol.135, p.106635, Article 106635 |
---|---|
Main Authors: | , , , , , , , , , |
Format: | Article |
Language: | English |
Subjects: | |
Citations: | Items that this one cites |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | The rapid and precise detection of pesticide residues remains a pressing safety issue in the food industry. In this study, a rapid method for analyzing pesticide residues in sorghum was developed, combining hyperspectral imaging (HSI) technology with stacking ensemble learning (SEL) models. The HSI spectral data were preprocessed using the multivariate scatter correction (MSC) algorithm. The gradient boosting decision tree (GBDT), extreme gradient boosting (XGBoost), light gradient boosting machine (LGBM), and categorical boosting (CatBoost) algorithms were employed to identify the feature wavelengths with high contributions to the predictive model, and the performances of SEL, GBDT, XGBoost, LGBM, and CatBoost to accurately predict the pesticide residues in sorghum samples were compared. The SEL model constructed using the characteristic wavelength selected by CatBoost has the best predictive performance, with RMSEP, RP2, and RPD values of 0.6940 mg/kg, 0.9798, and 7.029, respectively. The study demonstrated that the combination of HSI and SEL enabled the accurate analysis of pesticide residues in sorghum, providing a reference for the utilization of HSI methods to accurately measure the concentrations of pesticide residues in sorghum and other food products.
•Utilization of HSI for measuring malathion residue levels in sorghum.•Stacking ensemble learning (SEL) models for predicting malathion content in sorghum.•CatBoost-SEL models showed the best prediction results in modeling. |
---|---|
ISSN: | 0889-1575 |
DOI: | 10.1016/j.jfca.2024.106635 |