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/RM-SORN

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

Metadata

Release files for rmsorn 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rmsorn 0.0.5
File Size Uploaded
rmsorn-0.0.5.tar.gz 18.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rmsorn 0.0.5
File Interpreter ABI Platform
rmsorn-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 38.6 kB

Release files / rmsorn-0.0.5.tar.gz

Download URL rmsorn-0.0.5.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7c28967df91b6654ead705f53faf40f8a0303e9fb66fbbfb90f76fef6d9b607c
BLAKE2b-256 checksum
How to use checksums
5a67f69012255a05690cb6c82d29a487a109a37b9c3659fab8fbe6d5dcd11903
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / rmsorn-0.0.5-py3-none-any.whl

Download URL rmsorn-0.0.5-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3239d121de3c306f7c2a3c0370642e864457ff62851946b2b971cb0bdf2c664c
BLAKE2b-256 checksum
How to use checksums
2f6aae4aea4f74d3003e47d81c470576661f54a079831647e411709b47f186b3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release 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