Submitted:
18 November 2026
Posted:
18 November 2026
You are already at the latest version
Abstract
Agriculture plays a vital role in national economies and global food security, yet increasing population demands and climate variability continue to challenge sustainable crop production. Accurate crop yield prediction can significantly support farmers and policymakers by enabling better planning, resource allocation, and risk management. This study presents a machine-learning-based framework for predicting crop yield using key agronomic and environmental attributes, including rainfall, crop type, climatic conditions, cultivated area, fertilizer and pesticide usage, production statistics, and historical yield records. Multiple predictive models were evaluated, including ARIMA, Decision Tree, Random Forest, Gradient Boosting, and XGBoost regressors, to identify the most effective approach for yield forecasting. Experimental results demonstrate that machine learning models—particularly tree-based methods—achieve strong predictive performance, with the Decision Tree model obtaining the highest accuracy of 99.62% and the lowest error values across MAE, RMSE, and R² metrics. The evaluation confirms that ML models reduce prediction errors and offer interpretable feature contributions, providing actionable insights for stakeholders. Overall, the findings validate the effectiveness of machine-learning approaches in agricultural forecasting and highlight their potential to enhance climate adaptation, optimize resource utilization, and support data-driven strategies for improved food security and sustainable agricultural development.
Keywords:
agricultural data
; crop yield prediction
; data-driven decision making
; machine learning
; precision agriculture
; predictive analytics
; and regression models
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.