first commit
This commit is contained in:
88
scripts/long_term_forecast/Weather_script/Autoformer.sh
Normal file
88
scripts/long_term_forecast/Weather_script/Autoformer.sh
Normal file
@ -0,0 +1,88 @@
|
||||
export CUDA_VISIBLE_DEVICES=1
|
||||
|
||||
model_name=Autoformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--train_epochs 2
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
102
scripts/long_term_forecast/Weather_script/Crossformer.sh
Normal file
102
scripts/long_term_forecast/Weather_script/Crossformer.sh
Normal file
@ -0,0 +1,102 @@
|
||||
export CUDA_VISIBLE_DEVICES=7
|
||||
|
||||
model_name=Crossformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--train_epochs 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--train_epochs 1
|
85
scripts/long_term_forecast/Weather_script/FiLM.sh
Normal file
85
scripts/long_term_forecast/Weather_script/FiLM.sh
Normal file
@ -0,0 +1,85 @@
|
||||
export CUDA_VISIBLE_DEVICES=6
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_720 \
|
||||
--model FiLM \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 720 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_96 \
|
||||
--model FiLM \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_192 \
|
||||
--model FiLM \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 192 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_336 \
|
||||
--model FiLM \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 336 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
102
scripts/long_term_forecast/Weather_script/MICN.sh
Normal file
102
scripts/long_term_forecast/Weather_script/MICN.sh
Normal file
@ -0,0 +1,102 @@
|
||||
export CUDA_VISIBLE_DEVICES=5
|
||||
|
||||
model_name=MICN
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--train_epochs 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--train_epochs 1
|
29
scripts/long_term_forecast/Weather_script/Mamba.sh
Normal file
29
scripts/long_term_forecast/Weather_script/Mamba.sh
Normal file
@ -0,0 +1,29 @@
|
||||
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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_$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 21 \
|
||||
--expand 2 \
|
||||
--d_ff 16 \
|
||||
--d_conv 4 \
|
||||
--c_out 21 \
|
||||
--d_model 128 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
|
||||
done
|
@ -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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 192 \
|
||||
--e_layers 1 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 1 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 1 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--des 'Exp' \
|
||||
--n_heads 8 \
|
||||
--batch_size 32 \
|
||||
--itr 1
|
@ -0,0 +1,96 @@
|
||||
export CUDA_VISIBLE_DEVICES=6
|
||||
|
||||
model_name=Nonstationary_Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--train_epochs 3 \
|
||||
--p_hidden_dims 256 256 \
|
||||
--p_hidden_layers 2
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 128 128 \
|
||||
--p_hidden_layers 2
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 128 128 \
|
||||
--p_hidden_layers 2
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--p_hidden_dims 128 128 \
|
||||
--p_hidden_layers 2
|
97
scripts/long_term_forecast/Weather_script/PatchTST.sh
Normal file
97
scripts/long_term_forecast/Weather_script/PatchTST.sh
Normal file
@ -0,0 +1,97 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=PatchTST
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--n_heads 4 \
|
||||
--train_epochs 3
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--n_heads 16 \
|
||||
--train_epochs 3
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--n_heads 4 \
|
||||
--batch_size 128 \
|
||||
--train_epochs 3
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--n_heads 4 \
|
||||
--batch_size 128 \
|
||||
--train_epochs 3
|
88
scripts/long_term_forecast/Weather_script/Pyraformer.sh
Normal file
88
scripts/long_term_forecast/Weather_script/Pyraformer.sh
Normal file
@ -0,0 +1,88 @@
|
||||
export CUDA_VISIBLE_DEVICES=7
|
||||
|
||||
model_name=Pyraformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--train_epochs 2
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
27
scripts/long_term_forecast/Weather_script/SegRNN.sh
Normal file
27
scripts/long_term_forecast/Weather_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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_$seq_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--pred_len $pred_len \
|
||||
--seg_len 48 \
|
||||
--enc_in 21 \
|
||||
--d_model 512 \
|
||||
--dropout 0.5 \
|
||||
--learning_rate 0.0001 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
done
|
||||
|
99
scripts/long_term_forecast/Weather_script/TSMixer.sh
Executable file
99
scripts/long_term_forecast/Weather_script/TSMixer.sh
Executable file
@ -0,0 +1,99 @@
|
||||
|
||||
model_name=TSMixer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
133
scripts/long_term_forecast/Weather_script/TimeMixer.sh
Executable file
133
scripts/long_term_forecast/Weather_script/TimeMixer.sh
Executable file
@ -0,0 +1,133 @@
|
||||
#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=16
|
||||
train_epochs=20
|
||||
patience=10
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size 128 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_192 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len $seq_len \
|
||||
--label_len 0 \
|
||||
--pred_len 192 \
|
||||
--e_layers $e_layers \
|
||||
--factor 3 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size 128 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size 128 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--d_model $d_model \
|
||||
--d_ff $d_ff \
|
||||
--batch_size 128 \
|
||||
--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
|
93
scripts/long_term_forecast/Weather_script/TimeXer.sh
Normal file
93
scripts/long_term_forecast/Weather_script/TimeXer.sh
Normal file
@ -0,0 +1,93 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=TimeXer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_96 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 96 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--d_model 256 \
|
||||
--d_ff 512 \
|
||||
--batch_size 4 \
|
||||
--itr 1 \
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--d_model 128 \
|
||||
--d_ff 1024 \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_336 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 336 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--d_model 256 \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_96_720 \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len 720 \
|
||||
--e_layers 1 \
|
||||
--factor 3 \
|
||||
--enc_in 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--d_model 128 \
|
||||
--batch_size 4 \
|
||||
--itr 1
|
102
scripts/long_term_forecast/Weather_script/TimesNet.sh
Normal file
102
scripts/long_term_forecast/Weather_script/TimesNet.sh
Normal file
@ -0,0 +1,102 @@
|
||||
export CUDA_VISIBLE_DEVICES=5
|
||||
|
||||
model_name=TimesNet
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--train_epochs 1
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--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/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--d_model 32 \
|
||||
--d_ff 32 \
|
||||
--top_k 5 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--train_epochs 1
|
88
scripts/long_term_forecast/Weather_script/Transformer.sh
Normal file
88
scripts/long_term_forecast/Weather_script/Transformer.sh
Normal file
@ -0,0 +1,88 @@
|
||||
export CUDA_VISIBLE_DEVICES=7
|
||||
|
||||
model_name=Transformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1 \
|
||||
--train_epochs 3
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
49
scripts/long_term_forecast/Weather_script/WPMixer.sh
Normal file
49
scripts/long_term_forecast/Weather_script/WPMixer.sh
Normal file
@ -0,0 +1,49 @@
|
||||
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
# Model name
|
||||
model_name=WPMixer
|
||||
|
||||
# Datasets and prediction lengths
|
||||
dataset=weather
|
||||
seq_lens=(512 512 512 512)
|
||||
pred_lens=(96 192 336 720)
|
||||
learning_rates=(0.000913333 0.001379042 0.000607991 0.001470479)
|
||||
batches=(32 64 32 128)
|
||||
epochs=(60 60 60 60)
|
||||
dropouts=(0.4 0.4 0.4 0.4)
|
||||
patch_lens=(16 16 16 16)
|
||||
lradjs=(type3 type3 type3 type3)
|
||||
d_models=(256 128 128 128)
|
||||
patiences=(12 12 12 12)
|
||||
|
||||
# Model params below need to be set in WPMixer.py Line 15, instead of this script
|
||||
wavelets=(db3 db3 db3 db2)
|
||||
levels=(2 1 2 1)
|
||||
tfactors=(3 3 7 7)
|
||||
dfactors=(7 7 7 5)
|
||||
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/weather/ \
|
||||
--data_path weather.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
|
98
scripts/long_term_forecast/Weather_script/iTransformer.sh
Normal file
98
scripts/long_term_forecast/Weather_script/iTransformer.sh
Normal file
@ -0,0 +1,98 @@
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
model_name=iTransformer
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--d_model 512\
|
||||
--d_ff 512\
|
||||
--itr 1 \
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--d_model 512\
|
||||
--d_ff 512\
|
||||
--itr 1 \
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--d_model 512\
|
||||
--d_ff 512\
|
||||
--itr 1 \
|
||||
|
||||
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_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 21 \
|
||||
--dec_in 21 \
|
||||
--c_out 21 \
|
||||
--des 'Exp' \
|
||||
--d_model 512\
|
||||
--d_ff 512\
|
||||
--itr 1
|
Reference in New Issue
Block a user