A Python toolkit for Reservoir Computing and Echo State Network experimentation based on pyTorch. EchoTorch is the only Python module available to easily create Deep Reservoir Computing models.
Code for KDD'20 "Generative Pre-Training of Graph Neural Networks".
Key parameters and specifications
Key parameters and specifications
Parameter
Value
Language
Python
Category
Model Development
Subcategory
Architecture
Keywords
RNNs
Stars
502
Forks
117
Contributors
4
Created date
2017-04-06
Updated date
2026-10-04
Stars in 1 day
0
Stars in 7 days
0
Rank
18,294
Previous rank
18,049
Rank change
-245
7-day stars rank
16,584
Previous 7-day stars rank
16,599
7-day stars rank change
15
Total stars rank
19,317
Previous total stars rank
19,298
Total stars rank change
-19
Country
Switzerland
README summary
EchoTorch is not intended to be put into production but for research purposes. As it is based on pyTorch, EchoTorch's layers can be integrated into deep architectures. EchoTorch gives two possible ways to train models : Classical ESN training with Moore Penrose pseudo-inverse or LU decomposition; pyTorch gradient descent optimizer; Join our community to create datasets and deep-learning models! Chat with us on Gitter and join the Google Group to collaborate with us. datasets : Pre-built datasets for common
ESN tasks echotorch. models : Generic pretrained ESN models echotorch. transforms : Data transformations specific to echo state networks echotorch. utils : Tools, functions and measures for echo state networks Getting started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. Prerequisites You need to following package to install EchoTorch. pyTorch TorchVision Installation Authors **Nils Schaetti
** - *Initial work* - nschaetti License This project is licensed under the GPLv3 License - see the LICENSE file for details. Citing If you find EchoTorch useful for an academic publication, then please use the following BibTeX to cite it: A short introduction Classical ESN training You can simply create an ESN with the ESN or LiESN objects in the nn module. Where input_dim is the input dimensionality; h_hidden is the size of the reservoir; output_dim is the output dimensionality
; spectral_radius is the spectral radius with a default value of 0. 9; learning_algo allows you to choose with training algorithms to use. The possible values are inv, LU and sdg; You now just have to give the ESN the inputs and the attended outputs. After giving all examples to EchoTorch, you just have to call the finalize method. The model is now trained and you can call the esn object to get a prediction. ESN training with Stochastic
Gradient Descent
Frequently asked questions
How many stars and forks are recorded?
nschaetti/EchoTorch has 502 stars and 117 forks.
What is the repository rank?
nschaetti/EchoTorch is ranked 18,294.
What language and category are recorded?
nschaetti/EchoTorch has 502 stars, uses Python and belongs to Model Development.
Which repository is closest in rank?
nschaetti/EchoTorch is compared with jazzsaxmafia/show_attend_and_tell.tensorflow, ranked 18,291 with 502 stars.
README
EchoTorch is a python module based on pyTorch to implement and test
various flavours of Echo State Network models. EchoTorch is not
intended to be put into production but for research purposes. As it is
based on pyTorch, EchoTorch's layers can be integrated into deep
architectures.
EchoTorch gives two possible ways to train models :
Classical ESN training with Moore Penrose pseudo-inverse or LU decomposition;
pyTorch gradient descent optimizer;
Join our community to create datasets and deep-learning models! Chat with us on Gitter and join the Google Group to collaborate with us.
This repository consists of:
echotorch.datasets : Pre-built datasets for common ESN tasks
echotorch.models : Generic pretrained ESN models
echotorch.transforms : Data transformations specific to echo state networks
echotorch.utils : Tools, functions and measures for echo state networks
Getting started
These instructions will get you a copy of the project up and running
on your local machine for development and testing purposes.
See deployment for notes on how to deploy the project on a live system.
Prerequisites
You need to following package to install EchoTorch.
spectral_radius is the spectral radius with a default value of 0.9;
learning_algo allows you to choose with training algorithms to use.
The possible values are inv, LU and sdg;
You now just have to give the ESN the inputs and the attended outputs.
for data in trainloader:
# Inputs and outputs
inputs, targets = data
# To variable
inputs, targets = Variable(inputs), Variable(targets)
# Give the example to EchoTorch
esn(inputs, targets)
# end for
After giving all examples to EchoTorch, you just have to call the
finalize method.
esn.finalize()
The model is now trained and you can call the esn object to get a
prediction.