Scientific Reports (Oct 2024)
Machine learning-based analysis of nutrient and water uptake in hydroponically grown soybeans
Abstract
Abstract Recent advancements in sustainable agriculture have spurred interest in hydroponics as an alternative to conventional farming methods. However, the lack of data-driven approaches in hydroponic growth presents a significant challenge. This study addresses this gap by varying nitrogen, magnesium, and potassium concentrations in hydroponically grown soybeans and conducting essential nutrient profiling across the growth cycle. Statistical techniques like Linear Interpolation are employed to interpolate nutrient data and a feature selection pipeline consisting of chi-squared testing methods, Linear Regression with Recursive Feature Elimination (RFE) and ExtraTreesClassifier have been used to select important nutrients for predicting water uptake using non-parametric regression methods. For different nutrient growth media, i.e. for soybeans grown in Hoagland + Nitrogen and Hoagland + Magnesium media, the Random Forest regressor outperformed other methods in predicting water uptake, achieving testing Mean Squared Error (MSE) scores of 24.55 ( $${\text{R}}^{2}$$ R 2 score 0.63) and 8.23 ( $${\text{R}}^{2}$$ R 2 score 0.81), respectively. Similarly, for soybeans grown in Hoagland + Potassium media, Support Vector Regression demonstrated superior performance with a testing MSE of 4.37 and $${\text{R}}^{2}$$ R 2 score of 0.85. SHapley Additive exPlanations (SHAP) values are examined in each case to elucidate the contributions of individual nutrients to water uptake predictions. This research aims to provide data-driven insights to optimize hydroponic practices for sustainable food production.
Keywords