GithubHelp home page GithubHelp logo

a20180502 / lstmrnnstockr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hualiu01/lstmrnnstockr

0.0 1.0 0.0 26.18 MB

(1) LSTM-RNN stock prices (historical closing precies of S&P500) prediction using keras with tensorflow. (2) Experiments APIs on the network's hyper-parameters are provided through './mmodel/experiment.py'. (3) a website is built using this prediction model as engine with Flask and MySQL.

Python 65.64% CSS 4.45% JavaScript 16.99% HTML 12.92%

lstmrnnstockr's Introduction

In this project, I build a LSTM-RNN to predict stock prices using keras with tensorflow. The training data comes from historical closing precies of S&P500. The accuracy measured by Root Mean Square Error (RMSE) is around 0.99. And I did experiments on the network's hyper-parameters such as LSTM cell hidden state size, truncated back propagation length and depth of the network. At last, I build a website using this prediction model as engine with Flask and python.

Dependencies:

python 2.7 pip 9.0.1 flask 0.12.1

tensorflow 0.12.1 keras1.2.1

Run:

Note: Please activate tensorflow virtual env first.

To runthe experiment on LSTM structures:

cd ./model

python experiment.py

To run the web app, first change back to the root

python app.py

Paper & vedio demo

lstmrnnstockr's People

Watchers

James Cloos 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.