Test on a Custom DatasetΒΆ

tools/test.py can be used to test forecasting models on a custom dataset.

1. Create a Custom DatasetΒΆ

Put .csv files to test directory (in the same way to train).

Note

Any directory names can be used

πŸ—‚ Directory StructureΒΆ

../_images/test-tool.jpg

2. Test Forecasting ModelΒΆ

Run tools/test.py with the custom dataset and config. Input/output feature names have to be specified too.

python tools/test.py \
 --cfg-name config.yml \
 --train-dir train \
 --valid-dir valid \
 --test-dir test \
 --in-feats input_feat1 input_feat2 \
 --out-feats output_feat1 output_feat2 \
 --out-dir log \