The contamination of agricultural products, such as vegetables, by pesticide residues has received considerable attention worldwide. Pesticide residue on vegetables constitutes a potential risk to human health. In this study, we combined near infrared (NIR) spectroscopy with machine learning algorithms, including partial least-squares discrimination analysis (PLS-DA), support vector machine (SVM), artificial neural network (ANN), and principal component artificial neural network (PC-ANN), to identify pesticide residue (chlorpyrifos) on bok choi. The experimental set comprised 120 bok choi samples obtained from two small greenhouses that were cultivated separately. We performed pesticide and pesticide-free treatments with 60 samples in each group. The vegetables for pesticide treatment were fortified with 2 mL/L of chlorpyrifos 40% EC residue. We connected a commercial portable NIR spectrometer with a wavelength range of 908–1676 nm to a small single-board computer. We analyzed the pesticide residue on bok choi using UV spectrophotometry. The most accurate model correctly classified 100% of the samples used in the calibration set in terms of the content of chlorpyrifos residue on samples using SVM and PC-ANN with raw data spectra. Thus, we tested the model using an unknown dataset of 40 samples to verify the robustness of the model, which produced a satisfactory F1-score (100%). We concluded that the proposed portable NIR spectrometer coupled with machine learning approaches (PLS-DA, SVM, and PC-ANN) is appropriate for the detection of chlorpyrifos residue on bok choi.
Mango and mangosteen are commercially important tropical fruits with a short shelf life. Fruit processing is one of the alternatives to extend the shelf life of these fruits. Purée is one of the processed products of fresh fruit. In this research, the quality of mango and mangosteen purée was analyzed. Titratable acidity (TA) and total soluble solids (TSS) were predicted using non-destructive near-infrared (NIR) spectroscopy. A partial least squares regression (PLSR) model was developed based on the NIR spectra with a wavelength ranging from 800 to 2500 nm. The PLSR model returned a coefficient of determination (r2) and a ratio of prediction to deviation (RPD) of 0.955 and 4.7 for TSS, and 0.784 and 2.2 for TA, in the mango purée. Similarly, the best model was selected for the TSS prediction in the mangosteen purée through PLSR, with an r2, a root mean square error of cross-validation (RMSECV), and RPD of 0.799, 0.3% malic acid, and 2.2, respectively. The results show the possible application of NIR spectroscopy in the product processing line, although a larger number of samples with wide variation in future studies are needed as an input to update the model, in order to obtain a more robust model.
9 June 2014 in International Journal of Food Properties