Detection of aflatoxins in ground maize using a compact and automated Raman spectroscopy system with machine learning

Curr Res Food Sci. 2023 Nov 21:7:100647. doi: 10.1016/j.crfs.2023.100647. eCollection 2023.

Abstract

Consumption of aflatoxin-contaminated food can cause severe illness when consumed by humans or livestock. Because the mycotoxin frequently occurs in cereal grains and other agricultural crops, it is crucial to develop portable devices that can be used non-destructively and in real-time to identify aflatoxin-contaminated food materials during early stages of harvesting or processing. In this study, an aflatoxin detection method was developed using a compact Raman device that can be used in the field. Data were obtained using maize samples naturally contaminated with aflatoxin, and the data were analyzed using a machine learning method. Of the multiple classification models evaluated, such as linear discriminant analysis (LDA), linear support vector machines (LSVM), quadratic discriminant analysis (QDA), and quadratic support vector machines and spectral preprocessing methods, the best classification accuracy was achieved at 95.7% using LDA in combination with Savitzky-Golay 2nd derivative (SG2) preprocessing. Partial least squares regression (PLSR) models demonstrated a close-range accuracy within the scope of standard normal variate (SNV) and multiplicative scatter correction (MSC) preprocessing methods, with determination of coefficient values of R2C and R2V of 0.9998 and 0.8322 respectively for SNV, and 0.9916 and 0.8387 respectively for MSC. This study demonstrates the potential use of compact and automated Raman spectroscopy, coupled with chemometrics and machine learning methods, as a tool for rapidly screening food and feed for hazardous substances at on-site field processing locations.

Keywords: Aflatoxin; Classification; Machine learning; Maize; Partial least square regression.