Abstract
Food safety problems are becoming increasingly severe in modern society, and establishing an accurate food safety risk warning and analysis model is of positive significance in avoiding food safety accidents. We propose an algorithmic framework that integrates the analytic hierarchy process based on the entropy weight (AHP-EW) and the autoencoder-recurrent neural network (AE-RNN). Specifically, the AHP-EW method is first used to obtain the weight percentages of each detection index. The comprehensive risk value of the product samples is obtained by weighted summation with the detection data, which is used as the expected output of the AE-RNN network. The AE-RNN network is constructed to predict the comprehensive risk value of unknown products. The detailed risk analysis and control measures are taken based on the risk value. We applied this method to the detection data of a dairy product brand in China for example validation. Compared with the performance of 3 models of the back propagation algorithm (BP), the long short-term memory network (LSTM), and the LSTM based on the attention mechanism (LSTM-Attention), the AE-RNN model has a shorter convergence time, predicts data more accurately. The root mean square error (RMSE) of experimental data is only 0.0018, proving that the model is feasible in practice and helps improve the food safety supervision system in China to avoid food safety incidents.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.