Code Monkey home page Code Monkey logo

lstm_stock's Introduction

使用单层的LSTM网络实现对**股票市场的预测,使用股票市场中的其中一只作为训练模型,并对别的股票进行预测,一天对一天模型:趋势预测率达到90%

Using the single-layer LSTM network to predict the Chinese stock market, using one of the stock market as a training model and forecasting other stocks, one day to one day model:the trend prediction rate reaches 90%

结果:

Result:

一天对一天模型:

one day to one day model:

用训练集后30天预测:

predic using the last 30 days in train set:

test_set_ans

用最近30天预测:

predic using the recent 30 days:

related_day

用别的股票最近30天预测:

predic using the recent 30 days of another stock:

other

21天对3天的模型(非常不理想):

21 days to 3 days model(terrible):

predic using the recent 30 days of another stock:

21-3

lstm_stock's People

Contributors

icejm1020 avatar

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.