Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sintef/linear-antisymmetric-rnn
https://github.com/sintef/linear-antisymmetric-rnn
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sintef/linear-antisymmetric-rnn
- Owner: SINTEF
- License: apache-2.0
- Created: 2021-05-20T10:59:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T08:26:10.000Z (about 2 years ago)
- Last Synced: 2023-03-04T04:57:10.863Z (almost 2 years ago)
- Language: Python
- Size: 12.5 MB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LARNN: Linear Antisymmetric RNN
This pip package provides an implementation of the Linear Antisymmetric RNN (LARNN) cell from [Moe, Remonato, Grøtli and Gravdahl, 2020](http://proceedings.mlr.press/v120/moe20a.html). It also shows how to use these network for unevenly sampled data and flexible online predictions, as described in Moe and Sterud, 2021 (coming in Proceedings of Machine Learning Research vol 144:1–11, 2021).
To install the `larnn` packge with pip, run
`git clone https://github.com/SINTEF/Linear-Antisymmetric-RNN`
`pip install larnn`
in the terminal.
Importing `larnn` to your python project, gives access the LinearAntisymmetricCell class, as well as larnn.utils, which contain helper functions for shaping data to feed to a RNN with LinearAntisymmetricCells.
Usage examples are given in jupyter notebooks in the `examples` folder. `ex_1_introduction.ipynb` shows how to construct and train a simple LARNN on a one-dimensional example. `ex_2_var_step_size.ipynb` shows how to construct, train and make predictions with a LARNN when the dataset is unevenly sampled. The packages needed for running the provided examples are listed in `requirements.txt`.