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

Authors

  • Emman Qadir Department of Electrical Engineering, University of Engineering and Technology, Lahore, Pakistan
  • Abdul Wasay Department of Electrical Engineering, University of Engineering and Technology, Lahore, Pakistan
  • Farheen Fayyaz Department of Electrical Engineering, University of Engineering and Technology, Lahore, Pakistan
  • Muhammad Junaid Department of Electrical Engineering, University of Engineering and Technology, Lahore, Pakistan
  • Zaryab Basharat MOE Key Laboratory of Thermo-Fluid Science and Engineering, Xi'an Jiaotong University, China

DOI:

https://doi.org/10.70112/ajsat-2026.15.1.4341

Keywords:

Yield Prediction, Precision Agriculture, Random Forest Regression , Environmental Monitoring, Soil Analysis, Machine Learning

Abstract

Precise crop yield prediction transforms agricultural planning from intuition-based practice to data-driven strategy. This work demonstrates a machine learning approach for forecasting crop yield from seven fundamental agronomic inputs: seasonal temperature, soil pH, total rainfall, pesticide application rate, year, crop type, and cultivation region. Using a cleaned dataset of 28,242 samples spanning 10 crops across more than 100 regions (1990-2013), we deploy a carefully tuned Random Forest regressor. The final model achieves a test R² of 0.9146, RMSE of 7,918.04 units, and MAE of 4,313.27 units. Feature analysis identifies rainfall and soil pH as the most significant factors influencing yield. The system is lightweight, explainable, and suitable for integration with IoT and remote sensing data for next-stage field deployment.

References

[1] FAO, The State of Food and Agriculture 2021: Making Agrifood Systems More Resilient to Shocks and Stresses. Rome, Italy: FAO, 2021.

[2] T. Van Klompenburg, A. Kassahun, and C. Catal, “Crop yield prediction using machine learning: A systematic literature review,” Computers and Electronics in Agriculture, vol. 177, p. 105709, 2020.

[3] M. Shahhosseini, R. A. Martinez-Feria, G. Hu, and S. V. Archontoulis, “Maize yield prediction with machine learning: A multi-year, multi-environment study,” Field Crops Research, vol. 263, p. 108069, 2021.

[4] B. Basso and L. Liu, “Seasonal crop yield forecast: Methods, applications, and accuracies,” Advances in Agronomy, vol. 154, pp. 201-255, 2019.

[5] IPCC, Climate Change 2022: Impacts, Adaptation and Vulnerability. Contribution of Working Group II to the Sixth Assessment Report, 2022.

[6] A. Crane-Droesch, “Machine learning methods for crop yield prediction and climate change impact assessment in agriculture,” Environmental Research Letters, vol. 13, no. 11, p. 114003, 2018.

[7] D. Paudel, H. Boogaard, A. de Wit, S. Janssen, S. Osinga, C. Pylianidis, and I. N. Athanasiadis, “Machine learning for large-scale crop yield forecasting,” Agricultural Systems, vol. 187, p. 102983, 2021.

[8] L. Zhang, Z. Zhang, Y. Luo, J. Cao, and F. Tao, “Combining optical, fluorescence, thermal satellite, and environmental data to predict county-level maize yield in China using machine learning approaches,” Remote Sensing, vol. 12, no. 1, p. 21, 2019.

[9] M. Purevdorj, A. Zare, and A. Jafari, “Integration of weather data into a machine learning model to predict sunflower yield,” Computers and Electronics in Agriculture, vol. 182, p. 105985, 2021.

[10] H. Kaur and M. Kaur, “A review on crop yield prediction using data mining techniques,” in Proc. 8th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions), 2020, pp. 1272-1276.

[11] E. Kamir, F. Waldner, and Z. Hochman, “Estimating wheat yields in Australia using climate records, satellite image time series and machine learning methods,” ISPRS Journal of Photogrammetry and Remote Sensing, vol. 160, pp. 124-135, 2020.

[12] G. Jang, J. Kim, J. K. Yu, H. J. Kim, Y. Kim, D. W. Kim, et al., “Review: Cost-effective unmanned aerial vehicle (UAV) platform for field plant breeding application,” Remote Sensing, vol. 12, no. 6, p. 998, 2020.

[13] M. Kukar, P. Vracar, D. Kosir, D. Pevec, and Z. Bosnic, “AgriFood supply chain traceability: Data sharing in a farm-to-fork case,” Computers in Industry, vol. 123, p. 103293, 2021.

[14] Q. Yang, L. Shi, J. Han, Y. Zha, and P. Zhu, “Deep convolutional neural networks for rice grain yield estimation at the ripening stage using UAV-based remotely sensed images,” Field Crops Research, vol. 235, pp. 142-153, 2019.

[15] S. Khaki and L. Wang, “Crop yield prediction using deep neural networks,” Frontiers in Plant Science, vol. 10, p. 621, 2019.

[16] C. Rudin, “Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead,” Nature Machine Intelligence, vol. 1, no. 5, pp. 206-215, 2019.

Downloads

Published

10-04-2026

How to Cite

Emman Qadir, Abdul Wasay, Farheen Fayyaz, Muhammad Junaid, & Zaryab Basharat. (2026). Machine Learning-Based Crop Yield Forecasting Using Environmental and Soil Parameters. Asian Journal of Science and Applied Technology, 15(1), 13–19. https://doi.org/10.70112/ajsat-2026.15.1.4341

Issue

Section

Research Article