Giter Site home page Giter Site logo

noke8868 / stock_prediction_model_using_attention_multilayer_rnn_lstm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shoumo95/stock_prediction_model_using_attention_multilayer_rnn_lstm

0.0 2.0 0.0 396 KB

RNN - Stock Prediction Model using Attention Multilayer Recurrent Neural Networks with LSTM Cells

Jupyter Notebook 100.00%

stock_prediction_model_using_attention_multilayer_rnn_lstm's Introduction

RNN - Stock Prediction Model using Attention Multilayer Recurrent Neural Networks with LSTM Cells

Author: Soumyendu Sarkar

Data Preparation

  • Data Source research and identification (free part of QuantQuote database )
  • Importing decade long stock data of the S&P 500 companies
  • Cleaning and Normalizing data with zero mean, unit variance and logarithmic scaling for normal distribution
  • Processing and Separating data into Input Data (the intra-day price fluctuations) and Expected Output Data (discrete categorized classification values for price gain over consecutive days )
  • Forming Data Frames for Training and Testing for Neural Network

Code for Two Distinct Neural Networks for Comparison

  • Code for Fully Connected Feed Forward Neural Network classifier using low level Tensorflow Framework API
  • Code for Attention Adaptation of Multilayer (2x) Recurrent Neural Networks (100x NN lookback) with LSTM / GRU Memory Optimized Cells using low level Tensorflow Framework API. This follows latest publication and enhancement in Recurrent Neural Networks.
  • Accelerated Linear Algebra optimization for faster code execution with XLA JIT (Just in time compilation) directives
  • Both these codes uses low level Tensorflow API to facilitate usage of advanced Tensorflow framework features with embedding and model structure refinements

Model Visualization and Tensorboard Embeddings

  • Tensorboard code embedding for Graphical Model Visualization and Data visualization

Analysis and Result Visualization

  • Diagnostics and Evaluation with Graphical presentation of the effectiveness of the Model
  • Confusion Matrix and Accuracy, Precision, Sensitivity and Specificity
  • The Graph demonstrates the effectiveness of both the Neural Networks in making daily trading decisions, scored against random buys and sells
  • Several measures of effectiveness in decision making

stock_prediction_model_using_attention_multilayer_rnn_lstm's People

Contributors

shoumo95 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.