Random forest models of food safety behavior during the COVID-19 pandemic.

Journal: International journal of environmental health research
Published Date:

Abstract

Machine learning approaches are increasingly being adopted as data analysis tools in scientific behavioral predictions. This paper utilizes a machine learning approach, Random Forest Model, to determine the top prediction variables of food safety behavioral changes during the pandemic. Data was collected among U.S. consumers on risk perception of COVID-19 and foodborne illness (FBI), food safety practice behaviors and demographics through online surveys at ten different time points from April 2020 through to May 2021; and post pandemic in May 2022. Random forest model was used to predict 14 food safety-related behaviors. The models for predicting had a good performance, with F-1 score of 0.93 and 0.88, respectively. Attitudes- related variables were determined to be important in predicting food safety behaviors. The importance ranking of the predicting variables were found to be changing over time.

Authors

  • Zachary Berglund
    Department of Food Science, Purdue University, West Lafayette, IN, USA.
  • Elma Kontor-Manu
    Department of Food Science, Purdue University, West Lafayette, IN, USA.
  • Samuel Biano Jacundino
    Food Engineering School, University of Campinas, São Paulo, Brazil.
  • Yaohua Feng
    Department of Food Science, Purdue University, West Lafayette, IN, USA.