Install ETSformer dependencies
mainTo use ETSformer, you must have Python 3.8 installed. You can install the necessary dependencies using pip from the provided requirements.txt file.
pip install -r requirements.txtrepository·main·Indexed 43 days ago
https://github.com/salesforce/etsformerA PyTorch implementation of a time-series Transformer architecture utilizing Exponential Smoothing Attention (ESA) and Frequency Attention (FA) to enhance forecasting accuracy and efficiency.
To use ETSformer, you must have Python 3.8 installed. You can install the necessary dependencies using pip from the provided requirements.txt file.
pip install -r requirements.txtTraining is performed using shell scripts located in the ./scripts directory. Each script corresponds to a specific benchmark (e.g., ./scripts/ETTm2.sh).
Before running the scripts, ensure they have execution permissions by running:
chmod u+x scripts/*Then, execute the desired benchmark script from your terminal.
chmod u+x scripts/*
./scripts/ETTm2.shETSformer uses pre-processed datasets (originally from the Autoformer repository).
dataset/ directory in the project root.Example structure:
dataset/ETT-small/ETTm2.csv
ETSformer provides a dedicated script for performing a grid search. Run the following command to initiate the process:
./grid_search.sh