GithubHelp home page GithubHelp logo

zhangzw16 / sageformer Goto Github PK

View Code? Open in Web Editor NEW
27.0 3.0 2.0 62 KB

Code for IoTJ 2024 paper "SageFormer: Series-Aware Framework for Long-Term Multivariate Time-Series Forecasting".

Home Page: https://ieeexplore.ieee.org/abstract/document/10423755

License: MIT License

Python 89.31% Shell 10.69%
deep-learning time-series-forecasting

sageformer's Introduction

SageFormer: Series-Aware Framework for Long-Term Multivariate Time-Series Forecasting

Visitors

This repository contains the code for the paper "SageFormer: Series-Aware Framework for Long-Term Multivariate Time-Series Forecasting" by Zhenwei Zhang, Linghang Meng, and Yuantao Gu, published in the IEEE Internet of Things Journal.

Introduction

SageFormer is a novel series-aware graph-enhanced Transformer model designed for long-term forecasting of multivariate time-series (MTS) data. With the proliferation of IoT devices, MTS data has become ubiquitous, necessitating advanced models to forecast future behaviors. SageFormer addresses the challenge of capturing both intra- and inter-series dependencies, enhancing the predictive performance of Transformer-based models.

Screenshot 2024-02-20 at 14 56 56 Screenshot 2024-02-20 at 14 58 19

Usage

To train and evaluate the SageFormer model:

  • Clone this repository
  • Download datasets from Google Drive or Baidu Drive and place them in the ./dataset folder
  • Create a virtual environment and activate it
  • Install requirements pip install -r requirements.txt
  • Run scripts in the ./scripts folder to train and evaluate the model, for example:
    sh scripts/long_term_forecast/ECL_script/SageFormer.sh
  • Model checkpoints and logs will be saved to outputs folder

Contacts

For any questions, please contact the authors at zzw20 [at] mails.tsinghua.edu.cn or write a discussion on github.

Citation

If you find this code or paper useful for your research, please cite:

@ARTICLE{zhang2024sageformer,
  author={Zhang, Zhenwei and Meng, Linghang and Gu, Yuantao},
  journal={IEEE Internet of Things Journal}, 
  title={SageFormer: Series-Aware Framework for Long-Term Multivariate Time Series Forecasting}, 
  year={2024},
  doi={10.1109/JIOT.2024.3363451}}

Acknowledgement

This library is constructed based on the following repos:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.