Related Experiment Video
Updated: Jan 15, 2026

Quantifying Plant Soluble Protein and Digestible Carbohydrate Content, Using Corn Zea mays As an Exemplar
Published on: August 6, 2018
Predicting macroelement content in legumes with machine learning
1Department of Field Crops, Faculty of Agriculture, Recep Tayyip Erdoğan University, Rize, Turkey. muhammed.catal@erdogan.edu.tr.
Abstract:
This study aims to develop accurate and efficient machine learning models to predict the concentrations of phosphorus (P), potassium (K), calcium (Ca), and magnesium (Mg) in 10 legume species naturally growing in the Çamlıhemşin district of Rize province, Türkiye. A comprehensive dataset of feed quality characteristics was collected, and four widely used machine learning algorithms-Multivariate Adaptive Regression Splines (MARS), K-Nearest Neighbors (KNN), Support Vector Regression (SVR), and Artificial Neural Networks (ANN)-were employed to build predictive models. The performance of these models was evaluated using a range of statistical metrics, including root mean squared error (RMSE), mean absolute error (MAE), and coefficient of determination (R2). Results indicated that the MARS model generally outperformed the others, achieving the lowest RMSE values and relatively high R2 values for most elements, suggesting it is the most suitable model for predicting macroelement content in this particular dataset. KNN showed reasonable performance, while SVR and ANN exhibited relatively poor results, likely due to the limited dataset size and their sensitivity to hyperparameter settings. The study contributes to the advancement of precision agriculture by providing a robust and accurate method for assessing the nutritional quality of legume species.
More Related Videos
08:47Author Spotlight: UAV Remote Sensing for Efficient Invasive Plant Biomass Estimation
Published on: February 9, 2024
10:25Construction of Models for Nondestructive Prediction of Ingredient Contents in Blueberries by Near-infrared Spectroscopy Based on HPLC Measurements
Published on: June 28, 2016
Related Concept Videos
Light Acquisition
Key Elements for Plant Nutrition
Predicting Products: Substitution vs. Elimination
The following factors can influence the mechanisms competing against each other:
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...