LSTM built using Keras Python package to predict time series steps and sequences. Includes sin wave and stock market data
Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit 40a8125 Jun 5, 2017
jaungiers committed Jun 5, 2017 Merge pull request #17 from shaktisd/master
Fix for keras 2.0 .

README.md

LSTM Neural Network for Time Series Prediction

LSTM built using the Keras Python package to predict time series steps and sequences. Includes sin wave and stock market data.

Full article write-up for this code

Video on the workings and usage of LSTMs and run-through of this code

Requirements

Update: As of 08-03-2017 this code has been updated from Python 2.7 to Python 3.5.

This is to make it available to run natively on Windows TensorFlow installations (Tutorial on how to install TensorFlow natively on Windows)

  • Python 3.5
  • TensorFlow 1.0
  • Numpy 1.12.0
  • Keras 1.2.2
  • Matplotlib 2.0.0

Output for sin wave sequential prediction:

Output for sin wave sequential prediction

Output for stock market multiple sequential predictions:

Output for stock market multiple sequential predictions