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_sorn()

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.6.tar.gz (18.7 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.6-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rmsorn-0.0.6.tar.gz
  • Upload date:
  • Size: 18.7 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.6.tar.gz
Algorithm Hash digest
SHA256 f708d89a1a574be638aa92baa5583ab8d4f49ceddc96f7775adcd3999efc42ca
MD5 57211bc940c2b8fbebef9328a4921dbf
BLAKE2b-256 26438bfcd291e5c13be59d88aad5d7258fec0eefebb4d6c8281b4f68265319cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rmsorn-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 19.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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a54275caad17742c8ac30d01bd3b2cd1c718ce25a0168858941e7082b11a834b
MD5 84993ebf803dc071c25c111467215bd2
BLAKE2b-256 419ffaa1786842bbcd7fe841156324b48e6c7b0e5e1245884ce7de0dc1c1536c

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

This release

0.0.6 This release

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