EchoStateNetwork
Echo state networks / reservoir computing in pure numpy. One class,
EchoStateNetwork: ridge-regression training with chaotic recycle validation
(contiguous runs or ragged dwell segments), parametric inputs, optional Bayesian
hyperparameter search (scikit-optimize), closed-loop prediction, and Jacobians
for data assimilation.
This is the single shared reservoir core behind
qlrom (quantized-local ESN families) and
romda (real-time ESN forecasting and
bias-aware data assimilation).
Install
pip install echostatenetwork # core (numpy/scipy/matplotlib)
pip install "echostatenetwork[opt]" # + scikit-optimize for Bayesian hyperparameter search
pip install -e ".[dev]" # development
Quickstart
import numpy as np
from echostatenetwork import EchoStateNetwork
y = my_time_series # (Nt, N_dim)
esn = EchoStateNetwork(y, dt=0.01, N_units=200, t_train=40.0, t_val=4.0)
esn.train([y])
u_wash, r = ... # see docstrings: washout then closed loop
Acknowledgements
This repository is based on alberacca/Echo-State-Networks, the reference implementation of the recycle-validation ESN:
Racca, A., & Magri, L. (2021). Robust optimization and validation of echo state networks for learning chaotic dynamics. Neural Networks, 142, 252-268. doi:10.1016/j.neunet.2021.05.004
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file echostatenetwork-0.1.1.tar.gz.
File metadata
- Download URL: echostatenetwork-0.1.1.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8157a718bd7f7c3e68d9e850e0314b1346e0f5d54da8458cb700c10e6c008a8f
|
|
| MD5 |
98e6f76b88e4057dcf8255efa5283a1b
|
|
| BLAKE2b-256 |
85ce343b4fe3c8a38cca500af3b3e4e8e31b542e38692e3679206d36571c877c
|
Provenance
The following attestation bundles were made for echostatenetwork-0.1.1.tar.gz:
Publisher:
release.yml on andreanovoa/EchoStateNetwork
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
echostatenetwork-0.1.1.tar.gz -
Subject digest:
8157a718bd7f7c3e68d9e850e0314b1346e0f5d54da8458cb700c10e6c008a8f - Sigstore transparency entry: 2451327192
- Sigstore integration time:
-
Permalink:
andreanovoa/EchoStateNetwork@fcd33a8a2106ebeaf931c673f9c2555dfa39a15b -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/andreanovoa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fcd33a8a2106ebeaf931c673f9c2555dfa39a15b -
Trigger Event:
push
-
Statement type:
File details
Details for the file echostatenetwork-0.1.1-py3-none-any.whl.
File metadata
- Download URL: echostatenetwork-0.1.1-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
323a7d40608f90e61b26ee21a4aa71ba420800de98bdd88b20565ee66919b8c6
|
|
| MD5 |
c3ddea47816923a110f64f8bc0f948d7
|
|
| BLAKE2b-256 |
eab555fd903a1bdc6bd8d799ba6a91189e2aaf8a56c568e1b064a0a1bc295350
|
Provenance
The following attestation bundles were made for echostatenetwork-0.1.1-py3-none-any.whl:
Publisher:
release.yml on andreanovoa/EchoStateNetwork
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
echostatenetwork-0.1.1-py3-none-any.whl -
Subject digest:
323a7d40608f90e61b26ee21a4aa71ba420800de98bdd88b20565ee66919b8c6 - Sigstore transparency entry: 2451327242
- Sigstore integration time:
-
Permalink:
andreanovoa/EchoStateNetwork@fcd33a8a2106ebeaf931c673f9c2555dfa39a15b -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/andreanovoa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fcd33a8a2106ebeaf931c673f9c2555dfa39a15b -
Trigger Event:
push
-
Statement type: