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

Metadata

Release files for rmsorn 0.0.9

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.9
File Size Uploaded Provenance
rmsorn-0.0.9.tar.gz 18.1 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 36.9 kB

Release files / rmsorn-0.0.9.tar.gz

Download URL rmsorn-0.0.9.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5cfdce4ad5bd4a714d5477fdefd0cc3056671cfc0ea8723ae94d929c06781a97
BLAKE2b-256 checksum
How to use checksums
02d7f228f7b813b43bf2ef4abad2bae905ff9d2db06ebda0c9f2302ff1216c8c
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.9-py3-none-any.whl

Download URL rmsorn-0.0.9-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa379c526d5023ba4691fb2f737c38edc8946b2e7d0ff295d48909dd43686b1e
BLAKE2b-256 checksum
How to use checksums
c3976e003ea1a7e823b9af045a791c37cb6d34a7105f65214d52024ee306e74f
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

Security for rmsorn 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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