README.md 905 Bytes
Newer Older
chenzk's avatar
v1.0  
chenzk committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# iTransformer for Enlarged Lookback Window

This folder contains the implementation of the iTransformer for an enlarged lookback window. If you are new to this repo, we recommend you to read this [README](../multivariate_forecasting/README.md) first.

## Scripts

In each folder named after the dataset, we provide the iTransformers and the vanilla Transformers experiments under five increasing prediction lengths.

```
# iTransformer on the Traffic Dataset with gradually enlarged lookback windows.

bash ./scripts/increasing_lookback/Traffic/iTransformer.sh
```

You can change the ```model_name``` in the script to switch the selection of the vanilla Transformer and the inverted version.

## Results

<p align="center">
<img src="../../figures/increase_lookback.png" alt="" align=center />
</p>

The inverted framework empowers Transformers with improved performance on the enlarged lookback window.