Skip to main content

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

echostatenetwork-0.1.1.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

echostatenetwork-0.1.1-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

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

Hashes for echostatenetwork-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8157a718bd7f7c3e68d9e850e0314b1346e0f5d54da8458cb700c10e6c008a8f
MD5 98e6f76b88e4057dcf8255efa5283a1b
BLAKE2b-256 85ce343b4fe3c8a38cca500af3b3e4e8e31b542e38692e3679206d36571c877c

See more details on using hashes here.

Provenance

The following attestation bundles were made for echostatenetwork-0.1.1.tar.gz:

Publisher: release.yml on andreanovoa/EchoStateNetwork

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file echostatenetwork-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for echostatenetwork-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 323a7d40608f90e61b26ee21a4aa71ba420800de98bdd88b20565ee66919b8c6
MD5 c3ddea47816923a110f64f8bc0f948d7
BLAKE2b-256 eab555fd903a1bdc6bd8d799ba6a91189e2aaf8a56c568e1b064a0a1bc295350

See more details on using hashes here.

Provenance

The following attestation bundles were made for echostatenetwork-0.1.1-py3-none-any.whl:

Publisher: release.yml on andreanovoa/EchoStateNetwork

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.2

2 files

This release

0.1.1 This release

2 files

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