# Time-series-prediction **Repository Path**: zqyocean/Time-series-prediction ## Basic Information - **Project Name**: Time-series-prediction - **Description**: A collection of time series prediction methods: rnn, seq2seq, cnn, wavenet, transformer, unet, n-beats - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-12-11 - **Last Updated**: 2021-12-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Time series prediction [![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/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. ## Usage 1. Install the required library ```bash $ pip install -r requirements.txt ``` 2. Download the data, if necessary ```bash $ sh ./data/download_passenger.sh ``` 3. Train the model
set `custom_model_params` if you want (refer to params in `./tfts/models/*.py`), and pay attention to feature engineering. ```bash $ cd examples $ python run_train.py --use_model seq2seq $ cd .. $ tensorboard --logdir=./data/logs ``` 4. Predict new data ```bash $ cd examples $ python run_test.py ``` ## Further reading - https://github.com/awslabs/gluon-ts/ - https://github.com/Azure/DeepLearningForTimeSeriesForecasting - https://github.com/microsoft/forecasting - https://github.com/jdb78/pytorch-forecasting - https://github.com/timeseriesAI/tsai