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

Main Article Content

Pavan Sahu
https://orcid.org/0009-0005-8424-804X
Prof. O.P. Karada

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.


 

Citations

Article statistics

Abstract views
83
PDF Downloads
98
Total views
181

Downloads

Download data is not yet available.

Article Details

Data Availability Statement

“The dataset used in this study was compiled from publicly available agricultural and environmental data sources, including the Food and Agriculture Organization (FAO) and World Bank. The processed dataset used for the experiments is available from the authors upon reasonable request.

Section

Peer-reviewed Articles

Author Biographies

Pavan Sahu, SAGE University Indore

Student

Prof. O.P. Karada, SAGE University Indore

Professor

How to Cite

Sahu, P., & Karada, O. P. (2026). Machine Learning-Based Crop Yield Forecasting Using Environmental and Agricultural Parameters. Interdisciplinary Journal of AI, Machine Learning & Data Science, 1(3), e008. https://doi.org/10.66261/ncprps68

References

[1] J. H. Jeong, J. P. Resop, N. D. Mueller, J. C. Fleisher, K. Yun, E. E. Butler, et al., “Random Forests for Global and Regional Crop Yield Predictions,” PLoS ONE, vol. 11, no. 6, pp. 1–15, 2016. DOI: https://doi.org/10.1371/journal.pone.0156571

[2] Y. Everingham, J. Sexton, D. Skocaj, and G. Inman-Bamber, “Accurate Prediction of Sugarcane Yield Using Machine Learning,” Agronomy for Sustainable Development, vol. 36, no. 2, pp. 1–13, 2016. DOI: https://doi.org/10.1007/s13593-016-0364-z

[3] M. Shahhosseini, G. Hu, and S. Huber, “Machine Learning Approaches for Corn Yield Prediction Using Satellite and Climate Data,” Scientific Reports, vol. 10, pp. 1–15, 2020.

[4] S. Khaki and L. Wang, “Crop Yield Prediction Using Deep Neural Networks,” Frontiers in Plant Science, vol. 10, pp. 1–13, 2019. DOI: https://doi.org/10.3389/fpls.2019.00621

[5] A. Gandhi, O. Armstrong, L. Petkar, and A. Tripathy, “Rice Crop Yield Prediction Using Machine Learning,” in Proc. IEEE Int. Conf. Technological Innovations in ICT for Agriculture and Rural Development, 2016, pp. 125–130. DOI: https://doi.org/10.1109/TIAR.2016.7801222

[6] F. Pedregosa et al., “Scikit-Learn: Machine Learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.

[7] T. Chen and C. Guestrin, “XGBoost: A Scalable Tree Boosting System,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, 2016, pp. 785–794. DOI: https://doi.org/10.1145/2939672.2939785

[8] L. Breiman, “Random Forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, 2001. DOI: https://doi.org/10.1023/A:1010933404324