Comparative Analysis of Machine Learning Techniques for Crop Yield Prediction in the Prayagraj Region, Uttar Pradesh, India

Review History

Published: 2026-09-29

DOI: 10.9734/bpi/ahrtsd/v4/7215

Page: 146-162


S. B. Sree Hari *

Department of Agronomy, Sam Higginbottom University of Agriculture Technology and Sciences, Prayagraj, Uttar Pradesh-211007, India.

Shraddha Rawat

Department of Agronomy, Sam Higginbottom University of Agriculture Technology and Sciences, Prayagraj, Uttar Pradesh-211007, India.

*Author to whom correspondence should be addressed.


Abstract

Accurate crop yield prediction is essential for food security, resource optimisation, and climate risk mitigation. India's tropical monsoon climate, coupled with increasing climate variability, threatens agricultural productivity through extreme weather events and changing seasonal patterns. Machine learning models, particularly regression and neural networks, offer improved accuracy over traditional methods by analysing complex climatic and agronomic data. This study integrates machine learning techniques to enhance yield prediction for maize, wheat, rice, mustard and rapeseed, and potato in the Prayagraj region. Various machine learning models, including Multiple Linear Regression (MLR), Stepwise MLR (SMLR), Least Absolute Shrinkage and Selection Operator (LASSO), Elastic Net (ELNET), Ridge Regression, Random Forest (RF), and Artificial Neural Networks (ANN), were implemented to develop prediction models. The dataset was analysed in weighted and unweighted forms to evaluate model performance across different scenarios. Regression analyses enabled the models to capture both linear and non-linear relationships between weather parameters (independent variables) and crop yield (dependent variable). The models were trained and tested using a 70:30 data split to ensure reliable predictions. A comparative evaluation of these models was conducted using key performance metrics such as Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Coefficient of Determination (R²), and Normalised Root Mean Squared Error (nRMSE) to determine the most effective approach. For rice and mustard and rapeseed, the Random Forest model demonstrated the best performance. For wheat, ANN and RF exhibited the strongest generalisation in both weighted and unweighted datasets. Based on weighted weather data, ELNET, LASSO, and Ridge regression emerged as the most suitable models for maize yield prediction. The findings aim to improve prediction accuracy, support climate-resilient agriculture, and provide data-driven insights for agricultural decision-making in Prayagraj, thereby contributing to precision farming and sustainable agricultural practices.

Keywords: Crop yield prediction, machine learning, regression analysis, weather indices, ANN


How to Cite

Hari, S. B. S., & Rawat, S. (2026). Comparative Analysis of Machine Learning Techniques for Crop Yield Prediction in the Prayagraj Region, Uttar Pradesh, India . Agricultural Horizons: Research, Technology and Sustainable Development Vol. 4, 146–162. https://doi.org/10.9734/bpi/ahrtsd/v4/7215