Coder Social home page Coder Social logo

depts's Introduction

DEPTS

Source code for the paper, "DEPTS: Deep Expansion Learning for Periodic Time Series Forecasting", in ICLR22 Spotlight.

Overview

DEPTS is a customized deep neural network architecture for periodic time series forecasting, which aims to solve the following two challenges:

  • To capture diversified periodic compositions
  • To model complicated periodic dependencies

Dataset

You can download the five benchmarks from Google Drive. All the datasets are well pre-processed. More details of datasets can be found in the paper. After downloading the zip file, please unzip it to the root dir of DEPTS for experiments.

Usage

Setup

Please use Python 3(.6) as well as the following packages:

torch >= 1.6.0
dataclasses
dtaidistance
pandas
numpy
tqdm

Reproduce

To reproduce the results, you can see more details in command.sh and directly run:

sh command.sh

Note that all the results reported in the paper are ensembled results of 30 models in order to get a robust evaluation and compare with N-BEATS. You can also try to run the single model for evaluation if you find it challenging to run all the models.

Evaluation

To get the evaluation results, run

python evaluation.py

Citation

If you find our work interesting, you can cite the paper as

@inproceedings{
fan2022depts,
title={{DEPTS}: Deep Expansion Learning for Periodic Time Series Forecasting},
author={Wei Fan and Shun Zheng and Xiaohan Yi and Wei Cao and Yanjie Fu and Jiang Bian and Tie-Yan Liu},
booktitle={International Conference on Learning Representations},
year={2022},
url={https://openreview.net/forum?id=AJAR-JgNw__}
}

depts's People

Contributors

weifantt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

depts's Issues

A question about hyper-parameter "fftwarmlen"

Hi, very lucky to read this wonderful paper on periodical modeling and saw your publicly available code.

However, I am confused about some parameters in your code but it is not mentioned in your paper. That is "fftwarmlen" used in the "function warm_PM_parameters_perK" (utils.py - line 100). It is set in different constants varying with datasets, and then determines the length of the FFT handled. Could you tell me how to set its value?

query

in utils.py, line: 122
why use add to check if they are equivalent?

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.