Skip to main content

Python bindings for HypercubeRC: reservoir computing on Boolean hypercube graphs

Project description

HypercubeRC

Build wheels

Python bindings for reservoir computing on Boolean hypercube graphs.

The reservoir topology is a Boolean hypercube of dimension DIM, giving N = 2^DIM neurons (DIM 5-16, i.e. 32 to 65,536 neurons). All connectivity is defined by XOR operations on vertex indices -- no adjacency list stored. 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.2.tar.gz (16.0 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.2-cp313-cp313-win_amd64.whl (487.4 kB view details)

Uploaded CPython 3.13Windows x86-64

hypercube_rc-0.2.2-cp313-cp313-manylinux_2_28_x86_64.whl (670.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

hypercube_rc-0.2.2-cp313-cp313-macosx_13_0_x86_64.whl (618.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

hypercube_rc-0.2.2-cp313-cp313-macosx_13_0_arm64.whl (519.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

hypercube_rc-0.2.2-cp312-cp312-win_amd64.whl (487.4 kB view details)

Uploaded CPython 3.12Windows x86-64

hypercube_rc-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl (670.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

hypercube_rc-0.2.2-cp312-cp312-macosx_13_0_x86_64.whl (617.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

hypercube_rc-0.2.2-cp312-cp312-macosx_13_0_arm64.whl (519.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

hypercube_rc-0.2.2-cp311-cp311-win_amd64.whl (484.4 kB view details)

Uploaded CPython 3.11Windows x86-64

hypercube_rc-0.2.2-cp311-cp311-manylinux_2_28_x86_64.whl (673.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

hypercube_rc-0.2.2-cp311-cp311-macosx_13_0_x86_64.whl (605.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

hypercube_rc-0.2.2-cp311-cp311-macosx_13_0_arm64.whl (517.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

hypercube_rc-0.2.2-cp310-cp310-win_amd64.whl (483.6 kB view details)

Uploaded CPython 3.10Windows x86-64

hypercube_rc-0.2.2-cp310-cp310-manylinux_2_28_x86_64.whl (674.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

hypercube_rc-0.2.2-cp310-cp310-macosx_13_0_x86_64.whl (604.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

hypercube_rc-0.2.2-cp310-cp310-macosx_13_0_arm64.whl (516.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: hypercube_rc-0.2.2.tar.gz
  • Upload date:
  • Size: 16.0 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.2.tar.gz
Algorithm Hash digest
SHA256 816bce71e48420edb985461621c9f444b5fde292ca0559698d3333b848249127
MD5 c6705943c555b4fb4137e5e694bc84de
BLAKE2b-256 9555a3b6c5cbed39520124327e4e25cf45e3096f9f0de1ff8bd679aa197e56a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2.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.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 08e706650cc9c28f11d628e0b0020c41b6802022a4aba4e35e39ec424bbdb7de
MD5 613c11c576b0463b7c16e4c8bdcaee81
BLAKE2b-256 f6b5c80a9c9f89d33f5bcd742c30aa13bcc37b5f826af5ce517db6d30466c374

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68d836cb4a8a82c44ee0318574ba94c8cfca249bffa00acf6f173718a8c881c7
MD5 a561f50b5b1d571d4cb060a1a5b1d5c3
BLAKE2b-256 fdf8cd3d5891807220cee9d04f04159fa53bc779be0ba5c3cf1aa77a16692286

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c5f5dc345ad7bbc621c00e3e546912c7051b08a6aad78f561bd2632344dbd913
MD5 cd38d6d655c87057ae618432bfa45625
BLAKE2b-256 aa694a37c13e689f8db0b28cc8933875b999e0ba49ee9e7a412947c6369e6997

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6662a050542a2e3139dd83d2cb1880ea9594d0660376db03ab4222eca21f9afc
MD5 4bdd3876d29fa7860ec10faeffff48d1
BLAKE2b-256 423a2e4837b3f833190a230bb57bf96ac906075ca8b51de0b8ffba729a0d2e79

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ad08755928e22d6c004e381bf2836d69108faa26092e431315bf2c550d1701f8
MD5 fde4f254dbbb59a09f82db8136cdb9cd
BLAKE2b-256 8d24c33f392462d920e14cc45d180b0acad718c7c65664e9083882a21a4de927

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 99ca763a2664fa10952ccc52397ad36f7229b2456f4e92cfefdf059932d05dfc
MD5 9e0f7f0c61f98656a1236206977d25b7
BLAKE2b-256 a1008de2031c4d08ae82817fa0a3062fee8c46b20ee118579966d99c6584a155

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7e033e3c0dcb437b4b9493d85e76487f00e0c6cf00cec8d9ae4d0880bb48cf29
MD5 c3720c740615a982d2d6a3071703335e
BLAKE2b-256 791e770a8ac20d79375fa5353a9c8ff4518ef475f7e705f340172bce4d623cef

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a5af6d8941ef0b354136f50ac660eefca1d4edd9721bb145fd22b9570ef1a734
MD5 8a75a5eda2f878d959956a991dd57184
BLAKE2b-256 5471fa47208c4a19cda2ebd04961d175e37eb8aaa3cb42387e93c8a7ef4fe63d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f9eb686737dfb4abac08372672870431a9f7743b8263cf34ab883be4ae9f686f
MD5 a70014475e2eaa926eefdf5d0c3d6c5f
BLAKE2b-256 d26afd81d710aa4c6bbfd2485350e75049201e12c862a1038dcced5180f3850e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4972e07fee5f66d4289e7083e1519594ee15dbc2d23e40a9a37ceec18409cedc
MD5 83f1eb184c70f5981feb7b8300ee99ad
BLAKE2b-256 dfcfb5733be9182bfc4b6fc462174ea93208a7d42a370e7f60f90ccb817c3751

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4a1ad67aabe0c7064ec6dce48da8d7110ca28b7d117f1c6c380c6ee0c4645cf4
MD5 8353951a303052105a2a15b243f539a2
BLAKE2b-256 f4edcc6a08567ba2e2937f1df00f975b64624ad68a7d9ee8b86333795db4e114

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ca692289f38a37495309dd20fd8ab3223f73a54a2ff93172efd6d44c2179de10
MD5 dd44234643400a53a0c22f55d454d97e
BLAKE2b-256 4f0407608c6a003fb43bfab0f6737d482a8ab8d48a966f262fe9a37c36db653c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 73d7dbb6b4212d5cccfae4d5428f2848208d4cdce166ecf5e31eade4cec54da2
MD5 d9703247fb4b77282e278e6cc5077f53
BLAKE2b-256 af182da314469cec01c1a20f8d9b8da105713712a7d877cadbc819df972e4e48

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e3dc9b8f072753fd5d1383c6b35827ead34d333ade87c9be59f5a8fa7c7b73f5
MD5 d7f0a4b3eb236193b8c7958d6f0623a4
BLAKE2b-256 a77425a93cd5afe76378c512b1e2fd54d67bb2abcc087e388e2e1c275538ed52

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6b0cae5adbbe25f188c9e360c738e93e1c078a1fa92827b0aeb588e7f95a1de3
MD5 e603dfeee9daf35bf67fd95a19f883e5
BLAKE2b-256 f927411eac675f87bc8043cdf5ed984c57aad451ac818d40bb0a454e0f592b4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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.2-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for hypercube_rc-0.2.2-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3e99865ceceb61716c5bb67bfcbcda25f39bb3a173ce667cd77e546ad4f8ba9d
MD5 152515b61cf33588e3ab779401b10b3e
BLAKE2b-256 2ba73e16c14d2f94447f2fe21230f53c237468cdde738ac72749f8aea90341b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for hypercube_rc-0.2.2-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