Explainable machine learning for assessing tomato quality irrigated with treated wastewater
Authors
A. Vehar, J. Drole, T. Eftimov, N. Kacjan Maršić, B. Koroušić Seljak, E. Heath, N. Ogrinc
Publication
Food Chemistry, 2026
Abstract
This study investigated how different treatments affect element uptake and metabolism in tomatoes grown in soil (lysimeters) and soilless (hydroponics) systems. Soil-grown tomatoes were irrigated with potable water, treated wastewater, and treated wastewater spiked with 14 contaminants of emerging concern (CECs). These model CECs, spiked at 0.1 mg/L, included bisphenols, non-steroidal anti-inflammatory drugs, estrogens, and caffeine. Hydroponically grown tomatoes were grown in nutrient solution, with or without CECs. Tomato quality was assessed by analysing sugars, organic acids, polyphenols, carotenoids, amino acids, fatty acids, and elemental composition. Classification machine learning models were applied, achieving 75-88% accuracy in distinguishing treatments. The SHAP method identified key metabolites (ascorbic, palmitic, margaric, oleic, linoleic, behenic acid) and elements (Cd, Co, Cs, Cu, P, Na) driving treatment differentiation. This study demonstrates how explainable machine learning can decode complex metabolic interactions, providing insights into how treated wastewater and CECs influence tomato quality.
BIBTEX copied to Clipboard