Skip to content

A collection of time series prediction methods: rnn, seq2seq, cnn, wavenet, transformer, unet, n-beats, gan, kalman-filter

License

Notifications You must be signed in to change notification settings

muleina/Time-series-prediction

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time series prediction

LICENSE
This repository implements the common methods of time series prediction, especially deep learning methods in TensorFlow2. It's welcomed to contribute if you have any better idea, just create a PR. If any question, feel free to open an issue.

Ongoing project, I will continue to improve this, so you might want to watch/star this repo to revisit.

RNN

intro

code

wavenet

intro

code

transformer

intro

code

U-Net

intro

code

n-beats

intro

code

GAN

intro

code


Time-series-prediction is being sponsored by the following tool; please help to support us by taking a look and signing up to a free trial

GitAds


Usage

  1. Install the required library
pip install -r requirements.txt
  1. Download the data, if necessary
bash ./data/download_passenger.sh
  1. Train the model
    set custom_model_params if you want (refer to each model's params in ./deepts/models/*.py), and pay attention to your own feature engineering.
cd examples
python run_train.py --use_model seq2seq
cd ..
tensorboard --logdir=./data/logs
  1. Predict new data
cd examples
python run_test.py

Further reading

Contributor

About

A collection of time series prediction methods: rnn, seq2seq, cnn, wavenet, transformer, unet, n-beats, gan, kalman-filter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%