Skip to main content

Python bindings for HypercubeESN: reservoir computing on Boolean hypercube graphs

Project description

HypercubeESN

Build wheels

Python bindings for HypercubeESN — an Echo State Network whose reservoir is a Boolean hypercube. Each neuron sits on a vertex and connects only to its Hamming-distance-1 neighbors, with every adjacency resolved by a single XOR on the vertex's binary index: a deterministic O(1) lookup that stores nothing at all. There is no adjacency list to build, store, or serialize — the connectivity is implicit in the indices. The neurons themselves stay familiar continuous tanh units; only the addressing is binary, the dynamics fully real-valued.

That same implicit addressing extends into time: each update also reaches back through an addressable delay line of its neighbors' last M states, so temporal memory is intrinsic to the topology — memory by construction rather than by luck. N = 2^DIM neurons (DIM 5-16, i.e. 32 to 65,536).

Installation

pip install hypercube-esn

Pre-built wheels for Python 3.10-3.13 on Windows (x64), Linux (x86_64, aarch64), and macOS (x86_64, arm64). No compiler required.

Quick Start

import numpy as np
import hypercube_esn as he

# One-step-ahead sine prediction
signal = np.sin(np.linspace(0, 20 * np.pi, 2000)).astype(np.float32)
esn = he.ESN(dim=7)
esn.fit(signal, warmup=200)
print(f"R2 = {esn.r2():.6f}")
print(f"NRMSE = {esn.nrmse():.6f}")

Features

  • Simple API -- fit() handles warmup, run, and train in one call
  • DIM 5-16 -- 32 to 65,536 neurons
  • HCNN readout -- learned convolutional readout on raw reservoir state
  • Multi-input -- multiple input channels via contiguous-block driving
  • Streaming mode -- online training for real-time applications
  • Model persistence -- pickle, save/load to disk

Documentation

Full API reference: docs/Python_SDK.md

Project repository: github.com/dliptak001/HypercubeESN

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

hypercube_esn-1.0.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distributions

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

hypercube_esn-1.0.0-cp313-cp313-win_amd64.whl (186.9 kB view details)

Uploaded CPython 3.13Windows x86-64

hypercube_esn-1.0.0-cp313-cp313-manylinux_2_28_x86_64.whl (325.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

hypercube_esn-1.0.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (207.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

hypercube_esn-1.0.0-cp313-cp313-macosx_13_0_x86_64.whl (205.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

hypercube_esn-1.0.0-cp313-cp313-macosx_13_0_arm64.whl (178.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

hypercube_esn-1.0.0-cp312-cp312-win_amd64.whl (186.8 kB view details)

Uploaded CPython 3.12Windows x86-64

hypercube_esn-1.0.0-cp312-cp312-manylinux_2_28_x86_64.whl (324.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

hypercube_esn-1.0.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (207.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

hypercube_esn-1.0.0-cp312-cp312-macosx_13_0_x86_64.whl (205.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

hypercube_esn-1.0.0-cp312-cp312-macosx_13_0_arm64.whl (178.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

hypercube_esn-1.0.0-cp311-cp311-win_amd64.whl (184.2 kB view details)

Uploaded CPython 3.11Windows x86-64

hypercube_esn-1.0.0-cp311-cp311-manylinux_2_28_x86_64.whl (324.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

hypercube_esn-1.0.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (207.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

hypercube_esn-1.0.0-cp311-cp311-macosx_13_0_x86_64.whl (202.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

hypercube_esn-1.0.0-cp311-cp311-macosx_13_0_arm64.whl (177.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

hypercube_esn-1.0.0-cp310-cp310-win_amd64.whl (182.8 kB view details)

Uploaded CPython 3.10Windows x86-64

hypercube_esn-1.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (322.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

hypercube_esn-1.0.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (205.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

hypercube_esn-1.0.0-cp310-cp310-macosx_13_0_x86_64.whl (201.2 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

hypercube_esn-1.0.0-cp310-cp310-macosx_13_0_arm64.whl (176.0 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file hypercube_esn-1.0.0.tar.gz.

File metadata

  • Download URL: hypercube_esn-1.0.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hypercube_esn-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4664ec00e14d41d8f23c5af991b8b58d72488d612e194b51babac5c22d748c8b
MD5 3429a567ee0568fff5ab3083c04c7732
BLAKE2b-256 313ca8d08eef5d9e3136a76b58ca9c2cef992df71d3c44305bad16eba5811363

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0.tar.gz:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c73fb124c5c8affedb1a39340ea1d56d5cc5dc38875541e9efd3f624c2764a87
MD5 8b15ff3682ceee7fd5746c6ee95bc3b1
BLAKE2b-256 94b48d56f373c4845122a63bbbb2d92ff90ad88087f0c449282f614c70bf0a80

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp313-cp313-win_amd64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a91242763e789f50ce981594bcf24b9fe700801598e285e9d50f5f29c7b3e1f0
MD5 6443d9b19dde30a0048d735f4b484d5d
BLAKE2b-256 2d58f8f365360064c8b5b6a731cc95e1f3a22f661cfe7ba963b5721531034d7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 67e271754ac4dcd9bf210946f6fc38e63957f56494c51d948e63541bb2eb415e
MD5 65a8425f63c54a1ba662168cddf99409
BLAKE2b-256 f9e1c6997c3756dcdf45581c7443259d0f609991abe4f094bc84a355a7073de3

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3af6a320983d18ef54da33c66fdc65d80ced333de8325ecec16b941b7b6e598d
MD5 e7a55d7e33d51a37b8b5332f322b1d03
BLAKE2b-256 82e90c32321759b82a7112a9702396db040d8cbc13f55dfdbb48b66e92cf650e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8fa707ff1ad2051f3aac6110af8205b0cefc020f486de5af4239f01c46b2d00d
MD5 5c73b333087443d57718a31e0ad9e423
BLAKE2b-256 80603d621757c6ea69de84357b0f4513e7ed4e533a3b532dd109ec4efb57c6a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp313-cp313-macosx_13_0_arm64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b65132c9eb68393280df88503e927b3fba04c6350b3beb7535f593e7438923af
MD5 441596047c9a2fb4f03b1ac01a2d169f
BLAKE2b-256 b7ebf03d5bcf72c0d6dcf0000421331bd1f83dcd388e0e030458b3ac05d8fda1

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp312-cp312-win_amd64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 01bb6bfe69d245738dc786107eb68702b8621dc2c7a6d97391171b27760d9da5
MD5 0a290e356e43deecce155cd206386be3
BLAKE2b-256 730ad77e9b894978dabbf0a171c5e968a9bbbba140310287475152fc8e59285c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 74fee034573f5387c8e0060ffda506705682a4a6b9c55e9babe9c8eaf1d3cf03
MD5 b8122503b588e503b14d630341634223
BLAKE2b-256 c48ad957c68bdac55e1f6ace96662f82bbef381d15a2f65d14830c8eeecf2a8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4126eedf342fd67066165b38333e81cf23dd06e5868904ecd46e31a5e4736f70
MD5 3159cf70d71c6979db9664e3e3d32ab4
BLAKE2b-256 8ab33e8c7a5a8b8e91a87f09df25a0307066cc62453d36276f474bdcc04a9a71

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 45bcba36e225b1d0326998ea607fa863c095c4950dcff5ef807a7ac1c1c86dfa
MD5 8e1f686974663523fe97e240bb214686
BLAKE2b-256 f19ff929b9c439db4ea7852219f4dad2cab941d8daaaa50ddbfb1941e57060d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp312-cp312-macosx_13_0_arm64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 048d79de1ecf28d68346e25d142705670964adb28d8094a1575d21de93c514cc
MD5 97936b0fa04914d77fb50874d2a8942b
BLAKE2b-256 0b40c98ba938aefba473561a895913077edd72ba1c5fb7f7082df8666b7a4203

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp311-cp311-win_amd64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8460299d509963e2a12276d3282df018d89bf6bffabaf42d7a32c7e62fc68150
MD5 688b06fb4f36c94f3f04305a47b92104
BLAKE2b-256 ccc7110b0decb68e7a823f646529f065132633e42b8ef36ecda01f12241364a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c8db86ffbe3a87ebaed642923414abe2375af566f53d4465cbd5d343858cd380
MD5 6f224d1c9ab3481ce8c6b8653ada6e6b
BLAKE2b-256 5cc36ff70df8282acf92de0909fc6ba782c2600350f96faddb5bc3350d3a5ccb

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b929f72eb15ee6d426295501bf5b20607e80c01e509e8eafc52580ef04d4e791
MD5 9a80590e5d5cf9037d29c3dab1960e5f
BLAKE2b-256 205d2779731a2dfd57d049607f0acf327f7f82669d7221c054ad6945cab648a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 42f13ca34a185fe929eac34bfd6e3a74944e39d0fd022525c4c491f0cffcc479
MD5 6a5480feaebf53311a452f05931abc12
BLAKE2b-256 09fc78d8c23a9530b7cf4c676fb4e279b9db88be861be4c173908753eb0b04d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp311-cp311-macosx_13_0_arm64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8875f2007e524f422f36064c72fb83b56d964b9ca8b5226eb6caaa343ae94033
MD5 ac828fa3351fd47bfe007c201119aed4
BLAKE2b-256 981ecee7fc4c0743519b5c5b70eaefec78300636680b78430f5f72253a8b3c69

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp310-cp310-win_amd64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f7284086fb06297dacd2c5331e2c626998fdbe589de39fe92b477967edb6d996
MD5 b285f56376c44a9efd576c5bdc5cae76
BLAKE2b-256 a5743122e086c92e3986e72e47af02ea8bf1f618b58293333da6c8da8953c4f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6c1a5edec7e7d4a983d7d6b03dfa64a6a8623ba5be8728956ad58ff983381b4d
MD5 7c282c8b60bd82528642678e7fe798ae
BLAKE2b-256 408b3bf9155c39944468593b871d62e6b09e8eeb7d59c55b14b1553286f249c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1750bfe400227c1729d00f38b0391329b944af13a605e8c3b5ff812dae079953
MD5 3e71c942de8ed85c04cf95f1210486ca
BLAKE2b-256 dd5380a6aaaddab05660f71695f4e4ce4598e31ea02cdee3b8d13ff78a886182

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp310-cp310-macosx_13_0_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

File details

Details for the file hypercube_esn-1.0.0-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_esn-1.0.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1877d6d3fd0319e083f933b01f00b64370736b51c25c7ea43ee53d8f7464cdce
MD5 0963e846fcd9854c9413cfc24f431590
BLAKE2b-256 c86a186ec7701e0c72bd80ef8340856fe0e4ad1007c63397ff44d61c823a18fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_esn-1.0.0-cp310-cp310-macosx_13_0_arm64.whl:

Publisher: wheels.yml on dliptak001/HypercubeESN

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

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