Machine learning-based cotton yield forecasting under climate change for precision agriculture

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 ( R 2 = 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. • Identified key climate factors influencing cotton yield, mainly temperature, and rainfall. • Applied ANN, KNN, regression, and ensemble models to simulate yield–climate response. • Forecasted 30-year cotton yield trends using GCM data to support climate adaptation. • Performed comparative analysis with state-of-the-art based on performance parameters.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2025-06-27
DOI
https://doi.org/10.1016/j.atech.2025.101117
Citations
2
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
3.50

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning-based cotton yield forecasting under climate change for precision agriculture

Javed Rashid, Osama Ahmed Khashan, M. Umair Shahzad, Sheikh Mansoor et al.
2 citations
Smart Agricultural Technology
Smart Agriculture and AI
3.50
article

Machine learning-based cotton yield forecasting under climate change for precision agriculture

Javed Rashid, Osama Ahmed Khashan, M. Umair Shahzad, Sheikh Mansoor, Anwar Ghani, Sana Tahir, Rashid Ahmad
article en
2 citations

Abstract

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 ( R 2 = 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. • Identified key climate factors influencing cotton yield, mainly temperature, and rainfall. • Applied ANN, KNN, regression, and ensemble models to simulate yield–climate response. • Forecasted 30-year cotton yield trends using GCM data to support climate adaptation. • Performed comparative analysis with state-of-the-art based on performance parameters.

Smart Agricultural TechnologyVol. 12
Khazar University (AZ), International Islamic University, Islamabad (PK), University of Okara (PK), Technology Innovation Institute (AE), Sohar University (OM), Nazarbayev University (KZ), Jeju National University (KR)
National Research Foundation of Korea
Climate action, Zero hunger
Openalex Percentile: Top 8%
Smart Agriculture and AI
3.50
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.