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).

Documentation: https://andreanovoa.github.io/EchoStateNetwork/

Tutorials

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.2.tar.gz (34.8 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.2-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file echostatenetwork-0.1.2.tar.gz.

File metadata

  • Download URL: echostatenetwork-0.1.2.tar.gz
  • Upload date:
  • Size: 34.8 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.2.tar.gz
Algorithm Hash digest
SHA256 91b100d57da2d08d2fd7e6d053bd4240fd99347199d4ad767edfded5f224ee98
MD5 6bcf60299aa602ce12369d65514ca56b
BLAKE2b-256 aef1c977b3b69abe1c059822c66bb8b0eb0dcefef63f57490dbed1773f166ee0

See more details on using hashes here.

Provenance

The following attestation bundles were made for echostatenetwork-0.1.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for echostatenetwork-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e47ad611fa90db16b52f2336ae803e00259ee7f39399a8ee9982c12001692268
MD5 24219c2e96abd154b64f0e1c8d431b20
BLAKE2b-256 f3b9828af952aacdcb64ad8c200ba2a50ce0bd20cc82674b298263d83aba8f44

See more details on using hashes here.

Provenance

The following attestation bundles were made for echostatenetwork-0.1.2-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

This release

0.1.2 This release

2 files

0.1.1

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