Skip to content
Open access

Prediction of agricultural production based on multivariate data with feature aware machine learning models

Aug 2026 · Discover Artificial Intelligence · Vol 6 · 0 citations · 14 references
Computer Science

TL;DR

A feature-aware regression-based machine learning framework, which can be used for the prediction of agricultural yield based on a collection of multivariable environmental and agronomic data, and found strong coherence between feature importance layout and SHAP values and agronomic interpretation.

Abstract

In the context of climate change, yield prediction in agriculture becomes extremely important for achieving food security, precision agriculture, and sustainable resource management but the productivity of crop production involves a nonlinear relationship between environmental, climatic, and soil variables and cannot be easily modelled using conventional statistical models. In this study, the authors present a feature-aware regression-based machine learning framework, which can be used for the prediction of agricultural yield based on a collection of multivariable environmental and agronomic data. It is a data set of 36,520 agricultural records collected from various agro-climatic conditions in multiple growing seasons and considering the nitrogen (N), phosphorus (P), potassium (K), rainfall, temperature, humidity, wind speed, soil quality factors, and soil pH. Three regression models were used: linear regression (LR), Random Forest regression (RF), and Gradient Boosting regression (GBR) and were optimized using RandomizedSearchCV with negative root mean square error (RMSE) as the optimization criterion. Fivefold cross-validation and confidence interval analysis were used to quantify the generalization of the models and to prevent the models from overfitting the data. In all the models the corrected Random Forest regression Model had the lowest value of RMSE (4.6) and MAE (2.7) and the highest R2 (0.96) value (which indicates the performance of the prediction model) among all the models. The result of feature importance and explainability analysis using SHAP indicated potassium, nitrogen, rainfall, and temperature to be the key factors in the prediction of the yield. We reworked the explainability analysis and found strong coherence between feature importance layout and SHAP values and agronomic interpretation. The suggested model is a scientifically valid, interpretable and scalable solution for agricultural yield forecasting and precision farming applications. The results prove that the explainable ensemble learning approaches are useful for the data-driven farming decision support systems.

Read PDF

Similar papers

Open access Sep 2026

Machine Learning-Based Crop Yield Forecasting Using Environmental and Agricultural Parameters

A comparative crop yield forecasting framework that combines agricultural and environmental variables with multi-model evaluation, cross-validation, feature-importance analysis, and multiple error metrics is developed.

Pavan Sahu, Om Prakash Karada · 0 citations
Open access Sep 2026

Crop Yield Prediction in Maharashtra Using Machine Learning: A Comparative Analysis of Multiple Models

The results indicate that ensemble models outperform traditional approaches in crop yield prediction, with XGBoost achieving the highest performance, and the effectiveness of machine learning techniques, particularly ensemble methods, in improving crop yield prediction.

Janhvi Kirtane, Mangal A. Patil, S. Vinayak et al. · 0 citations
Conference Open access Sep 2026

BERT-Based Agricultural Crop Prediction System Using Soil and Weather Parameters with Interactive Streamlit Deployment

This research is a BERT-based predictive agricultural crop model that uses contextual language representations to predict complex relationships among soil nutrients and weather conditions and illustrates how transformer-based architecture can be used in precision agriculture and decision support systems.

Nandana Nair, Rufas Kanikanti, P. G. Om Prakash · 0 citations
Open access Aug 2026

Maize Yield and Disease Risk Prediction Using Climatic and Soil Data: A Machine Learning Approach for Lesotho

The main staple crop in Lesotho (a country in southern Africa) is maize, but its production is extremely susceptible to unpredictable rainfall, temperature fluctuations, deficiencies in soil moisture, and frequent foliar disease pressure. As a result, smallholder farming households have ongoing yield shortfalls and foo...

Masani Selialia, M. Ramjee · 0 citations
Open access 2026

Intelligent Machine Learning Framework for Precision Agriculture: AI-Driven Cluster Analytics and Economic Decision Support

Integrated analytical approaches are needed to address the crop productivity variability, climatic variability, soil characteristics, agricultural inputs and market behaviour which are key components of precision agriculture. This study proposed an intelligent machine learning system that combines AI based cluster anal...

J. M., Tony C. Mathew, Vimal V et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.