/LSTM-Neural-Network-for-Time-Series-Prediction

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

Primary LanguagePython

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