/LSTM_Stock_Prediction

Long short-term memory (LSTM) to predict Tesla stock prices using Keras

Primary LanguageJupyter Notebook

Walking through Support Vector Regression and LSTMs with stock price prediction

Check out the medium article I wrote on this project here

Purpose:

In this project I wanted to learn the basics of time series analysis using Support Vector Regression and LSTM Recurrent neural networks.

Example output:

Built with:

  • python=3.6.4
  • numpy=1.16.4
  • Tensorflow=1.14.0
  • Keras=2.2.4

Files:

  • Raw_Stock_Prediction.ipynb - Source code for the model
  • LSTM_Stock_Prediction_Explanation.ipynb - The full model source code along with explanations of the code and explanations of concepts like Support Vector Regression, LSTMs, and Linear Regression
  • Images - contains the visual aid image files used in the explanation notebook

Usage

To start the notebook run jupyter notebook in terminal