Author
Listed:
- Md Anamul Kabir
- Chatak Chakma
Abstract
Bangladesh, being a country that relies on agriculture, has its agricultural sector contributing around 20% to the Gross Domestic Product (GDP) and providing employment opportunities for nearly 60% of the population. The study proposes a novel multi-step forecasting deep-learning framework designed to forecast the maximum temperature and humidity of 24 cities, called Hierarchical Temporal Convolutional Long Short-Term Memory with attention (HTC-LSTM-Attn). The model contains hierarchical temporal convolutions (HTC) for extracting multi-scale patterns, bidirectional LSTMs for sequential dependencies, and an attention mechanism for learning to weigh time steps differently, while parameters are optimized with Keras tuner. Using data from Bangladesh Agricultural Research Council (BARC) from 1961 to 2022 and rigorous preprocessing with seasonal features and lagged statistics, the model obtains temperature results for with a Mean Absolute Error (MAE) of 0.8178 °C, Root Mean Squared Error (RMSE) of 0.9718 °C, R-squared (R²) of 0.8527, and Mean Absolute Percentage Error (MAPE) of 2.8823% and humidity with MAE of 2.4693%, RMSE of 3.2442%, R² of 0.7228, and MAPE of 3.1757% values on a strict temporal test set (19 stations, 2016–2022). On a spatial hold-out test set (5 unseen stations, 2016–2022) performance remains robust, temperature with MAE of 0.9587 °C, RMSE of 1.1898 °C, R² of 0.8342, and MAPE of 3.1534% and humidity with MAE of 2.4796%, RMSE of 3.2119%, R² of 0.6561, and MAPE of 3.2045% consistently surpassing performance measures of models Gated Recurrent Unit (GRU), Long Short-Term Memory (LSTM), Convolutional Neural Network (CNN), Decision Tree Regression (DTR), Convolutional Neural Network – Long Short-Term Memory (CNN-LSTM) and latest transformer-based architectures (Autoformer, FEDformer, TimesNet, and Pyraformer). These results have shown robust spatial performance with the respective improvements needed in agricultural planning and disaster management in Bangladesh, in its vulnerable climate context.
Suggested Citation
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0342431. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.