Machine learning-based cotton yield forecasting under climate change for precision agriculture
Shahzad M.U. Tahir S. Rashid J. Khashan O.A. Ahmad R. Mansoor S. Ghani A.
December 2025Elsevier B.V.
Smart Agricultural Technology
2025#12
The escalating threat of climate change presents a significant challenge to modern agriculture, with serious consequences for global food security. The impact of changing climate variables on crop productivity, particularly for key agricultural commodities, raises concerns about future yields. This study examines the potential effects of climate change on cotton production by integrating historical climate data, Global Climate Models (GCMs, CMIP3) projections, and cotton yield data. This study employs a diverse range of machine learning (ML) methods, including multiple regression, k-nearest neighbors (KNN), boosted tree algorithms, and various types of artificial neural networks (ANNs), to investigate the intricate relationship between climate factors and cotton yields. The models are developed and tested using data on climate and crop yields collected from three regions in Punjab, Pakistan, spanning the years 1991 to 2020. To estimate future yield outcomes, climate projections from General Circulation Models (GCMs) are downscaled under the SRA1B, A2, and B1 carbon emission scenarios, enabling forecasts extending to the year 2050. Results show that rainfall has a negligible impact on cotton yield (R = 0.0002), whereas maximum temperature (R = -0.183) is identified as the primary climatic factor influencing yield, followed by minimum temperature (R = 0.248). Among the models, the generalized feedforward (GFF) demonstrated the best performance (R = 0.960, MSE = 0.110, NMSE = 0.187, MAE = 0.269), outperforming probabilistic neural network (PNN), KNN, multilayer perceptron (MLP), and boosted trees. In contrast, linear regression (LR) and multiple regression models performed less effectively. The reliability of GFF and KNN in providing yield estimates (R2 = 0.892, 0.861) supports their potential for accurate predictions. The study forecasts a 4.5% decline in cotton yield by 2050 compared to the highest recorded yield for the region, highlighting the impact of climate change on cotton production and its potential threat to food security. Nevertheless, the adaptive capabilities of the ANN (GFF) models across various climate scenarios present promising tools for integrating ML into climate-resilient agricultural practices, contributing to sustainable agrarian security and mitigating the adverse effects of climate change on food supply.
Climate change , Cotton yield , Deep learning , Machine learning , Prediction , Smart agriculture
Text of the article Перейти на текст статьи
Department Mathematics, University of Okara, Okara, Punjab, 56310, Pakistan
Department IT Services, University of Okara, Okara, Punjab, 56310, Pakistan
Machine Learning Code Research Lab, 209 Zafar Colony, Okara, Punjab, 56310, Pakistan
Research and Innovation Centers, Rabdan Academy, Abu Dhabi, 114646, United Arab Emirates
Faculty of Computing and Information Technology, Sohar University, Sohar, 311, Oman
Department of Plant Resources and Environment, Jeju National University, Jeju-si, 63243, South Korea
Big Data Research Center, Department of Computer Engineering, Jeju National University, Jeju-si, 63243, South Korea
Department of Computer Science, International Islamic University Islamabad, Islamabad, 44000, Pakistan
Department of Computer Science, School of Engineering and Digital Sciences, Nazarbayev University, Astana, 010000, Kazakhstan
Department Mathematics
Department IT Services
Machine Learning Code Research Lab
Research and Innovation Centers
Faculty of Computing and Information Technology
Department of Plant Resources and Environment
Big Data Research Center
Department of Computer Science
Department of Computer Science
10 лет помогаем публиковать статьи Международный издатель
Книга Публикация научной статьи Волощук 2026 Book Publication of a scientific article 2026