Skip to main content

DEPRECATED — renamed to hypercube-esn. Install `hypercube-esn` instead (drop-in successor).

Project description

HypercubeRC

Build wheels

⚠️ DEPRECATED — renamed to hypercube-esn. hypercube-rc is no longer maintained; 0.2.5 is the final release. Install the drop-in successor instead:

pip install hypercube-esn

Then update imports from hypercube_rc to hypercube_esn.

Python bindings for a reservoir computer whose neurons live on a Boolean hypercube — a DIM-dimensional graph where each vertex is addressed by a DIM-bit binary index, with all connectivity defined by XOR operations on those indices. Neuron states are continuous real values (driven through tanh nonlinearity); only the addressing scheme is binary. No adjacency list is stored. N = 2^DIM neurons (DIM 5-16, i.e. 32 to 65,536 neurons). Scale-invariant hyperparameters: the same SR and input_scaling work at every DIM.

Installation

pip install hypercube-rc

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_rc as hrc

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

Features

  • Simple API -- fit() handles warmup, run, and train in one call
  • DIM 5-16 -- 32 to 65,536 neurons, scale-invariant defaults
  • HCNN readout -- learned convolutional readout on raw reservoir state
  • Multi-input -- multiple input channels via stride-interleaved 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/HypercubeRC

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_rc-0.2.5.tar.gz (16.7 kB view details)

Uploaded Source

Built Distributions

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

hypercube_rc-0.2.5-cp313-cp313-win_amd64.whl (757.7 kB view details)

Uploaded CPython 3.13Windows x86-64

hypercube_rc-0.2.5-cp313-cp313-manylinux_2_28_x86_64.whl (674.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

hypercube_rc-0.2.5-cp313-cp313-macosx_13_0_x86_64.whl (621.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

hypercube_rc-0.2.5-cp313-cp313-macosx_13_0_arm64.whl (522.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

hypercube_rc-0.2.5-cp312-cp312-win_amd64.whl (757.6 kB view details)

Uploaded CPython 3.12Windows x86-64

hypercube_rc-0.2.5-cp312-cp312-manylinux_2_28_x86_64.whl (673.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

hypercube_rc-0.2.5-cp312-cp312-macosx_13_0_x86_64.whl (621.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

hypercube_rc-0.2.5-cp312-cp312-macosx_13_0_arm64.whl (522.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

hypercube_rc-0.2.5-cp311-cp311-win_amd64.whl (760.8 kB view details)

Uploaded CPython 3.11Windows x86-64

hypercube_rc-0.2.5-cp311-cp311-manylinux_2_28_x86_64.whl (679.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

hypercube_rc-0.2.5-cp311-cp311-macosx_13_0_x86_64.whl (608.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

hypercube_rc-0.2.5-cp311-cp311-macosx_13_0_arm64.whl (519.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

hypercube_rc-0.2.5-cp310-cp310-win_amd64.whl (759.1 kB view details)

Uploaded CPython 3.10Windows x86-64

hypercube_rc-0.2.5-cp310-cp310-manylinux_2_28_x86_64.whl (677.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

hypercube_rc-0.2.5-cp310-cp310-macosx_13_0_x86_64.whl (607.1 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

hypercube_rc-0.2.5-cp310-cp310-macosx_13_0_arm64.whl (518.3 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file hypercube_rc-0.2.5.tar.gz.

File metadata

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

File hashes

Hashes for hypercube_rc-0.2.5.tar.gz
Algorithm Hash digest
SHA256 77ea38e54ff2e27ccea0452be1ef7343900160358d00cac875b043092d94045a
MD5 9e2e3f627b91b82aa1c4525fce4e0728
BLAKE2b-256 606dd47457afc865747382b83e725495c765b44c8b1ffc03623864f1e01796a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5.tar.gz:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 68a3b2dbcaf1965107a628d8419245c2d6dcc7f531c02dee9210dda1e0fc1202
MD5 00ea58e3e29dd222280d436ed116f409
BLAKE2b-256 3a7c115ed0308c092eeb64d1b2754547385ae4139db7a11efa77767f3df2095c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp313-cp313-win_amd64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 60a9495d2d241ac690adf79ef630fe56c7ff78084ba8bcfa947fb1dbf2d67070
MD5 c5519e36b3796993d532b579a4d69baf
BLAKE2b-256 1221c3da294f89e5bc4bc0a9218ae94598965f84f4343390ebc029675a23a058

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b6d02057cba084ca9c6a3de8948fcd889885de1cef48931254951d04176886c3
MD5 80d4e7bf2059912914205f1170b0c91d
BLAKE2b-256 1c23c86306b2c68e4c0aa3885aa1cc80257509c72c2031d812674adfc10a8238

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 efd09af75297000a651f626d973e587ec51efb1fb625f81a718c8bda31f60e5e
MD5 eeb432e49c1d22701b5c90b026e5f80d
BLAKE2b-256 93bdc20fd82c9bda43525446f6737c15679056fe5124cc445d68b41ae8510761

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp313-cp313-macosx_13_0_arm64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6aed53666dc93f7cef7e8daab3abfa16e267f17332388b8f3d2b97575cd81dfe
MD5 8bcf6885a6d6dd26f19ef36b03e99ce8
BLAKE2b-256 bc24573482e1a2c2a5d2f4425f7ebe75eb074addc472518255fec8e9ed3b5401

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp312-cp312-win_amd64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 99c40dd9dba38aebf90f2079528f4ace263957acc79263687f3ba28badcdb4b2
MD5 deb435d1810d044eaf65614b401424db
BLAKE2b-256 070d2dec487bcf2077ba8fb032e9465c8ef7688437b51eeb00dcec9c2212fdc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 356fafc47c0bf4b884018ef6db97e01f42d34d8cf7f8ec9fb81f82ddcf0320f0
MD5 b4d04ccf08bf9fcb16de61fca03196a7
BLAKE2b-256 83f75042e105dc3ed48c4df6436420af2e56f608b3fd2bfe562d2a37cce46d4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3c28e7335cf5a13618cc42f95e5e42ca2dbfd2f4893733ffd00c19666dc26de1
MD5 7562411e3e8e4700f929211f15c77517
BLAKE2b-256 ec9593407ba9dcf3204b84f39b6eabbe09b908f20d791c42f4962d3ae93f5116

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp312-cp312-macosx_13_0_arm64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d5aebd11e210d080a6f5f9f461df53bb6edf884c27a0e13b0130e575ac8a4a65
MD5 047ad808c5407fbada71395c41db522a
BLAKE2b-256 1e633ab2798fc93df88d027cffeec6971fa878ee3ea5b4688567d92070fca80d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp311-cp311-win_amd64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3d5fff6c490743a2d604f7b1a7ff13aeffa803b5146a695385a0c9db9d8c3ff6
MD5 c7782be61e2af0ed28fe5e541a56add9
BLAKE2b-256 b13ad048ab616fa8dc63a8e80f382260b3d01270646b314d5f841e8f7909675a

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5680e38980daa7724abefdf6efeebb3d1c8bbd7c5a9aaebc53fa948c4424bf79
MD5 995f634bda493670d57550c8c39f9e8a
BLAKE2b-256 a0deaa42ec2d17aa6dcb29a632ed2c573904cf7fbc69e7677de7ad1b9c2246af

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 acb9094990641e98698e667ae47870b77a7974fcbf105fb8bccd0abb52fd5ec0
MD5 93721a84007f14e5e8755125b79b6b10
BLAKE2b-256 47efe1d32458aef025b71930a5198f5795d7c690ae0d7a4522c548f811dc1eb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp311-cp311-macosx_13_0_arm64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d710a90ac77d415a91a9584189f3b991b46d3a3f9ea76bca873a0d0080bc5af3
MD5 487f131625aa9573995cd33c58a445f7
BLAKE2b-256 be459e265faba7c819c6bfc728b2420d453ce086d1283df2ace7fc0e9f531f77

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp310-cp310-win_amd64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 52189899e89e7d89981389f6557c991b54ca8211a33c2b8350112a140c016163
MD5 730dccaef61351e0d8ec8dd0ec41ec63
BLAKE2b-256 66c67e7d2a9fda3b9a222b896b9702139169ed84f4966aa42df0aadd333ce2ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3c7d95aef54407e67ff99927e9456889da0bcf6f493c58c346bdd3e68f1eb8cb
MD5 c4ecb2daec7470ad5a2ef1a5c47511b4
BLAKE2b-256 06e4440f1818c5f630372f8b03134306f6e46fe1b95c1afeae6b355c78f35994

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp310-cp310-macosx_13_0_x86_64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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_rc-0.2.5-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.5-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4c89ca44c9b956f894ac0f995cc2c03c67a9f6dcc2ae9ab04c8ea8ab56f9bde0
MD5 d829eb2e04b2d04067b5887f84de0005
BLAKE2b-256 955b9bebb822c9815618bb5345c82c6852c193adaa337542d8add1bea82a119e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.5-cp310-cp310-macosx_13_0_arm64.whl:

Publisher: wheels.yml on dliptak001/HypercubeRC

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