Skip to main content

A Python package for Echo State Network experiments.

Project description

esn-lab

A Python package for Echo State Network (ESN) experiments and training.

Overview

esn-lab provides an implementation of Echo State Networks, a type of reservoir computing. It enables training and prediction of time series data using state vectors from the reservoir layer.

Installation

pip install -e .

Key Components

Usage Example

※ For detailed usage examples, see ./projects

from esn_lab import ESN, Tikhonov, train

# Initialize model
model = ESN(
    N_u=1,          # Input dimension
    N_y=1,          # Output dimension
    N_x=100,        # Number of reservoir nodes
    density=0.1,    # Connection density
    input_scale=1.0,
    rho=0.9         # Spectral radius
)

# Initialize optimizer
optimizer = Tikhonov(N_x=100, N_y=1, beta=1e-6)

# Execute training
output_weight = train(model, optimizer, U_list, D_list)

# Set output weights
model.Output.setweight(output_weight)

License

MIT License

Development Status

Development Status: Alpha

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

esn_lab-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

esn_lab-0.2.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file esn_lab-0.2.0.tar.gz.

File metadata

  • Download URL: esn_lab-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for esn_lab-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6ac8620744fdfdb4b9d54b210e9a610d442296e9922ec8c52074eaddfcddaa0b
MD5 415a8a1e1990ea18e1a0325fa5acd9ed
BLAKE2b-256 6f99b92b09bde9b8a51a1371eb883bde11f81a70777e6062096d2993f9f54742

See more details on using hashes here.

File details

Details for the file esn_lab-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: esn_lab-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for esn_lab-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eface6b8b612afc3fd44fe2638ee2154f4d78ed10e55e0d8076c61507d94dc3a
MD5 3ee11fa25941c8ed9479a0b40e5a900a
BLAKE2b-256 55904d686d5e37443d4cfa9a5490d41e4fb640dca6513360b128d0cdac7ef53a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page