TED4STL: Trend-Error Decomposition For Self-Supervised Time Series Learning in Multivariate Forecasting Task
The datasets are available at the following links:
All datasets are provided in .csv format, except for the electricity dataset, which requires a preprocessing step. To preprocess it, please navigate to the datasets directory of each model and run the following command:
python3 preprocess_electricity.py
All the models require Python 3.11 and each has its requirements reported in the requirements.txt
file in the model root directory.
Please create a .venv
environment for each model and install the requirements before running.
To run the models move to the root directory of each of them and follow the instructions reported in the README.md
file.
To extract the statistics of the models, move to their root directory and run the following command:
python3 exctract_csv.py --directory forecasting/B<batch_size>_E<repr_dim>/ [--type raw]