Cross-station transferability of machine learning and deep learning models for multi-horizon temperature forecasting in Bangladesh agricultural zones
Open Access
- 5 November 2026
- journal article
- Published by IWA Publishing in Journal of Water and Climate Change
Abstract
Four linked panels with a take-home ribbon. (1) Station diagram: Mymensingh (north-central training station, daily temperature SD 4.27 degree symbol C) linked to Rajshahi (dry western, 5.03 degree symbol C) and Chittagong (coastal south-east, 3.39 degree symbol C); solid arrows show direct transfer (trained at Mymensingh, tested at Rajshahi and Chittagong) and dashed arrows show reverse transfer (trained at Rajshahi or Chittagong, tested at Mymensingh); a small bar chart ranks native variability (Rajshahi greater than Mymensingh greater than Chittagong). (2) Six ML and five DL models over four horizons, with the best model at Mymensingh per horizon: CNN_LSTM at 1 day (RMSE 1.15 degree symbol C, R2 0.93) and 7 days (1.60 degree symbol C, 0.87), CNN_GRU at 15 and 30 days (1.63 degree symbol C, 0.86). (3) Grouped bar chart of mean R2 change across eleven models for the four transfer directions; Mymensingh-to-Chittagong shows the largest loss (up to 28% at 30 days) and Rajshahi-to-Mymensingh the smallest (under 3%). (4) Key findings: RMSE rose 6.1 to 68.2% under transfer to Rajshahi; at Chittagong RMSE fell 3.1% at 1 day through a scale effect while R2 dropped 21.5-28.1% at 7-30 days; Rajshahi-to-Mymensingh RMSE changed only -1.4 to +6.8%, with RFR leading at 7-30 days; Chittagong-to-Mymensingh RMSE rose 11.4-19.6%; XGB collapsed at 30 days at every station (RMSE 2.42 degree symbol C at Mymensingh). Ribbon: transfer difficulty follows native temperature variability, not training-station identity, and transferability should be judged by R2 rather than RMSE alone. Accurate air temperature forecasting supports agricultural planning in climate-vulnerable regions, yet spatial transferability of machine learning and deep learning models remains underexplored. This study compares eleven architectures (MLR, RFR, GBR, XGB, LGBMR, SVR, LSTM, CNN, GRU, CNN_LSTM, CNN_GRU) across four horizons (1, 7, 15, 30 days) using 25-year records (2000–2024) from three climatically distinct Bangladesh stations. Models trained at Mymensingh were validated without retraining at Rajshahi and Chittagong, then tested in reverse, training independently at each station and validating at Mymensingh. CNN_LSTM led at the 1- and 7-day horizons (RMSE = 1.15 ± 0.05 °C and 1.60 ± 0.04 °C) and CNN_GRU at 15 and 30 days (RMSE = 1.63 ± 0.05 °C and 1.63 ± 0.06 °C), all with R2 above 0.85. Transfer produced 6–68% RMSE degradation at Rajshahi, and a smaller RMSE change but larger R2 loss at Chittagong, reaching 50.7% for MLR at 30 days. Reverse transfer confirmed that difficulty tracks native variability rather than training-station identity, with milder changes and RFR outperforming the deep hybrid models at Rajshahi. XGB, though efficient, collapsed at the 30-day horizon at all stations. A seven-metric, PCA-based composite ranking confirmed these patterns, guiding horizon- and location-specific model selection, supporting climate-resilient agricultural planning in data-sparse regions.Keywords
Funding Information
- Ministry of Science and Technology, Government of the People’s Republic of Bangladesh (SRG-251038)
This publication has 44 references indexed in Scilit:
- Gated recurrent unit models outperform other Machine learning models in prediction of minimum temperature in greenhouse Based on local weather dataComputers and Electronics in Agriculture, 2022
- Crop calendar optimization for climate change adaptation in rice-based multiple cropping systems of India and BangladeshAgricultural and Forest Meteorology, 2022
- Short-term air temperature prediction by adaptive neuro-fuzzy inference system (ANFIS) and long short-term memory (LSTM) networkMeteorology and Atmospheric Physics, 2021
- Deep learning-based effective fine-grained weather forecasting modelPattern Analysis and Applications, 2020
- Multifactor spatio-temporal correlation model based on a combination of convolutional neural network and long short-term memory neural network for wind speed forecastingEnergy Conversion and Management, 2019
- Univariate Time Series Forecasting of Temperature and Precipitation with a Focus on Machine Learning Algorithms: a Multiple-Case Study from GreeceWater Resources Management, 2018
- Comparison of Support Vector Machine and Extreme Gradient Boosting for predicting daily global solar radiation using temperature and precipitation in humid subtropical climates: A case study in ChinaEnergy Conversion and Management, 2018
- Principal component analysisWIREs Computational Statistics, 2010
- Support vector regression with reduced training sets for air temperature prediction: a comparison with artificial neural networksNeural Computing and Applications, 2010
- Artificial neural networks for automated year-round temperature predictionComputers and Electronics in Agriculture, 2009