Skip to main content

xesn

codecov Documentation Status Conda Version PyPI version

DOI

Echo State Networks powered by xarray and dask.

Description

xesn is a python package for implementing Echo State Networks (ESNs), a particular form of Recurrent Neural Network originally introduced by Jaeger (2001). The main purpose of the package is to enable ESNs for relatively large scale weather and climate applications, for example as by Smith et al., (2023) and Arcomano et al., (2020). The package is designed to strike the balance between simplicity and flexibility, with a focus on implementing features that were shown to matter most by Platt et al., (2022).

xesn uses xarray to handle multi-dimensional data, relying on dask for parallelization and to handle datasets/networks that are too large for a single compute node. At its core, xesn uses numpy and cupy for efficient CPU and GPU deployment.

Installation

Installation from conda-forge

conda install -c conda-forge xesn

Installation from pip

pip install xesn

Installation from source

git clone https://github.com/timothyas/xesn.git
cd xesn
pip install -e .

Note that additional dependencies can be installed to run the unit test suite::

pip install -e .[test]
pytest xesn/test/*.py

Getting Started

To learn how to use xesn, check out the documentation here

Get in touch

Report bugs, suggest features, or view the source code on GitHub.

xesn is licensed under the Apache-2.0 License.

Development occurs on GitHub at https://github.com/timothyas/xesn.

Citation

If you find xesn useful, we would appreciate it if you cite the package as follows:

Smith et al., (2024). xesn: Echo state networks powered by Xarray and Dask. Journal of Open Source Software, 9(103), 7286, https://doi.org/10.21105/joss.07286

Here's a sample bibtex entry:

@article{
    Smith2024,
    doi = {10.21105/joss.07286},
    url = {https://doi.org/10.21105/joss.07286},
    year = {2024}, publisher = {The Open Journal},
    volume = {9},
    number = {103},
    pages = {7286},
    author = {Timothy A. Smith and Stephen G. Penny and Jason A. Platt and Tse-Chun Chen},
    title = {xesn: Echo state networks powered by Xarray and Dask},
    journal = {Journal of Open Source Software}
}

Metadata

Release files for xesn 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xesn 0.2.2
File Size Uploaded
xesn-0.2.2.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for xesn 0.2.2
File Interpreter ABI Platform
xesn-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.3 MB

Release files / xesn-0.2.2.tar.gz

Download URL xesn-0.2.2.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
569240f3c0f2e04d0981f333c319d9f2f86d26a6f87f12273a12a2332be11b7a
BLAKE2b-256 checksum
How to use checksums
3ab143e8f820b1cda8b7530a9779c420c4c883210c58e607089c7d3666bdf0c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2024.

Transparency log

Release files / xesn-0.2.2-py3-none-any.whl

Download URL xesn-0.2.2-py3-none-any.whl
Size 57.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84fdbb97de32229d78e3361a75d9540645cb1126f621639a1989826ad1be2be0
BLAKE2b-256 checksum
How to use checksums
887b8cb19a5eee3528a5df51067d7035800b4fb046d57f97564c9efc427c7d3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2024.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release 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