Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hzy46/TensorFlow-Time-Series-Examples

Time Series Prediction with tf.contrib.timeseries
https://github.com/hzy46/TensorFlow-Time-Series-Examples

Last synced: about 1 month ago
JSON representation

Time Series Prediction with tf.contrib.timeseries

Awesome Lists containing this project

README

        

# TensorFlow-Time-Series-Examples

Additional examples for [TensorFlow Time Series(TFTS)](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/timeseries).

## Read a Time Series with TFTS

- From a Numpy Array: See "test_input_array.py".

- From a CSV file: See "test_input_csv.py".

## Predict a Time Series Using AR Model

- From a Numpy Array: See "train_array.py".

![](https://github.com/hzy46/TensorFlow-Time-Series-Examples/blob/master/img/array.jpg?raw=true)

- From a CSV file: See "train_csv.py".

![](https://github.com/hzy46/TensorFlow-Time-Series-Examples/blob/master/img/csv.jpg?raw=true)

## Predict a Time Series Using LSTM

- Univariate prediction with LSTM("train_lstm.py"):

![](https://github.com/hzy46/TensorFlow-Time-Series-Examples/blob/master/img/lstm.jpg?raw=true)

- Multivariate prediction with LSTM("train_lstm_multivariate.py"):

![](https://github.com/hzy46/TensorFlow-Time-Series-Examples/blob/master/img/lstm_multivariate.jpg?raw=true)