1
|
Sheng W, Jiang H, Yang Z, Zhao L, Jin J. A safety risk assessment method based on conditionally constrained game theory and adaptive ensemble learning: Application to wheat flour and rice. Food Res Int 2025; 203:115835. [PMID: 40022359 DOI: 10.1016/j.foodres.2025.115835] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 07/11/2024] [Revised: 01/09/2025] [Accepted: 01/23/2025] [Indexed: 03/03/2025]
Abstract
Food safety risk control and comprehensive assessment are crucial measures to ensure food safety. However, existing food safety risk assessment methods face challenges, such as unreasonable weight distribution of hazard factors and poor adaptability. Therefore, a safety risk assessment model based on conditionally constrained game theory and adaptive ensemble learning is proposed in this paper. Firstly, new constraints are established on the traditional game theory combination weighting method and solved using the augmented Lagrange multiplier method to obtain the optimal linear combination coefficients and actual composite risk values of the samples, which are taken together with the hazard factor detection data as inputs to the adaptive ensemble learning model. Then, an adaptive ensemble learning model is constructed, which prefers the base learner based on the combined measure of stability and accuracy, and predicts the composite risk value by using robust weighted random forest as the meta-learner. Finally, the model's validity was verified using wheat flour and rice hazard factor detection data. The experimental results indicate that the model's fit on the two datasets is 0.996 and 0.991, respectively, demonstrating strong generalization ability and high prediction accuracy. Meanwhile, unqualified products in wheat flour and rice can be effectively identified through risk thresholds, which helps to provide early warning of potential safety risks.
Collapse
Affiliation(s)
- Wanbao Sheng
- College of Information Science and Engineering, Henan University of Technology, Zhengzhou 450001 China
| | - Huawei Jiang
- College of Information Science and Engineering, Henan University of Technology, Zhengzhou 450001 China.
| | - Zhen Yang
- College of Information Science and Engineering, Henan University of Technology, Zhengzhou 450001 China
| | - Like Zhao
- College of Information Science and Engineering, Henan University of Technology, Zhengzhou 450001 China
| | - Junwei Jin
- College of Artificial Intelligence and Big Data, Henan University of Technology, Zhengzhou 450001 China
| |
Collapse
|
2
|
Kang Z, Fan R, Zhan C, Wu Y, Lin Y, Li K, Qing R, Xu L. The Rapid Non-Destructive Differentiation of Different Varieties of Rice by Fluorescence Hyperspectral Technology Combined with Machine Learning. Molecules 2024; 29:682. [PMID: 38338424 PMCID: PMC10856461 DOI: 10.3390/molecules29030682] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/29/2023] [Revised: 01/27/2024] [Accepted: 01/30/2024] [Indexed: 02/12/2024] Open
Abstract
A rice classification method for the fast and non-destructive differentiation of different varieties is significant in research at present. In this study, fluorescence hyperspectral technology combined with machine learning techniques was used to distinguish five rice varieties by analyzing the fluorescence hyperspectral features of Thai jasmine rice and four rice varieties with a similar appearance to Thai jasmine rice in the wavelength range of 475-1000 nm. The fluorescence hyperspectral data were preprocessed by a first-order derivative (FD) to reduce the background and baseline drift effects of the rice samples. Then, a principal component analysis (PCA) and t-distributed stochastic neighborhood embedding (t-SNE) were used for feature reduction and 3D visualization display. A partial least squares discriminant analysis (PLS-DA), BP neural network (BP), and random forest (RF) were used to build the rice classification models. The RF classification model parameters were optimized using the gray wolf algorithm (GWO). The results show that FD-t-SNE-GWO-RF is the best model for rice classification, with accuracy values of 99.8% and 95.3% for the training and test sets, respectively. The fluorescence hyperspectral technique combined with machine learning is feasible for classifying rice varieties.
Collapse
Affiliation(s)
- Zhiliang Kang
- College of Mechanical and Electrical Engineering, Sichuan Agriculture University, Ya’an 625000, China; (Z.K.); (R.F.); (C.Z.); (Y.W.); (Y.L.); (K.L.); (R.Q.)
- Sichuan Research Center for Smart Agriculture Engineering Technology, Ya’an 625000, China
| | - Rongsheng Fan
- College of Mechanical and Electrical Engineering, Sichuan Agriculture University, Ya’an 625000, China; (Z.K.); (R.F.); (C.Z.); (Y.W.); (Y.L.); (K.L.); (R.Q.)
- Sichuan Research Center for Smart Agriculture Engineering Technology, Ya’an 625000, China
| | - Chunyi Zhan
- College of Mechanical and Electrical Engineering, Sichuan Agriculture University, Ya’an 625000, China; (Z.K.); (R.F.); (C.Z.); (Y.W.); (Y.L.); (K.L.); (R.Q.)
- Sichuan Research Center for Smart Agriculture Engineering Technology, Ya’an 625000, China
| | - Youli Wu
- College of Mechanical and Electrical Engineering, Sichuan Agriculture University, Ya’an 625000, China; (Z.K.); (R.F.); (C.Z.); (Y.W.); (Y.L.); (K.L.); (R.Q.)
- Sichuan Research Center for Smart Agriculture Engineering Technology, Ya’an 625000, China
| | - Yi Lin
- College of Mechanical and Electrical Engineering, Sichuan Agriculture University, Ya’an 625000, China; (Z.K.); (R.F.); (C.Z.); (Y.W.); (Y.L.); (K.L.); (R.Q.)
- Sichuan Research Center for Smart Agriculture Engineering Technology, Ya’an 625000, China
| | - Kunyu Li
- College of Mechanical and Electrical Engineering, Sichuan Agriculture University, Ya’an 625000, China; (Z.K.); (R.F.); (C.Z.); (Y.W.); (Y.L.); (K.L.); (R.Q.)
- Sichuan Research Center for Smart Agriculture Engineering Technology, Ya’an 625000, China
| | - Rui Qing
- College of Mechanical and Electrical Engineering, Sichuan Agriculture University, Ya’an 625000, China; (Z.K.); (R.F.); (C.Z.); (Y.W.); (Y.L.); (K.L.); (R.Q.)
- Sichuan Research Center for Smart Agriculture Engineering Technology, Ya’an 625000, China
| | - Lijia Xu
- College of Mechanical and Electrical Engineering, Sichuan Agriculture University, Ya’an 625000, China; (Z.K.); (R.F.); (C.Z.); (Y.W.); (Y.L.); (K.L.); (R.Q.)
- Sichuan Research Center for Smart Agriculture Engineering Technology, Ya’an 625000, China
| |
Collapse
|