Skip to content
Open access

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

Sep 2026 · Interdisciplinary Journal of AI, Machine Learning & Data Science · 0 citations · 5 references

TL;DR

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.

Abstract

Crop yield forecasting is an important component of precision agriculture, as reliable predictions can support agricultural planning, resource allocation, and food-security decisions. However, crop productivity is influenced by several interacting environmental and agricultural factors, making accurate prediction a challenging task. This study develops a machine learning framework for crop yield forecasting by considering rainfall, average temperature, pesticide usage, crop type, geographical area, and year-wise agricultural information. A processed dataset derived from publicly available FAO and World Bank sources was used for the experimental analysis. Seven regression algorithms, namely Linear Regression, Random Forest, Gradient Boosting, XGBoost, K-Nearest Neighbors (KNN), Decision Tree, and Bagging Regressor, were trained and comparatively evaluated. Their performance was assessed using Mean Squared Error (MSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), coefficient of determination (R²), and 5-Fold Cross-Validation. The experimental results show that ensemble-based models provide stronger predictive performance than conventional regression approaches. Among the evaluated models, the Bagging Regressor produced the highest test R² score of 98.59% and a mean cross-validation score of 98.80%, while Random Forest and XGBoost also demonstrated strong predictive performance. The main contribution of this study is 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. The results demonstrate the potential of ensemble machine learning methods for crop yield estimation and provide a foundation for their future application in data-driven smart agriculture systems.  

Read PDF

Similar papers

Open access Aug 2026

Machine Learning-Based Crop Yield Prediction Using FAO Global Agricultural Data: A Comparative Study of Linear Regression, Random Forest, and XGBoost

Accurate crop yield prediction is essential for food security planning, agricultural policy-making, and sustainable farming management. This study develops and compares three machine learning models Linear Regression, Random Forest, and XGBoost for predicting crop yield using the FAO (Food and Agriculture Organization)...

Abdulhafedh Alsarfi, A. Sable, Aymen M. Al-Hejri · 0 citations
Open access Aug 2026

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

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 b...

Raj Kumar, P. K. Singh, Rohit Kumar Tiwari · 0 citations
Open access Aug 2026

Evaluating Tree-Based Machine Learning Regression Models for Crop Yield Prediction Using Indian Agricultural Data

Accurate crop yield prediction supports agricultural planning and resource allocation. This study evaluates three tree-based regression configurations Coarse, Medium and Fine Regression Trees for predicting district-level crop production in India. The analysis uses a single secondary tabular source, the open-access Cro...

Neha Chauhan, Dinesh Sharma, G. Tomar · 0 citations
Conference Open access 2026

Feature Engineering and Crop Yield Prediction using Agricultural Time-Series Data

The increasing availability of agricultural timeseries data enabled more accurate and data-driven crop yield prediction. However, raw meteorological, soil, and vegetation datasets often fail to capture complex temporal dependencies essential for robust forecasting. This study proposes a structured feature engineering...

K. Lata, A. Kumar, P. Sharma et al. · 0 citations
Sep 2026

Explainable Machine Learning for Crop Yield Forecasting within an Agentic AI Decision Support System

Accurate crop-yield forecasting is essential for agricultural planning, resource allocation, and risk management under increasingly variable climatic and soil conditions. However, many machine-learning-based forecasting approaches emphasize predictive accuracy without adequately explaining the factors responsible for i...

Dhaval Makwana · 0 citations
Open access Sep 2026

Ai Based Smart Crop Recommendation and Yield Prediction Using Ml and Weather Analytics

The proposed framework provides an intelligent, scalable, and data-driven decision support system that can assist farmers, agricultural experts, and policymakers in improving productivity, optimizing resource utilization, and promoting sustainable farming practices under varying climatic conditions.

Choudhuri Saswat Pattnaik, Rojalini Mohanty, Bijaya Laxmi Hazra 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.