Comparing machine learning models to chemometric ones to detect food fraud: A case study in Slovenian fruits and
Nathan A Mahynski1, Lidija Strojnik2, Vincent K Shen1
1Chemical Sciences Division, National Institute of Standards and Technology, Gaithersburg, MD 20899-8320, USA.
Abstract:
We present a method for comparing models used to detect food fraud based on stable isotopes and trace element (SITE) levels. Existing modeling procedures generally do not provide an uncertainty estimate on a model's performance due to variations in the training data or preprocessing procedures. Here, we perform a comparison of performance metrics between end-to-end modeling pipelines, enabling hypothesis testing to reveal when differences are statistically significant. When many models have similar performances, the model with the best performance is not always the best to implement in practice due to their complexity or cost. Statistical comparison helps reveal the net benefit of complex models, enabling a better interpretation of their value. We illustrate our approach on six different fruits and vegetables collected in Slovenia from 2018 to 2022. Models in this study include state-of-the-art machine learning models for tabular data, such as Random Forests (RF), and modern one-class classifiers, such as DD-SIMCA.


