first commit
This commit is contained in:
@ -0,0 +1,28 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=PatchTST
|
||||
|
||||
for aug in jitter scaling permutation magwarp timewarp windowslice windowwarp rotation spawner dtwwarp shapedtwwarp wdba discdtw discsdtw
|
||||
do
|
||||
echo using augmentation: ${aug}
|
||||
|
||||
python -u run.py \
|
||||
--task_name classification \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/EthanolConcentration/ \
|
||||
--model_id EthanolConcentration \
|
||||
--model $model_name \
|
||||
--data UEA \
|
||||
--e_layers 3 \
|
||||
--batch_size 16 \
|
||||
--d_model 128 \
|
||||
--d_ff 256 \
|
||||
--top_k 3 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--learning_rate 0.001 \
|
||||
--train_epochs 100 \
|
||||
--patience 10 \
|
||||
--augmentation_ratio 1 \
|
||||
--${aug}
|
||||
done
|
@ -0,0 +1,33 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=PatchTST
|
||||
for aug in jitter scaling permutation magwarp timewarp windowslice windowwarp rotation spawner dtwwarp shapedtwwarp discdtw discsdtw
|
||||
do
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
echo using augmentation: ${aug}
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/exchange_rate/ \
|
||||
--data_path exchange_rate.csv \
|
||||
--model_id Exchange_96_${pred_len} \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len ${pred_len} \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 8 \
|
||||
--dec_in 8 \
|
||||
--c_out 8 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--augmentation_ratio 1 \
|
||||
--${aug}
|
||||
done
|
||||
done
|
97
scripts/long_term_forecast/AugmentSample/ReadMe.md
Normal file
97
scripts/long_term_forecast/AugmentSample/ReadMe.md
Normal file
@ -0,0 +1,97 @@
|
||||
# Augmentation Feature Roadbook
|
||||
|
||||
Hi there! For those who are interested in testing
|
||||
augmentation techniques in `Time-Series-Library`.
|
||||
|
||||
For now, we have embedded several augmentation methods
|
||||
in this repo. We are still collecting publicly available
|
||||
augmentation algorithms, and we appreciate your valuable
|
||||
advice!
|
||||
|
||||
```
|
||||
The Implemented Augmentation Methods
|
||||
1. jitter
|
||||
2. scaling
|
||||
3. permutation
|
||||
4. magwarp
|
||||
5. timewarp
|
||||
6. windowslice
|
||||
7. windowwarp
|
||||
8. rotation
|
||||
9. spawner
|
||||
10. dtwwarp
|
||||
11. shapedtwwarp
|
||||
12. wdba (Specially Designed for Classification tasks)
|
||||
13. discdtw
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
In this folder, we present two sample of shell scripts
|
||||
doing augmentation in `Forecasting` and `Classification`
|
||||
tasks.
|
||||
|
||||
Take `Forecasting` task for example, we test multiple
|
||||
augmentation algorithms on `EthanolConcentration` dataset
|
||||
(a subset of the popular classification benchmark `UEA`)
|
||||
using `PatchTST` model.
|
||||
|
||||
```shell
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=PatchTST
|
||||
|
||||
for aug in jitter scaling permutation magwarp timewarp windowslice windowwarp rotation spawner dtwwarp shapedtwwarp wdba discdtw discsdtw
|
||||
do
|
||||
echo using augmentation: ${aug}
|
||||
|
||||
python -u run.py \
|
||||
--task_name classification \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/EthanolConcentration/ \
|
||||
--model_id EthanolConcentration \
|
||||
--model $model_name \
|
||||
--data UEA \
|
||||
--e_layers 3 \
|
||||
--batch_size 16 \
|
||||
--d_model 128 \
|
||||
--d_ff 256 \
|
||||
--top_k 3 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--learning_rate 0.001 \
|
||||
--train_epochs 100 \
|
||||
--patience 10 \
|
||||
--augmentation_ratio 1 \
|
||||
--${aug}
|
||||
done
|
||||
```
|
||||
|
||||
Here, parameter `augmentation_ratio` represents how many
|
||||
times do we want to perform our augmentation method.
|
||||
Parameter `${aug}` represents a string of augmentation
|
||||
type label.
|
||||
|
||||
The example here only perform augmentation once, so we
|
||||
can set `augmentation_ratio` to `1`, followed by one
|
||||
augmentation type label. Trivially, you can set
|
||||
`augmentation_ratio` to an integer `num` followed by
|
||||
`num` augmentation type labels.
|
||||
|
||||
The augmentation code obeys the same prototype of
|
||||
`Time-Series-Library`. If you want to adjust other
|
||||
training parameters, feel free to add arguments to the
|
||||
shell scripts and play around. The full list of parameters
|
||||
can be seen in `run.py`.
|
||||
|
||||
## Contact Us!
|
||||
|
||||
This piece of code is written and maintained by
|
||||
[Yunzhong Qiu](https://github.com/DigitalLifeYZQiu).
|
||||
We thank [Haixu Wu](https://github.com/wuhaixu2016) and
|
||||
[Jiaxiang Dong](https://github.com/dongjiaxiang) for
|
||||
insightful discussion and solid support.
|
||||
|
||||
If you have difficulties or find bugs in our code, please
|
||||
contact us:
|
||||
- Email: qiuyz24@mails.tsinghua.edu.cn
|
87
scripts/long_term_forecast/ECL_script/Autoformer.sh
Normal file
87
scripts/long_term_forecast/ECL_script/Autoformer.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=Autoformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
103
scripts/long_term_forecast/ECL_script/Crossformer.sh
Normal file
103
scripts/long_term_forecast/ECL_script/Crossformer.sh
Normal file
@ -0,0 +1,103 @@
|
||||
export CUDA_VISIBLE_DEVICES=7
|
||||
|
||||
model_name=Crossformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ECL_script/DLinear.sh
Normal file
87
scripts/long_term_forecast/ECL_script/DLinear.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=DLinear
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ECL_script/ETSformer.sh
Normal file
87
scripts/long_term_forecast/ECL_script/ETSformer.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=ETSformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ECL_script/FEDformer.sh
Normal file
87
scripts/long_term_forecast/ECL_script/FEDformer.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=FEDformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
91
scripts/long_term_forecast/ECL_script/FiLM.sh
Normal file
91
scripts/long_term_forecast/ECL_script/FiLM.sh
Normal file
@ -0,0 +1,91 @@
|
||||
export CUDA_VISIBLE_DEVICES=3
|
||||
|
||||
model_name=FiLM
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features S \
|
||||
--seq_len 192 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features S \
|
||||
--seq_len 192 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features S \
|
||||
--seq_len 192 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features S \
|
||||
--seq_len 192 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ECL_script/Informer.sh
Normal file
87
scripts/long_term_forecast/ECL_script/Informer.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=Informer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ECL_script/Koopa.sh
Normal file
87
scripts/long_term_forecast/ECL_script/Koopa.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=Koopa
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_48 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--pred_len 48 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_192_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 192 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_288_144 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 288 \
|
||||
--pred_len 144 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_384_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 384 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ECL_script/LightTS.sh
Normal file
87
scripts/long_term_forecast/ECL_script/LightTS.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=LightTS
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
99
scripts/long_term_forecast/ECL_script/MICN.sh
Normal file
99
scripts/long_term_forecast/ECL_script/MICN.sh
Normal file
@ -0,0 +1,99 @@
|
||||
export CUDA_VISIBLE_DEVICES=4
|
||||
|
||||
model_name=MICN
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
30
scripts/long_term_forecast/ECL_script/Mamba.sh
Normal file
30
scripts/long_term_forecast/ECL_script/Mamba.sh
Normal file
@ -0,0 +1,30 @@
|
||||
model_name=Mamba
|
||||
|
||||
for pred_len in 96 192 336 720
|
||||
# for pred_len in 336 720
|
||||
do
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_$pred_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len $pred_len \
|
||||
--label_len 48 \
|
||||
--pred_len $pred_len \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 321 \
|
||||
--expand 2 \
|
||||
--d_ff 16 \
|
||||
--d_conv 4 \
|
||||
--c_out 321 \
|
||||
--d_model 128 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
|
||||
done
|
98
scripts/long_term_forecast/ECL_script/MultiPatchFormer.sh
Normal file
98
scripts/long_term_forecast/ECL_script/MultiPatchFormer.sh
Normal file
@ -0,0 +1,98 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=MultiPatchFormer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--des 'Exp' \
|
||||
--n_heads 8 \
|
||||
--batch_size 32 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
@ -0,0 +1,99 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=Nonstationary_Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
||||
--d_model 2048
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
||||
--d_model 2048
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
||||
--d_model 2048
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
||||
--d_model 2048
|
91
scripts/long_term_forecast/ECL_script/PatchTST.sh
Normal file
91
scripts/long_term_forecast/ECL_script/PatchTST.sh
Normal file
@ -0,0 +1,91 @@
|
||||
export CUDA_VISIBLE_DEVICES=6
|
||||
|
||||
model_name=PatchTST
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ECL_script/Pyraformer.sh
Normal file
87
scripts/long_term_forecast/ECL_script/Pyraformer.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=Pyraformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ECL_script/Reformer.sh
Normal file
87
scripts/long_term_forecast/ECL_script/Reformer.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=Reformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
27
scripts/long_term_forecast/ECL_script/SegRNN.sh
Normal file
27
scripts/long_term_forecast/ECL_script/SegRNN.sh
Normal file
@ -0,0 +1,27 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=SegRNN
|
||||
|
||||
seq_len=96
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_$seq_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--pred_len $pred_len \
|
||||
--seg_len 24 \
|
||||
--enc_in 321 \
|
||||
--d_model 512 \
|
||||
--dropout 0 \
|
||||
--learning_rate 0.001 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
done
|
||||
|
98
scripts/long_term_forecast/ECL_script/TSMixer.sh
Executable file
98
scripts/long_term_forecast/ECL_script/TSMixer.sh
Executable file
@ -0,0 +1,98 @@
|
||||
|
||||
model_name=TSMixer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
134
scripts/long_term_forecast/ECL_script/TimeMixer.sh
Executable file
134
scripts/long_term_forecast/ECL_script/TimeMixer.sh
Executable file
@ -0,0 +1,134 @@
|
||||
#export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=TimeMixer
|
||||
|
||||
seq_len=96
|
||||
e_layers=3
|
||||
down_sampling_layers=3
|
||||
down_sampling_window=2
|
||||
learning_rate=0.01
|
||||
d_model=16
|
||||
d_ff=32
|
||||
batch_size=32
|
||||
train_epochs=20
|
||||
patience=10
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_$seq_len'_'96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 96 \
|
||||
--e_layers $e_layers \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size $batch_size \
|
||||
--learning_rate $learning_rate \
|
||||
--train_epochs $train_epochs \
|
||||
--patience $patience \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_$seq_len'_'192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 192 \
|
||||
--e_layers $e_layers \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size $batch_size \
|
||||
--learning_rate $learning_rate \
|
||||
--train_epochs $train_epochs \
|
||||
--patience $patience \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_$seq_len'_'336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 336 \
|
||||
--e_layers $e_layers \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size $batch_size \
|
||||
--learning_rate $learning_rate \
|
||||
--train_epochs $train_epochs \
|
||||
--patience $patience \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_$seq_len'_'720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 720 \
|
||||
--e_layers $e_layers \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size $batch_size \
|
||||
--learning_rate $learning_rate \
|
||||
--train_epochs $train_epochs \
|
||||
--patience $patience \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
88
scripts/long_term_forecast/ECL_script/TimeXer.sh
Normal file
88
scripts/long_term_forecast/ECL_script/TimeXer.sh
Normal file
@ -0,0 +1,88 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=TimeXer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 4 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--d_ff 512 \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 3 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 4 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 3 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
99
scripts/long_term_forecast/ECL_script/TimesNet.sh
Normal file
99
scripts/long_term_forecast/ECL_script/TimesNet.sh
Normal file
@ -0,0 +1,99 @@
|
||||
export CUDA_VISIBLE_DEVICES=4
|
||||
|
||||
model_name=TimesNet
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ECL_script/Transformer.sh
Normal file
87
scripts/long_term_forecast/ECL_script/Transformer.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features S \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 1 \
|
||||
--dec_in 1 \
|
||||
--c_out 1 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features S \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 1 \
|
||||
--dec_in 1 \
|
||||
--c_out 1 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features S \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 1 \
|
||||
--dec_in 1 \
|
||||
--c_out 1 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features S \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 1 \
|
||||
--dec_in 1 \
|
||||
--c_out 1 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
49
scripts/long_term_forecast/ECL_script/WPMixer.sh
Normal file
49
scripts/long_term_forecast/ECL_script/WPMixer.sh
Normal file
@ -0,0 +1,49 @@
|
||||
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
# Model name
|
||||
model_name=WPMixer
|
||||
|
||||
# Datasets and prediction lengths
|
||||
dataset=electricity
|
||||
seq_lens=(512 512 512 512)
|
||||
pred_lens=(96 192 336 720)
|
||||
learning_rates=(0.00328086 0.000493286 0.002505375 0.001977516)
|
||||
batches=(32 32 32 32)
|
||||
epochs=(100 100 100 100)
|
||||
dropouts=(0.1 0.1 0.2 0.1)
|
||||
patch_lens=(16 16 16 16)
|
||||
lradjs=(type3 type3 type3 type3)
|
||||
d_models=(32 32 32 32)
|
||||
patiences=(12 12 12 12)
|
||||
|
||||
# Model params below need to be set in WPMixer.py Line 15, instead of this script
|
||||
wavelets=(sym3 coif5 sym4 db2)
|
||||
levels=(2 3 1 2)
|
||||
tfactors=(3 7 5 7)
|
||||
dfactors=(5 5 7 8)
|
||||
strides=(8 8 8 8)
|
||||
|
||||
# Loop over datasets and prediction lengths
|
||||
for i in "${!pred_lens[@]}"; do
|
||||
python -u run.py \
|
||||
--is_training 1 \
|
||||
--root_path ./data/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id wpmixer \
|
||||
--model $model_name \
|
||||
--task_name long_term_forecast \
|
||||
--data $dataset \
|
||||
--seq_len ${seq_lens[$i]} \
|
||||
--pred_len ${pred_lens[$i]} \
|
||||
--label_len 0 \
|
||||
--d_model ${d_models[$i]} \
|
||||
--patch_len ${patch_lens[$i]} \
|
||||
--batch_size ${batches[$i]} \
|
||||
--learning_rate ${learning_rates[$i]} \
|
||||
--lradj ${lradjs[$i]} \
|
||||
--dropout ${dropouts[$i]} \
|
||||
--patience ${patiences[$i]} \
|
||||
--train_epochs ${epochs[$i]} \
|
||||
--use_amp
|
||||
done
|
105
scripts/long_term_forecast/ECL_script/iTransformer.sh
Normal file
105
scripts/long_term_forecast/ECL_script/iTransformer.sh
Normal file
@ -0,0 +1,105 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=iTransformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--d_model 512 \
|
||||
--d_ff 512 \
|
||||
--batch_size 16 \
|
||||
--learning_rate 0.0005 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--d_model 512 \
|
||||
--d_ff 512 \
|
||||
--batch_size 16 \
|
||||
--learning_rate 0.0005 \
|
||||
--itr 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--d_model 512 \
|
||||
--d_ff 512 \
|
||||
--batch_size 16 \
|
||||
--learning_rate 0.0005 \
|
||||
--itr 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/electricity/ \
|
||||
--data_path electricity.csv \
|
||||
--model_id ECL_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 321 \
|
||||
--dec_in 321 \
|
||||
--c_out 321 \
|
||||
--des 'Exp' \
|
||||
--d_model 512 \
|
||||
--d_ff 512 \
|
||||
--batch_size 16 \
|
||||
--learning_rate 0.0005 \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Autoformer_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Autoformer_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Autoformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Autoformer_ETTh2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Autoformer_ETTh2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Autoformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Autoformer_ETTm1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Autoformer_ETTm1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=Autoformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Autoformer_ETTm2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Autoformer_ETTm2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Autoformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Crossformer_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Crossformer_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=Crossformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Crossformer_ETTh2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Crossformer_ETTh2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=Crossformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
83
scripts/long_term_forecast/ETT_script/Crossformer_ETTm1.sh
Normal file
83
scripts/long_term_forecast/ETT_script/Crossformer_ETTm1.sh
Normal file
@ -0,0 +1,83 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Crossformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Crossformer_ETTm2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Crossformer_ETTm2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=4
|
||||
|
||||
model_name=Crossformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/DLinear_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/DLinear_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=DLinear
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/ETSformer_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/ETSformer_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=ETSformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/FEDformer_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/FEDformer_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=FEDformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/FiLM_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/FiLM_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=FiLM
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 336 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 336 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 336 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 336 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/FiLM_ETTh2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/FiLM_ETTh2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=6
|
||||
|
||||
model_name=FiLM
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 168 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 168 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 168 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 168 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/FiLM_ETTm1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/FiLM_ETTm1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=6
|
||||
|
||||
model_name=FiLM
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 720 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 720 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 720 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 720 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/FiLM_ETTm2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/FiLM_ETTm2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=3
|
||||
|
||||
model_name=FiLM
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 720 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 720 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 720 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 720 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Informer_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Informer_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Informer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Koopa_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Koopa_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Koopa
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_48 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--pred_len 48 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_192_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 192 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_288_144 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 288 \
|
||||
--pred_len 144 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_384_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 384 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Koopa_ETTh2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Koopa_ETTh2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Koopa
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_48 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--pred_len 48 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_192_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 192 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_288_144 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 288 \
|
||||
--pred_len 144 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_384_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 384 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Koopa_ETTm1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Koopa_ETTm1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Koopa
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_48 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--pred_len 48 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_192_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 192 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_288_144 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 288 \
|
||||
--pred_len 144 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_384_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 384 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Koopa_ETTm2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Koopa_ETTm2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Koopa
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_48 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--pred_len 48 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_192_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 192 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_288_144 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 288 \
|
||||
--pred_len 144 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_384_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 384 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--learning_rate 0.001 \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/LightTS_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/LightTS_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=LightTS
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/MICN_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/MICN_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=MICN
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/MICN_ETTh2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/MICN_ETTh2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=MICN
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
91
scripts/long_term_forecast/ETT_script/MICN_ETTm1.sh
Normal file
91
scripts/long_term_forecast/ETT_script/MICN_ETTm1.sh
Normal file
@ -0,0 +1,91 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=MICN
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--top_k 5 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--top_k 5 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--top_k 5 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--top_k 5 \
|
||||
--itr 1
|
91
scripts/long_term_forecast/ETT_script/MICN_ETTm2.sh
Normal file
91
scripts/long_term_forecast/ETT_script/MICN_ETTm2.sh
Normal file
@ -0,0 +1,91 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=MICN
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--top_k 5 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--top_k 5 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--top_k 5 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 96 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--top_k 5 \
|
||||
--itr 1
|
29
scripts/long_term_forecast/ETT_script/MambaSimple_ETTh1.sh
Normal file
29
scripts/long_term_forecast/ETT_script/MambaSimple_ETTh1.sh
Normal file
@ -0,0 +1,29 @@
|
||||
model_name=MambaSimple
|
||||
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_$pred_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len $pred_len \
|
||||
--label_len 48 \
|
||||
--pred_len $pred_len \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--expand 2 \
|
||||
--d_ff 16 \
|
||||
--d_conv 4 \
|
||||
--c_out 7 \
|
||||
--d_model 128 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
|
||||
done
|
4
scripts/long_term_forecast/ETT_script/Mamba_ETT_all.sh
Normal file
4
scripts/long_term_forecast/ETT_script/Mamba_ETT_all.sh
Normal file
@ -0,0 +1,4 @@
|
||||
./scripts/long_term_forecast/ETT_script/Mamba_ETTh1.sh | tee mamba_ett.txt
|
||||
./scripts/long_term_forecast/ETT_script/Mamba_ETTh2.sh | tee mamba_ett.txt -a
|
||||
./scripts/long_term_forecast/ETT_script/Mamba_ETTm1.sh | tee mamba_ett.txt -a
|
||||
./scripts/long_term_forecast/ETT_script/Mamba_ETTm2.sh | tee mamba_ett.txt -a
|
28
scripts/long_term_forecast/ETT_script/Mamba_ETTh1.sh
Normal file
28
scripts/long_term_forecast/ETT_script/Mamba_ETTh1.sh
Normal file
@ -0,0 +1,28 @@
|
||||
model_name=Mamba
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_$pred_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len $pred_len \
|
||||
--label_len 48 \
|
||||
--pred_len $pred_len \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--expand 2 \
|
||||
--d_ff 16 \
|
||||
--d_conv 4 \
|
||||
--c_out 7 \
|
||||
--d_model 128 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
|
||||
done
|
28
scripts/long_term_forecast/ETT_script/Mamba_ETTh2.sh
Normal file
28
scripts/long_term_forecast/ETT_script/Mamba_ETTh2.sh
Normal file
@ -0,0 +1,28 @@
|
||||
model_name=Mamba
|
||||
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_$pred_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len $pred_len \
|
||||
--label_len 48 \
|
||||
--pred_len $pred_len \
|
||||
--e_layers 2 \
|
||||
--enc_in 7 \
|
||||
--expand 2 \
|
||||
--d_ff 16 \
|
||||
--d_conv 4 \
|
||||
--c_out 7 \
|
||||
--d_model 128 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
|
||||
done
|
28
scripts/long_term_forecast/ETT_script/Mamba_ETTm1.sh
Normal file
28
scripts/long_term_forecast/ETT_script/Mamba_ETTm1.sh
Normal file
@ -0,0 +1,28 @@
|
||||
model_name=Mamba
|
||||
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_$pred_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len $pred_len \
|
||||
--label_len 48 \
|
||||
--pred_len $pred_len \
|
||||
--e_layers 2 \
|
||||
--enc_in 7 \
|
||||
--expand 2 \
|
||||
--d_ff 16 \
|
||||
--d_conv 4 \
|
||||
--c_out 7 \
|
||||
--d_model 128 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
|
||||
done
|
28
scripts/long_term_forecast/ETT_script/Mamba_ETTm2.sh
Normal file
28
scripts/long_term_forecast/ETT_script/Mamba_ETTm2.sh
Normal file
@ -0,0 +1,28 @@
|
||||
model_name=Mamba
|
||||
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_$pred_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len $pred_len \
|
||||
--label_len 48 \
|
||||
--pred_len $pred_len \
|
||||
--e_layers 2 \
|
||||
--enc_in 7 \
|
||||
--expand 2 \
|
||||
--d_ff 16 \
|
||||
--d_conv 4 \
|
||||
--c_out 7 \
|
||||
--d_model 128 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
|
||||
done
|
@ -0,0 +1,90 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=MultiPatchFormer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
@ -0,0 +1,98 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=MultiPatchFormer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--des 'Exp' \
|
||||
--n_heads 8 \
|
||||
--batch_size 32 \
|
||||
--itr 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--des 'Exp' \
|
||||
--n_heads 8 \
|
||||
--batch_size 32 \
|
||||
--itr 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--des 'Exp' \
|
||||
--n_heads 8 \
|
||||
--batch_size 32 \
|
||||
--itr 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--des 'Exp' \
|
||||
--n_heads 8 \
|
||||
--batch_size 32 \
|
||||
--itr 1
|
@ -0,0 +1,99 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Nonstationary_Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
||||
--d_model 128
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
||||
--d_model 128
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
||||
--d_model 128
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
||||
--d_model 128
|
@ -0,0 +1,95 @@
|
||||
export CUDA_VISIBLE_DEVICES=7
|
||||
|
||||
model_name=Nonstationary_Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 256 256 \
|
||||
--p_hidden_layers 4 \
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2 \
|
@ -0,0 +1,91 @@
|
||||
export CUDA_VISIBLE_DEVICES=3
|
||||
|
||||
model_name=Nonstationary_Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 16 16 16 16 \
|
||||
--p_hidden_layers 4
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 16 16 16 16 \
|
||||
--p_hidden_layers 4
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 16 16 16 16 \
|
||||
--p_hidden_layers 4
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 16 16 16 16 \
|
||||
--p_hidden_layers 4
|
@ -0,0 +1,95 @@
|
||||
export CUDA_VISIBLE_DEVICES=4
|
||||
|
||||
model_name=Nonstationary_Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 256 256 \
|
||||
--p_hidden_layers 4
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 256 256 256 256 \
|
||||
--p_hidden_layers 4
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 16 16 16 16 \
|
||||
--p_hidden_layers 4
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 16 16 16 16 \
|
||||
--p_hidden_layers 4
|
83
scripts/long_term_forecast/ETT_script/PAttn_ETTh1.sh
Normal file
83
scripts/long_term_forecast/ETT_script/PAttn_ETTh1.sh
Normal file
@ -0,0 +1,83 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=PAttn
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 2 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 8 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 8 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 16 \
|
||||
--itr 1
|
91
scripts/long_term_forecast/ETT_script/PatchTST_ETTh1.sh
Normal file
91
scripts/long_term_forecast/ETT_script/PatchTST_ETTh1.sh
Normal file
@ -0,0 +1,91 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=PatchTST
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 2 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 8 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 8 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 16 \
|
||||
--itr 1
|
91
scripts/long_term_forecast/ETT_script/PatchTST_ETTh2.sh
Normal file
91
scripts/long_term_forecast/ETT_script/PatchTST_ETTh2.sh
Normal file
@ -0,0 +1,91 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=PatchTST
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 4 \
|
||||
--itr 1
|
95
scripts/long_term_forecast/ETT_script/PatchTST_ETTm1.sh
Normal file
95
scripts/long_term_forecast/ETT_script/PatchTST_ETTm1.sh
Normal file
@ -0,0 +1,95 @@
|
||||
export CUDA_VISIBLE_DEVICES=4
|
||||
|
||||
model_name=PatchTST
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 2 \
|
||||
--batch_size 32 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 2 \
|
||||
--batch_size 128 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 4 \
|
||||
--batch_size 128 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 4 \
|
||||
--batch_size 128 \
|
||||
--itr 1
|
95
scripts/long_term_forecast/ETT_script/PatchTST_ETTm2.sh
Normal file
95
scripts/long_term_forecast/ETT_script/PatchTST_ETTm2.sh
Normal file
@ -0,0 +1,95 @@
|
||||
export CUDA_VISIBLE_DEVICES=5
|
||||
|
||||
model_name=PatchTST
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 16 \
|
||||
--batch_size 32 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 2 \
|
||||
--batch_size 128 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 4 \
|
||||
--batch_size 32 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 3 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--n_heads 4 \
|
||||
--batch_size 128 \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Pyraformer_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Pyraformer_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=Pyraformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Pyraformer_ETTh2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Pyraformer_ETTh2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Pyraformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Pyraformer_ETTm1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Pyraformer_ETTm1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=Pyraformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Pyraformer_ETTm2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Pyraformer_ETTm2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Pyraformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Reformer_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Reformer_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Reformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
26
scripts/long_term_forecast/ETT_script/SegRNN_ETTh1.sh
Normal file
26
scripts/long_term_forecast/ETT_script/SegRNN_ETTh1.sh
Normal file
@ -0,0 +1,26 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=SegRNN
|
||||
|
||||
seq_len=96
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_$seq_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--pred_len $pred_len \
|
||||
--seg_len 24 \
|
||||
--enc_in 7 \
|
||||
--d_model 512 \
|
||||
--dropout 0.5 \
|
||||
--learning_rate 0.0001 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
done
|
26
scripts/long_term_forecast/ETT_script/SegRNN_ETTh2.sh
Normal file
26
scripts/long_term_forecast/ETT_script/SegRNN_ETTh2.sh
Normal file
@ -0,0 +1,26 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=SegRNN
|
||||
|
||||
seq_len=96
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_$seq_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--pred_len $pred_len \
|
||||
--seg_len 24 \
|
||||
--enc_in 7 \
|
||||
--d_model 512 \
|
||||
--dropout 0.5 \
|
||||
--learning_rate 0.0001 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
done
|
26
scripts/long_term_forecast/ETT_script/SegRNN_ETTm1.sh
Normal file
26
scripts/long_term_forecast/ETT_script/SegRNN_ETTm1.sh
Normal file
@ -0,0 +1,26 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=SegRNN
|
||||
|
||||
seq_len=96
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_$seq_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--pred_len $pred_len \
|
||||
--seg_len 48 \
|
||||
--enc_in 7 \
|
||||
--d_model 512 \
|
||||
--dropout 0.5 \
|
||||
--learning_rate 0.0001 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
done
|
26
scripts/long_term_forecast/ETT_script/SegRNN_ETTm2.sh
Normal file
26
scripts/long_term_forecast/ETT_script/SegRNN_ETTm2.sh
Normal file
@ -0,0 +1,26 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=SegRNN
|
||||
|
||||
seq_len=96
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_$seq_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--pred_len $pred_len \
|
||||
--seg_len 48 \
|
||||
--enc_in 7 \
|
||||
--d_model 512 \
|
||||
--dropout 0.5 \
|
||||
--learning_rate 0.0001 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
done
|
86
scripts/long_term_forecast/ETT_script/TSMixer_ETTh1.sh
Executable file
86
scripts/long_term_forecast/ETT_script/TSMixer_ETTh1.sh
Executable file
@ -0,0 +1,86 @@
|
||||
|
||||
model_name=TSMixer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
86
scripts/long_term_forecast/ETT_script/TSMixer_ETTh2.sh
Executable file
86
scripts/long_term_forecast/ETT_script/TSMixer_ETTh2.sh
Executable file
@ -0,0 +1,86 @@
|
||||
|
||||
model_name=TSMixer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
86
scripts/long_term_forecast/ETT_script/TSMixer_ETTm1.sh
Executable file
86
scripts/long_term_forecast/ETT_script/TSMixer_ETTm1.sh
Executable file
@ -0,0 +1,86 @@
|
||||
|
||||
model_name=TSMixer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
86
scripts/long_term_forecast/ETT_script/TSMixer_ETTm2.sh
Executable file
86
scripts/long_term_forecast/ETT_script/TSMixer_ETTm2.sh
Executable file
@ -0,0 +1,86 @@
|
||||
|
||||
model_name=TSMixer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
112
scripts/long_term_forecast/ETT_script/TiDE_ETTh1.sh
Normal file
112
scripts/long_term_forecast/ETT_script/TiDE_ETTh1.sh
Normal file
@ -0,0 +1,112 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=TiDE
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 8 \
|
||||
--d_model 256 \
|
||||
--d_ff 256 \
|
||||
--dropout 0.3 \
|
||||
--batch_size 512 \
|
||||
--learning_rate 0.1 \
|
||||
--patience 5 \
|
||||
--train_epochs 10 \
|
||||
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 8 \
|
||||
--d_model 256 \
|
||||
--d_ff 256 \
|
||||
--dropout 0.3 \
|
||||
--batch_size 512 \
|
||||
--learning_rate 0.1 \
|
||||
--patience 5 \
|
||||
--train_epochs 10 \
|
||||
|
||||
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 8 \
|
||||
--d_model 256 \
|
||||
--d_ff 256 \
|
||||
--dropout 0.3 \
|
||||
--batch_size 512 \
|
||||
--learning_rate 0.1 \
|
||||
--patience 5 \
|
||||
--train_epochs 10 \
|
||||
|
||||
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 2 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 8 \
|
||||
--d_model 256 \
|
||||
--d_ff 256 \
|
||||
--dropout 0.3 \
|
||||
--batch_size 512 \
|
||||
--learning_rate 0.1 \
|
||||
--patience 5 \
|
||||
--train_epochs 10 \
|
||||
|
125
scripts/long_term_forecast/ETT_script/TimeMixer_ETTh1.sh
Executable file
125
scripts/long_term_forecast/ETT_script/TimeMixer_ETTh1.sh
Executable file
@ -0,0 +1,125 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=TimeMixer
|
||||
|
||||
seq_len=96
|
||||
e_layers=2
|
||||
down_sampling_layers=3
|
||||
down_sampling_window=2
|
||||
learning_rate=0.01
|
||||
d_model=16
|
||||
d_ff=32
|
||||
train_epochs=10
|
||||
patience=10
|
||||
batch_size=16
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/\
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_$seq_len'_'96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 96 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--learning_rate $learning_rate \
|
||||
--train_epochs $train_epochs \
|
||||
--patience $patience \
|
||||
--batch_size 128 \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_$seq_len'_'192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 192 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--learning_rate $learning_rate \
|
||||
--train_epochs $train_epochs \
|
||||
--patience $patience \
|
||||
--batch_size 128 \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_$seq_len'_'336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 336 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--learning_rate $learning_rate \
|
||||
--train_epochs $train_epochs \
|
||||
--patience $patience \
|
||||
--batch_size 128 \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_$seq_len'_'720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 720 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--learning_rate $learning_rate \
|
||||
--train_epochs $train_epochs \
|
||||
--patience $patience \
|
||||
--batch_size 128 \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
111
scripts/long_term_forecast/ETT_script/TimeMixer_ETTh2.sh
Executable file
111
scripts/long_term_forecast/ETT_script/TimeMixer_ETTh2.sh
Executable file
@ -0,0 +1,111 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=TimeMixer
|
||||
|
||||
seq_len=96
|
||||
e_layers=2
|
||||
down_sampling_layers=3
|
||||
down_sampling_window=2
|
||||
learning_rate=0.01
|
||||
d_model=16
|
||||
d_ff=32
|
||||
batch_size=16
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/\
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_$seq_len'_'96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 96 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_$seq_len'_'192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 192 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_$seq_len'_'336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 336 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_$seq_len'_'720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 720 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
115
scripts/long_term_forecast/ETT_script/TimeMixer_ETTm1.sh
Executable file
115
scripts/long_term_forecast/ETT_script/TimeMixer_ETTm1.sh
Executable file
@ -0,0 +1,115 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=TimeMixer
|
||||
|
||||
seq_len=96
|
||||
e_layers=2
|
||||
down_sampling_layers=3
|
||||
down_sampling_window=2
|
||||
learning_rate=0.01
|
||||
d_model=16
|
||||
d_ff=32
|
||||
batch_size=16
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/\
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_$seq_len'_'96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 96 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size $batch_size \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_$seq_len'_'192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 192 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size $batch_size \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_$seq_len'_'336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 336 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size $batch_size \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_$seq_len'_'720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 720 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size $batch_size \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
115
scripts/long_term_forecast/ETT_script/TimeMixer_ETTm2.sh
Executable file
115
scripts/long_term_forecast/ETT_script/TimeMixer_ETTm2.sh
Executable file
@ -0,0 +1,115 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=TimeMixer
|
||||
|
||||
seq_len=96
|
||||
e_layers=2
|
||||
down_sampling_layers=3
|
||||
down_sampling_window=2
|
||||
learning_rate=0.01
|
||||
d_model=32
|
||||
d_ff=32
|
||||
batch_size=16
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/\
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_$seq_len'_'96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 96 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size 128 \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_$seq_len'_'192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 192 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size 128 \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_$seq_len'_'336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 336 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size 128 \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_$seq_len'_'720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 720 \
|
||||
--e_layers $e_layers \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size 128 \
|
||||
--learning_rate $learning_rate \
|
||||
--down_sampling_layers $down_sampling_layers \
|
||||
--down_sampling_method avg \
|
||||
--down_sampling_window $down_sampling_window
|
94
scripts/long_term_forecast/ETT_script/TimeXer_ETTh1.sh
Normal file
94
scripts/long_term_forecast/ETT_script/TimeXer_ETTh1.sh
Normal file
@ -0,0 +1,94 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=TimeXer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--batch_size 4 \
|
||||
--des 'exp' \
|
||||
--itr 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 128 \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 512 \
|
||||
--d_ff 1024 \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 256 \
|
||||
--d_ff 1024 \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
94
scripts/long_term_forecast/ETT_script/TimeXer_ETTh2.sh
Normal file
94
scripts/long_term_forecast/ETT_script/TimeXer_ETTh2.sh
Normal file
@ -0,0 +1,94 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=TimeXer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 256 \
|
||||
--d_ff 1024 \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 256 \
|
||||
--d_ff 1024 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 512 \
|
||||
--d_ff 1024 \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 256 \
|
||||
--d_ff 1024 \
|
||||
--batch_size 16 \
|
||||
--itr 1
|
94
scripts/long_term_forecast/ETT_script/TimeXer_ETTm1.sh
Normal file
94
scripts/long_term_forecast/ETT_script/TimeXer_ETTm1.sh
Normal file
@ -0,0 +1,94 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=TimeXer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--batch_size 4 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 256 \
|
||||
--batch_size 4 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 1024 \
|
||||
--batch_size 4 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--batch_size 4 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
95
scripts/long_term_forecast/ETT_script/TimeXer_ETTm2.sh
Normal file
95
scripts/long_term_forecast/ETT_script/TimeXer_ETTm2.sh
Normal file
@ -0,0 +1,95 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=TimeXer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 256 \
|
||||
--d_ff 1024 \
|
||||
--batch_size 16 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 512 \
|
||||
--d_ff 1024 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 1 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 512 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
102
scripts/long_term_forecast/ETT_script/TimesNet_ETTh1.sh
Normal file
102
scripts/long_term_forecast/ETT_script/TimesNet_ETTh1.sh
Normal file
@ -0,0 +1,102 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=TimesNet
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 16 \
|
||||
--d_ff 32 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--top_k 5
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 16 \
|
||||
--d_ff 32 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--top_k 5
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 16 \
|
||||
--d_ff 32 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--top_k 5
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 16 \
|
||||
--d_ff 32 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--top_k 5
|
99
scripts/long_term_forecast/ETT_script/TimesNet_ETTh2.sh
Normal file
99
scripts/long_term_forecast/ETT_script/TimesNet_ETTh2.sh
Normal file
@ -0,0 +1,99 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=TimesNet
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
100
scripts/long_term_forecast/ETT_script/TimesNet_ETTm1.sh
Normal file
100
scripts/long_term_forecast/ETT_script/TimesNet_ETTm1.sh
Normal file
@ -0,0 +1,100 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=TimesNet
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 64 \
|
||||
--d_ff 64 \
|
||||
--top_k 5 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 64 \
|
||||
--d_ff 64 \
|
||||
--top_k 5 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 16 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--itr 1 \
|
||||
--train_epochs 3
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 16 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--itr 1
|
101
scripts/long_term_forecast/ETT_script/TimesNet_ETTm2.sh
Normal file
101
scripts/long_term_forecast/ETT_script/TimesNet_ETTm2.sh
Normal file
@ -0,0 +1,101 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=TimesNet
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--itr 1 \
|
||||
--train_epochs 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--d_model 16 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--itr 1 \
|
||||
--train_epochs 1
|
87
scripts/long_term_forecast/ETT_script/Transformer_ETTh1.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Transformer_ETTh1.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id ETTh1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Transformer_ETTh2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Transformer_ETTh2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTh2.csv \
|
||||
--model_id ETTh2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTh2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
83
scripts/long_term_forecast/ETT_script/Transformer_ETTm1.sh
Normal file
83
scripts/long_term_forecast/ETT_script/Transformer_ETTm1.sh
Normal file
@ -0,0 +1,83 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm1.csv \
|
||||
--model_id ETTm1_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm1 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
87
scripts/long_term_forecast/ETT_script/Transformer_ETTm2.sh
Normal file
87
scripts/long_term_forecast/ETT_script/Transformer_ETTm2.sh
Normal file
@ -0,0 +1,87 @@
|
||||
export CUDA_VISIBLE_DEVICES=2
|
||||
|
||||
model_name=Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_96 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_192 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_336 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/ETT-small/ \
|
||||
--data_path ETTm2.csv \
|
||||
--model_id ETTm2_96_720 \
|
||||
--model $model_name \
|
||||
--data ETTm2 \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 1 \
|
||||
--enc_in 7 \
|
||||
--dec_in 7 \
|
||||
--c_out 7 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
50
scripts/long_term_forecast/ETT_script/WPMixer_ETTh1.sh
Normal file
50
scripts/long_term_forecast/ETT_script/WPMixer_ETTh1.sh
Normal file
@ -0,0 +1,50 @@
|
||||
|
||||
# Set the GPU to use
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
# Model name
|
||||
model_name=WPMixer
|
||||
|
||||
# Datasets and prediction lengths
|
||||
dataset=ETTh1
|
||||
seq_lens=(512 512 512 512)
|
||||
pred_lens=(96 192 336 720)
|
||||
learning_rates=(0.000242438 0.000201437 0.000132929 0.000239762)
|
||||
batches=(256 256 256 256)
|
||||
epochs=(30 30 30 30)
|
||||
dropouts=(0.4 0.05 0.0 0.2)
|
||||
patch_lens=(16 16 16 16)
|
||||
lradjs=(type3 type3 type3 type3)
|
||||
d_models=(256 256 256 128)
|
||||
patiences=(12 12 12 12)
|
||||
|
||||
# Model params below need to be set in WPMixer.py Line 15, instead of this script
|
||||
wavelets=(db2 db3 db2 db2)
|
||||
levels=(2 2 1 1)
|
||||
tfactors=(5 5 3 5)
|
||||
dfactors=(8 5 3 3)
|
||||
strides=(8 8 8 8)
|
||||
|
||||
# Loop over datasets and prediction lengths
|
||||
for i in "${!pred_lens[@]}"; do
|
||||
python -u run.py \
|
||||
--is_training 1 \
|
||||
--root_path ./data/ETT/ \
|
||||
--data_path ETTh1.csv \
|
||||
--model_id wpmixer \
|
||||
--model $model_name \
|
||||
--task_name long_term_forecast \
|
||||
--data $dataset \
|
||||
--seq_len ${seq_lens[$i]} \
|
||||
--pred_len ${pred_lens[$i]} \
|
||||
--label_len 0 \
|
||||
--d_model ${d_models[$i]} \
|
||||
--patch_len ${patch_lens[$i]} \
|
||||
--batch_size ${batches[$i]} \
|
||||
--learning_rate ${learning_rates[$i]} \
|
||||
--lradj ${lradjs[$i]} \
|
||||
--dropout ${dropouts[$i]} \
|
||||
--patience ${patiences[$i]} \
|
||||
--train_epochs ${epochs[$i]} \
|
||||
--use_amp
|
||||
done
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user