Issue 3, 2024

Evaluation of methods for the detection of hazardous substances in food based on machine learning

Abstract

With new detection methods for hazards in food being created, it is essential to build an evaluation model of these methods in order to improve the level and efficiency of food safety related detection. Back propagation neural network (BPNN), classification and regression tree (CART), support vector regression (SVR) and random forest regression (RFR) are the supervised machine learning methods used to build the model. In this study, we used these four approaches to evaluate hazard detection methods. First, the factors that affect the test (considering the accuracy, efficiency and cost of the methods) were considered, and 8 indices were selected to establish an evaluation index system for chemical hazards and biological hazards respectively. Then, 727 methods related to the detection of chemical hazards and 91 methods related to the detection of biological hazards in food were analyzed, and experts were invited to score each method as machine learning training data. Then, four machine learning models were used for training and verification. It turns out that for the detection methods of chemical hazards, the BPNN, CART and SVR models require a shorter period of time to adjust parameters, perform better on the test set with great fitting ability and lower mean square error, and the goodness of fit is 0.969, 0.962 and 0.988, respectively. While for the detection methods of biological hazards, BPNN and SVR models fit better with goodness of fit values of 0.988 and 0.999, respectively, and give more accurate prediction. It can be concluded that BPNN and SVR models perform well for both chemical and biological hazards detection methods, which can be used as a reference for artificial selection before testing.

Graphical abstract: Evaluation of methods for the detection of hazardous substances in food based on machine learning

Supplementary files

Article information

Article type
Paper
Submitted
31 Aug 2023
Accepted
08 Dec 2023
First published
09 Dec 2023

New J. Chem., 2024,48, 1399-1406

Evaluation of methods for the detection of hazardous substances in food based on machine learning

L. Zhu, L. Yan, F. Zhao, X. Guo, D. Xu, J. Lv, L. Ding, N. Niu, J. Qiao, S. Ma, X. Huang, H. Liu and H. Lian, New J. Chem., 2024, 48, 1399 DOI: 10.1039/D3NJ04074G

To request permission to reproduce material from this article, please go to the Copyright Clearance Center request page.

If you are an author contributing to an RSC publication, you do not need to request permission provided correct acknowledgement is given.

If you are the author of this article, you do not need to request permission to reproduce figures and diagrams provided correct acknowledgement is given. If you want to reproduce the whole article in a third-party publication (excluding your thesis/dissertation for which permission is not required) please go to the Copyright Clearance Center request page.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements