No project description provided
Project description
TorchRC
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 Classifier (
torch_rc.optim.RidgeClassifier
): for trainin a readout in closed-form. - Ridge Incremental Classifier (
torch_rc.optim.RidgeIncrementalClassifier
): for training a readout in closed-form, 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
Built Distribution
File details
Details for the file torch_rc-0.2.2.tar.gz
.
File metadata
- Download URL: torch_rc-0.2.2.tar.gz
- Upload date:
- Size: 1.9 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.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c682d0716a19d014f3c43b3927cbc6d4152d5d99425aedf51ff6eeca7d757888 |
|
MD5 | bf154b1dd062ab0891b610030ae9fae1 |
|
BLAKE2b-256 | 56ee3bbd0cb3014832a9651a6502d632ea1efc000c9de289c72b3ac6fc6bbf83 |
File details
Details for the file torch_rc-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: torch_rc-0.2.2-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.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23662741839738338687fba7fb703b545186a4f16b6824b3ddb76a1acbbc0e09 |
|
MD5 | 29e794514e3724c96bc4210d264e083f |
|
BLAKE2b-256 | 5e4a118480607d0b6530c2bfb3a731120a512ae6c117d10c94a7c230084d7adf |