Skip to content

Official implementation of "TimeBridge: Non-Stationarity Matters for Long-term Time Series Forecasting"

License

Notifications You must be signed in to change notification settings

Hank0626/TimeBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TimeBridge: Non-Stationarity Matters for Long-term Time Series Forecasting

[中文解读1][中文解读2]

Updates/News 🆕

🚩 Updates (2025-02-11) Release the code.

🚩 Updates (2024-10-08) Initial upload to arXiv [PDF].

Usage

  1. Install the dependencies

    pip install -r requirements.txt
  2. Obtain the dataset from Google Drive and extract it to the root directory of the project. Make sure the extracted folder is named dataset and has the following structure:

    dataset
    ├── electricity
    │   └── electricity.csv
    ├── ETT-small
    │   ├── ETTh1.csv
    │   ├── ETTh2.csv
    │   ├── ETTm1.csv
    │   └── ETTm2.csv
    ├── PEMS
    │   ├── PEMS03.npz
    │   ├── PEMS04.npz
    │   ├── PEMS07.npz
    │   └── PEMS08.csv
    ├── Solar
    │   └── solar_AL.txt
    ├── traffic
    │   └── traffic.csv
    └── weather
        └── weather.csv
    
  3. Train and evaluate the model. All the training scripts are located in the scripts directory. For example, to train the model on the Solar-Energy dataset, run the following command:

    sh ./scripts/TimeBridge.sh

Bibtex

If you find this work useful, please consider citing it:

@article{liu2024time,
      title={TimeBridge: Non-Stationarity Matters for Long-term Time Series Forecasting}, 
      author={Liu, Peiyuan and Wu, Beiliang and Hu, Yifan and Li, Naiqi and Dai, Tao and Bao, Jigang and Xia, Shu-Tao},
      journal={arXiv preprint arXiv:2410.04442},
      year={2024},
      arxiv={2410.04442}
}

Contact

If you have any questions, please contact [email protected] or submit an issue.

About

Official implementation of "TimeBridge: Non-Stationarity Matters for Long-term Time Series Forecasting"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published