Skip to content

To predict the price of the Google stock, we use Deep Learning, Recurrent Neural Networks with Long Short-Term Memory(LSTM) layers.

License

Notifications You must be signed in to change notification settings

srikanthv0610/Google-Stock-Price-Prediction_Recurssive-Neural-Network-RNN-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Stock Price Prediction using Recurssive Neural Network (RNN):

To predict the price of the Google stock, we use Deep Learning, Recurrent Neural Networks with Long Short-Term Memory(LSTM) layers.

Google_Stock

Introduction:

In Quantitative finance, predicting the stock price with high accuracy is a very important and difficult task. Although, it is impossible to exactly estimate the stock prices, it is possible to make accurate predictions by using the past stock prices (Theory behind Brownian Motions). We analyse the upward and downward treds in the past and use this as an indicator to predict the future prices. Long Short-Term Memory (LSTM) is a more sophisticated version of RNN which addresses the Vanishing Gradient Problem that RNNs often suffer from.

For this project, we use the past 5 years Google stock price data in the time period of 2016-2020. The goal is to predict the upward or downward trend in the stock price of Google for January 2021.

Image

Steps:

  • Importing the Google stock price data.
  • Performing Data Normalization and Data Transformation to prepare the train and test set
  • Modelling the LSTM model and initializing the model parameters
  • Traing the Model and using the trained information to predict the future stock price for Jan 2021
  • Using the available Test Set data for evaluating the predictions

Results:

Image2

Comparing the real and predicted Google stock values that are generated using RNN model, for the first month of 2021. RNN based on 5 LSTMs was able to properly predict all upward and downward trends as we see that the red line corresponding to the predicted stock prices follows the same pattern as the blue line which corresponds the real stock prices.

About

To predict the price of the Google stock, we use Deep Learning, Recurrent Neural Networks with Long Short-Term Memory(LSTM) layers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages