From 96c40c6ab69f7cc24141975c873f5f83435dd7d4 Mon Sep 17 00:00:00 2001 From: gameloader Date: Wed, 10 Sep 2025 10:54:50 +0800 Subject: [PATCH] feat: add xpatch_sparsechannel test script --- .../test_xPatch_SparseChannel_traffic.sh | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 scripts/long_term_forecast/test_xPatch_SparseChannel_traffic.sh diff --git a/scripts/long_term_forecast/test_xPatch_SparseChannel_traffic.sh b/scripts/long_term_forecast/test_xPatch_SparseChannel_traffic.sh new file mode 100644 index 0000000..8b0a245 --- /dev/null +++ b/scripts/long_term_forecast/test_xPatch_SparseChannel_traffic.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +model_name=xPatch_SparseChannel + +# Traffic dataset testing +for pred_len in 96 192 336 720 +do +echo "Testing Traffic dataset with prediction length: $pred_len" +python -u run.py \ + --task_name long_term_forecast \ + --is_training 0 \ + --root_path ./dataset/traffic/ \ + --data_path traffic.csv \ + --model_id traffic_$pred_len'_'$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 \ + --enc_in 862 \ + --batch_size 256 \ + --c_out 862 \ + --d_model 128 \ + --d_ff 256 \ + --n_heads 16 \ + --patch_len 16 \ + --stride 8 \ + --k_graph 8 \ + --dropout 0.1 \ + --revin 1 \ + --des 'Exp' \ + --itr 1 +echo "Finished testing for prediction length: $pred_len" +echo "================================" +done + +echo "All Traffic dataset testing completed!"