GithubHelp home page GithubHelp logo

keisuke-nakata / rwa Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 3.0 12 KB

[Recurrent Weighted Average](https://arxiv.org/abs/1703.01253) [Jared Ostmeyer et.al, 2017] heavily based on https://gist.github.com/shamatar/55b804cf62b8ee0fa23efdb3ea5a4701

Python 100.00%

rwa's Introduction

Recurrent Weighted Average model implementation & experiments

Original paper

Machine Learning on Sequential Data Using a Recurrent Weighted Average
Jared Ostmeyer, Lindsay Cowell
2017
https://arxiv.org/abs/1703.01253

Original Keras implementation

https://gist.github.com/shamatar/55b804cf62b8ee0fa23efdb3ea5a4701
(This repo's implemetation is almost same as the above gist script.
I fixed the code to support return_sequences parameter for visualizing hidden states.)

Note

Current implementation is heavily under development.
Any code has not been systemically tested.
Envitonment arguments are hard-coded.

Usage

settings

Please fix the save_root_dir variable and if __name__ == '__main__' section in scripts before execution!

commands

python train.py  # train RWA (or LSTM. See and fix `__main__` section to switch the model)
python plotting.py  # plot internal states of RWA. (Before execution, check your trained model filename and fix the variables in this file!)

Experimental Results

(Japanese article) http://qiita.com/keisuke-nakata/items/f48a04d629b86bba4be5

rwa's People

Contributors

keisuke-nakata avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.