Skip to main content

No project description provided

Project description

TorchRC

PyPI version fury.io Python package

An organized collection of Reservoir Computing models and techniques that is well-integrated within the PyTorch API.

WARNING: Work in progress!

What's inside

Models

At the moment, the library contains an implementation of:

  • (Leaky/Deep) Echo State Network (torch_rc.nn.LeakyESN)
  • (Leaky/Deep) Echo State Network with Ring or Multiring Reservoir (torch_rc.nn.MultiringESN)

More models are coming.

Optimizers

TorchRC allows to train the reservoir models either in closed form or with the standard PyTorch optimizers. Exact incremental closed form techniques are supported in order to support those scenarios in which it is not feasible to hold all the network states in memory. Training on the GPU is also supported.

Currently supported optimizers:

  • Ridge Classification (torch_rc.optim.RidgeClassification): for trainin a readout in closed-form for classification problems.
  • Ridge Regression (torch_rc.optim.RidgeRegression): for trainin a readout in closed-form for regression problems.
  • Ridge Incremental Classification (torch_rc.optim.RidgeIncrementalClassification): for training a readout in closed-form for classification problems, passing data in multiple separate calls (e.g., for when your collection of states do not fit in memory).
  • Ridge Incremental Regression (torch_rc.optim.RidgeIncrementalRegression): for training a readout in closed-form for regression problems, passing data in multiple separate calls (e.g., for when your collection of states do not fit in memory).

Installation

pip3 install torch-rc

Example

You can find example scripts in the examples/ folder.

Project details


Download files

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

Source Distribution

torch_rc-0.2.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

torch_rc-0.2.3-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file torch_rc-0.2.3.tar.gz.

File metadata

  • Download URL: torch_rc-0.2.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for torch_rc-0.2.3.tar.gz
Algorithm Hash digest
SHA256 eaab42d887d86369d66ccf9ad5484f8f9bfb93495c7ab86ada872cd14c0a9be1
MD5 0286dcc40329167b415cc2ffe3dd65c2
BLAKE2b-256 8b10ee265d3e7a70d71615b68a90c92d4830e9d307c4cd538d1b605b9abf405e

See more details on using hashes here.

File details

Details for the file torch_rc-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: torch_rc-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for torch_rc-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 57d9d35b1c7155133e85f1e5a78ecca3cb11f52f4d5ac0acd0728c85cebd41b7
MD5 64663b0e770e91e98965be32cafea649
BLAKE2b-256 e8023188044132f7841f2e78cd274cb6b5deb9d066eb40bffaf910d627712d7f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page