Back to Search Start Over

Prediction of Safety Risk Levels of Benzopyrene Residues in Edible Oils in China Based on the Variable-Weight Combined LSTM-XGBoost Prediction Model.

Authors :
Hao, Cheng
Zhang, Qingchuan
Wang, Shimin
Jiang, Tongqiang
Dong, Wei
Source :
Foods; Jun2023, Vol. 12 Issue 11, p2241, 17p
Publication Year :
2023

Abstract

To assess and predict the food safety risk of benzopyrene (BaP) in edible oils in China, this study collected national sampling data of edible oils from 20 Chinese provinces and their prefectures in 2019, and constructed a risk assessment model of BaP in edible oils with consumption data. Initially, the k-means algorithm was used for risk classification; then the data were pre-processed and trained to predict the data using the Long Short-Term Memory (LSTM) and the eXtreme Gradient Boosting (XGBoost) models, respectively, and finally, the two models were combined using the inverse error method. To test the effectiveness of the prediction model, this study experimentally validated the model according to five evaluation metrics: root mean square error (RMSE), mean absolute error (MAE), precision, recall, and F1 score. The variable-weight combined LSTM-XGBoost prediction model proposed in this paper achieved a precision of 94.62%, and the F1 score value reached 95.16%, which is significantly better than other neural network models; the results demonstrate that the prediction model has certain stability and feasibility. Overall, the combined model used in this study not only improves the accuracy but also enhances the practicality, real-time capabilities, and expandability of the model. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
23048158
Volume :
12
Issue :
11
Database :
Complementary Index
Journal :
Foods
Publication Type :
Academic Journal
Accession number :
164214667
Full Text :
https://doi.org/10.3390/foods12112241