Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Jun 1;12(11):2241.
doi: 10.3390/foods12112241.

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

Affiliations

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

Cheng Hao et al. Foods. .

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.

Keywords: BaP; LSTM; XGBoost; edible oil; risk assessment; risk prediction.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Flowchart of k-means clustering algorithm.
Figure 6
Figure 6
LSTM-XGBoost-based variable-weight combined prediction model.
Figure 2
Figure 2
Flow chart of the variable-weight combined LSTM-XGBoost prediction model.
Figure 3
Figure 3
Hidden layer cell of LSTM model.
Figure 4
Figure 4
LSTM model construction.
Figure 5
Figure 5
XGBoost model tuning results.
Figure 7
Figure 7
Elbow method to determine k value.
Figure 8
Figure 8
Probability density distribution of subgroup 1.
Figure 9
Figure 9
Probability density distribution of subgroup 2.
Figure 10
Figure 10
Probability density distribution of subgroup 3.
Figure 11
Figure 11
RMSE for ILCR, MOE, and NIPI indicators.
Figure 12
Figure 12
MAE for ILCR, MOE, and NIPI indicators.

References

    1. Meng G., Xu Z., Zhan X., Zhou J. Development strategy and analysis of production and consumption demand of plant oilseeds and oils in China. China Oils Fats. 2020;45:1–4, 27. doi: 10.12166/j.zgyz.1003-7969/2020.10.001. - DOI
    1. Bogdanović T., Pleadin J., Petričević S., Listeš E., Sokolić D., Marković K., Ozogul F., Šimat V. The occurrence of polycyclic aromatic hydrocarbons in fish and meat products of Croatia and dietary exposure. J. Food Compos. Anal. 2019;75:49–60. doi: 10.1016/j.jfca.2018.09.017. - DOI
    1. Orecchio S., Amorello D., Indelicato R., Barreca S., Orecchio S. A Short Review of Simple Analytical Methods for the Evaluation of PAHs and PAEs as Indoor Pollutants in House Dust Samples. Atmosphere. 2022;13:1799. doi: 10.3390/atmos13111799. - DOI
    1. Orecchio S., Bianchini F., Bonsignore R., Blandino P., Barreca S., Amorello D. Profiles and Sources of PAHs in Sediments from an Open-Pit Mining Area in the Peruvian Andes. Polycycl. Aromat. Compd. 2016;36:429–451. doi: 10.1080/10406638.2015.1005242. - DOI
    1. Barreca S., Bastone S., Caponetti E., Martino D.F.C., Orecchio S. Determination of selected polyaromatic hydrocarbons by gas chromatography–mass spectrometry for the analysis of wood to establish the cause of sinking of an old vessel (Scauri wreck) by fire. Microchem. J. 2014;117:116–121. doi: 10.1016/j.microc.2014.06.020. - DOI

LinkOut - more resources