Skip to main content

Reward Modulated Self-Organizing Recurrent Neural Networks

RMSORN is a subclass of neuro-inspired artificial network, Self Organizing Recurrent Neural Networks. With reward driven self-organization, this network achieves performance with networks trained with supervised learning algorithms.

Build Status codecov PyPI version PyPI - Downloads License

To install the latest release:

pip install rmsorn

The library is still in alpha stage, so you may also want to install the latest version from the development branch:

pip install git+https://github.com/Saran-nns/rmsorn

Usage:

Update Network configurations

Navigate to home/conda/envs/ENVNAME/Lib/site-packages/rmsorn

or if you are unsure about the directory of rmsorn

Run

import rmsorn

rmsorn.__file__

to find the location of the rmsorn package

Then, update/edit the configuration.ini

from rmsorn.tasks import PatternRecognition

inputs, targets = PatternRecognitionTask.generate_sequence()
train_plast_inp_mat,X_all_inp,Y_all_inp,R_all, frac_pos_active_conn = SimulateRMSorn(phase = 'Plasticity', 
                                                                                      matrices = None,
                                                                                      inputs = np.asarray(inputs),sequence_length = 4, targets = targets,
                                                                                      reward_window_sizes = [1,5,10,20],
                                                                                      epochs = 1).train_rmsorn()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rmsorn-0.0.8.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rmsorn-0.0.8-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file rmsorn-0.0.8.tar.gz.

File metadata

  • Download URL: rmsorn-0.0.8.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10

File hashes

Hashes for rmsorn-0.0.8.tar.gz
Algorithm Hash digest
SHA256 b57790906b183dfda51ac1573e4c86981d8e5ceabcdf4a8b0c783d0e4711f072
MD5 e85ccc5707b4e79b532b94a832565bc9
BLAKE2b-256 3785862ec3c5a9c5e5957c553172bdd07ec68d1e72cb7e475c6b2bdc9f41e45d

See more details on using hashes here.

File details

Details for the file rmsorn-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: rmsorn-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10

File hashes

Hashes for rmsorn-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 04e36c6f6729b469fcf54bba3c58c37c358d3a2bebcdf43b1d530b6964b0889c
MD5 824f71b53e6f27156695fc5b017a1be3
BLAKE2b-256 d939bf452e7d847035a81a20fd0180d7a1c87253a8eb1b4b71efec4789ffb919

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.9

2 files

This release

0.0.8 This release

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page