Submitted:
07 May 2026
Posted:
08 May 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
Problem Statement
- Develop an integrated regression and deep learning model to assess the impact of climate change on agricultural productivity and ecosystem health.
- Design a predictive framework combining statistical and deep learning techniques to evaluate climate change effects on crop yield and ecosystem sustainability.
- Use regression and transformer-based deep learning models to examine how soil characteristics, climate variables, and agricultural output are related.
- Apply advanced ML and DL approaches to model agricultural productivity under varying climatic and environmental conditions.
- Evaluate the performance of regression and deep learning models in forecasting crop yields influenced by temperature, precipitation, and soil fertility.
2. Data and Methods
2.1. Data Collection
2.1.1. Crop Statistics Dataset
2.1.2. Global Weather Data
2.1.3. Soil Profile Data
2.2. Data Preprocessing
2.2.1. Handling Missing Values
2.2.2. Outlier Detection
2.2.3. Data Standardization
2.2.4. Soil Property Categorization
2.2.5. Data Merging
2.3. Regression Analysis
Multiple Linear Regression Variables Analysis
2.4. Predicting Agricultural Productivity Under Climate Change Using the PatchTST Transformer Model
PatchTST Architecture
- 1.
- Input Layer: The input layer consists of features that include:
- Temperature (T), Precipitation (P), and Soil Data (S): Climate and Environmental Factors.
- Satellite-derived Indices: Satellite images are also used to depict satellite-derived indices, which can portray how healthy the vegetation is and give more details about the health of the crops over time.
- 2.
- Patch Embedding Layer:
- 3.
- Transformer Encoder:
2.5. Model Training
2.5.1. Hyperparameters
2.5.2. Loss Function
2.6. AdaBelief Optimization for Improved Convergence in Transformer-Based Agricultural Productivity Prediction
2.6.1. Data Augmentation: Temporal Windowing
2.6.2. Mini-Batch Training
2.6.3. Learning Rate Scheduling
2.6.4. Convergence Monitoring
3. Results and Discussion
4. Conclusion
- Future Work
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- X. Xie, Y. Hu, X. Li, S. Li, X. Li, and Y. Li, “Measuring and enhancing food security resilience in China under climate change,” Systems, vol. 13, p. 1054, 2025. [CrossRef]
- Y. Wang, Q. Zhang, Y. Feng, N. Zhang, X. Zhang, and Y. Li et al., “Progress in research on deep learning-based crop yield prediction,” Agronomy, vol. 14, p. 2264, 2024. [CrossRef]
- C. Vijai, W. Wisetsri, and M. Elayaraja, “Climate change and its impact on agriculture,” Int. J. Agric. Sci. Vet. Med., vol. 11, p. 1, 2023. [CrossRef]
- E. E. Rezaei, H. Webber, S. Asseng, K. Boote, J. L. Durand, F. Ewert, … and D. S. MacCarthy, “Climate change impacts on crop yields,” Nat. Rev. Earth Environ., vol. 4, no. 12, pp. 831–846, 2023. [CrossRef]
- D. Özdemir, “The impact of climate change on agricultural productivity in Asian countries: A heterogeneous panel data approach,” Environ. Sci. Pollut. Res., vol. 29, p. 8205, 2021. [CrossRef]
- D. Weraikat, K. Šorić, M. Žagar, and M. Sokač, “Data analytics in agriculture: Enhancing decision-making for crop yield optimization and sustainable practices,” Sustainability, vol. 16, p. 7331, 2024. [CrossRef]
- C. Lesk, W. Anderson, A. J. Rigden, O. Coast, J. Jägermeyr, and S. McDermid et al., “Compound heat and moisture extreme impacts on global crop yields under climate change,” Nat. Rev. Earth Environ., vol. 3, p. 872, 2022. [CrossRef]
- M. T. Khan, J. Aleinikovienė, and L. M. Butkevičienė, “Innovative organic fertilizers and cover crops: Perspectives for sustainable agriculture,” Agronomy, vol. 14, p. 2871, 2024. [CrossRef]
- A. H. Abdi, M. O. Sugow, and D. R. Halane, “Exploring climate change resilience of major crops in Somalia,” Int. J. Agric. Sustain., vol. 22, 2024. [CrossRef]
- K. Meghraoui, I. Sebari, J. Pilz, K. A. E. Kadi, and S. Bensiali, “Applied deep learning-based crop yield prediction: Developments and challenges,” Technologies, vol. 12, p. 43, 2024. [CrossRef]
- F. M. Talaat, “Crop yield prediction algorithm in precision agriculture based on IoT techniques,” Neural Comput. Appl., vol. 35, p. 17281, 2023. [CrossRef]
- S. Iniyan, V. A. Varma, and C. T. Naidu, “Crop yield prediction using machine learning techniques,” Adv. Eng. Softw., vol. 175, p. 103326, 2022. [CrossRef]
- N. M. Gharakhanlou and L. Pérez, “Leveraging ensemble machine learning for crop yield predictions under climate change,” Sci. Total Environ., vol. 951, p. 175764, 2024. [CrossRef]
- A. Oikonomidis, C. Catal, and A. Kassahun, “Deep learning for crop yield prediction: A systematic literature review,” New Zealand J. Crop Hortic. Sci., vol. 51, no. 1, pp. 1–26, 2023. [CrossRef]
- F. Yang, Y. Zhou, J. Du, K. Wang, L. Lv, and W. Long, “Prediction of fruit characteristics of grafted plants of Camellia oleifera by deep neural networks,” Plant Methods, vol. 20, no. 1, p. 23, 2024. [CrossRef]
- G. Xu, F. Bao, S. Lu, C. Wu, Y. Liu, and W. Zheng, “Enhancing observation point analysis for atmospheric state estimation using self-supervised graph neural networks,” Atmosphere, vol. 17, p. 163, 2026. [CrossRef]
- N. Iqbal, M. U. Shahzad, E. M. Sherif, M. U. Tariq, J. Rashid, and T. Le et al., “Analysis of wheat yield prediction using machine learning models under climate change scenarios,” Sustainability, vol. 16, p. 6976, 2024. [CrossRef]
- A. J. Ayoola, J. Essien, M. Ogharandukun, and F. Uloko, “Data-driven framework for crop categorization using random forest-based approach,” Eur. J. Comput. Sci. Inf. Technol., vol. 12, p. 15, 2024. [CrossRef]
- T. Hu, X. Zhang, G. Bohrer, Y. Liu, Y. Zhou, and J. F. Martin et al., “Crop yield prediction via explainable AI and interpretable machine learning,” Agric. For. Meteorol., vol. 336, p. 109458, 2023. [CrossRef]
- K. Jhajharia, P. Mathur, S. Jain, and S. Nijhawan, “Crop yield prediction using machine learning and deep learning techniques,” Procedia Comput. Sci., vol. 218, p. 406, 2023. [CrossRef]
- M. Madhavi, R. Kolikipogu, S. Prabakar, S. Banerjee, L. P. Maguluri, G. B. Raj et al., “Remote sensing-based climate change prediction using deep learning,” Remote Sens. Earth Syst. Sci., vol. 7, p. 642, 2024. [CrossRef]
- A. Tripathi, R. K. Tiwari, and S. P. Tiwari, “Deep learning and remote sensing approach for soil health-based crop yield estimation,” Int. J. Appl. Earth Obs. Geoinf., vol. 113, p. 102959, 2022. [CrossRef]
- M. M. Jadhav, P. Agarwal, B. Umadevi, A. Khatibi, N. S. Akhila, and K. S. Sandeep et al., “Climate change prediction using satellite data modeling,” Remote Sens. Earth Syst. Sci., vol. 7, p. 283, 2024. [CrossRef]
- T. Ladi, S. Jabalameli, and A. Sharifi, “Applications of machine learning and deep learning methods for climate change mitigation and adaptation,” Environment and Planning B: Urban Analytics and City Science, vol. 49, no. 4, pp. 1314–1330, 2022. [CrossRef]
- G. F. Albaaji and S. S. V. Chandra, “Hybrid ensemble framework for improved crop yield prediction,” Neural Comput. Appl., vol. 37, p. 13321, 2025. [CrossRef]
- H. Guo, Y. Xia, J. Jin, and C. Pan, “Climate change impact on agricultural production efficiency,” Environ. Impact Assess. Rev., vol. 97, p. 106891, 2022. [CrossRef]
- “Crop Yield Variation across States.” Accessed: Apr. 17, 2026. [Online]. Available: https://kaggle.com/code/jocelyndumlao/crop-yield-variation-across-states.
- “Historical Hourly Weather Data 2012-2017.” Accessed: Apr. 17, 2026. [Online]. Available: https://www.kaggle.com/datasets/selfishgene/historical-hourly-weather-data.
- “Crop and Soil DataSet.” Accessed: Apr. 17, 2026. [Online]. Available: https://www.kaggle.com/datasets/shankarpriya2913/crop-and-soil-dataset.
- “MODIS LST & SRTM DEM Dataset for Marmara.” Accessed: Apr. 17, 2026. [Online]. Available: https://www.kaggle.com/datasets/umutalkn/modis-lst-and-dem-marmara.
- A. E. Karrar, “The effect of data pre-processing by imputations in handling missing values,” Indones. J. Electr. Eng. Inform., vol. 10, 2022. [CrossRef]
- P. Banjara, S. Poudel, K. Pariyar, D. Upreti, A. Zafeirakou, and S. R. Paudel, “AI for enhanced water quality data imputation: a deep learning perspective,” Environmental Science: Advances, vol. 4, no. 6, pp. 817–823, 2025. [CrossRef]
- Phiwhorm, C. Saikaew, C. K. Leung, P. Polpinit, and K. R. Saikaew, “Adaptive multiple imputations using class center,” J. Big Data, vol. 9, 2022. [CrossRef]
- Katyare, P.; Joshi, S.; Kulkarni, M. Forecasting Fuel Consumption Using Machine Learning. Int. J. Adv. Comput. Sci. Appl. 2024, 15. [CrossRef]
- Kontek, K.; Kenner, K. Identifying Outlier Scores in Competitions. J. Cult. Econ. 2023. [CrossRef]
- D. Cousineau and S. Chartier, “Outliers detection and treatment: A review,” Int. J. Psychol. Res., vol. 3, p. 58, 2010. [CrossRef]
- Q. Chu, L. Zhang, Z. He, Y. Wu, and W. Zhang, “A visual analysis method for predicting material properties based on uncertainty,” Applied Sciences, vol. 13, no. 8, p. 4709, 2023. [CrossRef]
- V. N. Tran, W. Zhou, T. Kim, V. Mazepa, V. Valdayskikh, and V. Y. Ivanov, “Daily records of temperature and snow depth,” Sci. Data, vol. 11, 2024. [CrossRef]
- B. Fortini, L. R. Kaiser, A. G. Frazier, and T. W. Giambelluca, “Bias in climate projections,” Clim. Change, vol. 176, 2023. [CrossRef]
- T. Fatimazahra, S. Krimissa, M. Ismaili, H. Eloudi, A. Elaloui, O. Nait-Taleb, and N. Badreldin, “Systematic review and bibliometric analysis of innovative approaches to soil fertility assessment and mapping: trends and techniques,” Applied Geomatics, vol. 17, no. 2, pp. 177–215, 2025. [CrossRef]
- F. G. Kurina, S. Hang, M. Córdoba, G. J. Negro, and M. Balzarini, “Edaphoclimatic zoning with spatial statistics,” Geoderma, vol. 310, p. 170, 2017. [CrossRef]
- Debeljak, A. Trajanov, V. Kuzmanovski, J. Schröder, T. Sandén, H. Spiegel, D. P. Wall, M. Van de Broek, M. Rutgers, F. Bampa, R. E. Creamer, and C. B. Henriksen, “Field-scale decision support system for soil functions,” Front. Environ. Sci., vol. 7, 2019. [CrossRef]
- Z. Ahmed, D. Gui, Z. Qi, Y. Liu, Y. Liu, and M. Azmat, “Agricultural system modeling: current achievements, innovations, and future roadmap,” Arabian Journal of Geosciences, vol. 15, no. 4, p. 363, 2022. [CrossRef]
- J. Gaona, P. Benito-Verdugo, J. Martínez-Fernández, Á. González-Zamora, L. Almendra-Martín, and C. M. Herrero-Jiménez, “Soil moisture vs climate factors in crop yield,” Agriculture, vol. 12, p. 533, 2022. [CrossRef]
- A. Ruiz-Giralt, S. Biagetti, M. Madella, and C. Lancelotti, “Small-scale farming in drylands,” PLoS ONE, vol. 18, 2023. [CrossRef]
- Lehner and D. Philippe, “Agricultural suitability index across Europe,” Sci. Data, vol. 12, p. 101, 2025. [CrossRef]
- Iglesias, L. Garrote, S. Quiroga, and M. Moneo, “Climate change effects on crops in Europe,” Clim. Change, vol. 112, p. 29, 2011. [CrossRef]
- P. Agnolucci, C. Rapti, P. Alexander et al., “Impacts of rising temperatures on global yields,” Nat. Food, vol. 1, p. 562, 2020. [CrossRef]
- P. Zhu, J. Burney, J. Chang et al., “Warming reduces global agricultural production,” Nat. Clim. Change, vol. 12, p. 1016, 2022. [CrossRef]
- J. Chou, Y. Xu, W. Dong, W. Zhao, J. Li, and Y. Li, “Economy-climate model for future projections,” Front. Phys., vol. 9, 2021. [CrossRef]
- K. Newlands, D. S. Zamar, L. A. Kouadio, Y. Zhang, A. Chipanshi, A. Potgieter, S. Toure, and H. S. J. Hill, “Probabilistic model for seasonal crop yield forecasting,” Front. Environ. Sci., vol. 2, 2014. [CrossRef]
- J. Ansarifar, L. Wang, and S. V. Archontoulis, “Interaction regression model for crop yield prediction,” Sci. Rep., vol. 11, p. 17754, 2021. [CrossRef]
- Schauberger, J. Jägermeyr, and C. Gornott, “Review of yield forecasting approaches,” Eur. J. Agron., vol. 120, p. 126153, 2020. [CrossRef]
- R. Sarala, “Machine learning and spatio-temporal climate patterns,” J. Inf. Syst. Eng. Manag., vol. 10, p. 77, 2025. [CrossRef]
- E. D. Ruby, G. Amirthayogam, G. Sasi, T. Chitra, A. Choubey, and S. Gopalakrishnan, “Advanced image processing techniques for automated detection of healthy and infected leaves in agricultural systems,” Mesopotamian Journal of Computer Science, vol. 4, no. 1, pp. 44–52, 2024. [CrossRef]






| Dataset | Variable Type | Period | Spatial Unit | Processing |
|---|---|---|---|---|
| Crop Yield Variation across States | Crop yield | As provided | State-level | Direct use / cleaned |
| Historical Hourly Weather Data | Temperature, humidity | 2012–2017 | Station/City | Hourly → zannual mean |
| Crop and Soil Dataset | Soil & crop features | As provided | Region/field | Cleaning + encoding |
| MODIS LST & DEM | Temperature, elevation | As provided | Grid → region | Spatial averaging |
| Variable | Coefficient (β) | Std. Error | t-Statistic | p-Value |
|---|---|---|---|---|
| Intercept (β0) | 1.84 | 0.27 | 6.81 | < 0.001 |
| Temperature (T) | −0.65 | 0.09 | −7.22 | < 0.001 |
| Precipitation (P) | 0.43 | 0.07 | 6.14 | < 0.001 |
| Soil Fertility Index (SFI) | 0.59 | 0.06 | 9.83 | < 0.001 |
| R2 | 0.82 | - | - | - |
| Adjusted R2 | 0.80 | - | - | - |
| RMSE | 0.118 | - | - | - |
| Model | RMSE | MAE | R2 Score |
|---|---|---|---|
| LSTM | 0.089 | 0.073 | 0.88 |
| BiLSTM | 0.072 | 0.056 | 0.91 |
| GRU | 0.078 | 0.061 | 0.89 |
| PatchTST Transformer (Proposed) | 0.0172 | 0.0134 | 0.98 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.