Git Product home page Git Product logo

attentioned-dual-stage-stock-prediction's Introduction

DA-LSTM

This is an implementation of paper "A Dual-Stage Attention-Based Recurrent Neural Network for Time Series Prediction". I only did a test to predict the price of AAPL.US by its historical data as well as the price of its opponent MSFT.US.

Dataset

Downloaded from NASDAQ 100 STOCK DATA.

Argument

-e, --epoch - the number of epochs

-b, --batch - the batch size

-s, --split - the split ratio of train and test set

-i, --interval - save models every interval epochs

-l, --lrate - learning rate of optimizor

-t, —test - test phase

-m, —model - if in test phase, the models name(if model name is "encoder50" and decoder50", inptut 50)

Sample train

Traing 500 epochs, with batch-size 128, save models every 100 epochs.

Python3 trainer -e 500 -b 128 -i 100

Sample test

Test data use model "encoder50" and "decoder50"

Python3 trainer -t -m 50

attentioned-dual-stage-stock-prediction's People

Contributors

ysn2233 avatar

Watchers

 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.