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-12, i.e. 32 to 4096 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-12 -- 32 to 4096 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.1.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.1-cp313-cp313-win_amd64.whl (487.4 kB view details)

Uploaded CPython 3.13Windows x86-64

hypercube_rc-0.2.1-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.1-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.1-cp313-cp313-macosx_13_0_arm64.whl (519.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

hypercube_rc-0.2.1-cp312-cp312-win_amd64.whl (487.3 kB view details)

Uploaded CPython 3.12Windows x86-64

hypercube_rc-0.2.1-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.1-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.1-cp312-cp312-macosx_13_0_arm64.whl (519.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

hypercube_rc-0.2.1-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.1-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.1-cp311-cp311-macosx_13_0_arm64.whl (517.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

hypercube_rc-0.2.1-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.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: hypercube_rc-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 ebdd9ac665310789060bca98fe7ea02918c8694e97c60c45a4db9dafa3060821
MD5 48159cd9a93e580e0dcedb15bcfef1d0
BLAKE2b-256 4c95271c576fd46f401943268e14d3beafd964f3f4c09058d0dcfe2baa642cd9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0af3652d856f398f52332fc8a8057f84ee71515a82905c52e690590e7a8848a5
MD5 63962eaec81ecc6cf89e5a47241c6b14
BLAKE2b-256 c7efc0b0512a431e52d0583ae5a1c55d8b55c79e4e694cd4479df71a7d7fda0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b33e623065c21971797f9fd5ffdccc6f820d2b65cbdbe3d452fe285a86c70cda
MD5 8b2a7eece49654ef2e9e64f13d0cce1b
BLAKE2b-256 ac1a813f28b94ab0cdcb3a01a3b2da2dd4ec739efc2e60f013a5ec288527bd96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b2e6859418443b9c53efd8df87d7d1591e1d89e2b0eaa971445e86c7e06d23b9
MD5 0cb9779398402f2c6fc23433dc4c32a9
BLAKE2b-256 d5cd1f97c8f63dff1b39c48ed46ad686923c89b1ce59a66c5bc35b06cdb9db7e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 befcb4612151a2d83b75e8c01dc42f1dba6b7a7290780e361f157848f317b849
MD5 9a8d72945e0110bb18a88b2368b22f5e
BLAKE2b-256 cf062ed84ba36fc3b9b25e64ed6a55472da073cf7953cb7d6ac6c761d5a30ec5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 52b305122aa5f7a6d6fa934c218e08a90caf7e943c66223dfa49cb748bf9a07b
MD5 e17416c0f1c6f3f23dfc6847261cb54b
BLAKE2b-256 0287abe6994ed620cad00d096b2604601b72f0b4c0dac6fcdfe29c824337a000

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 00c2a82da757019721af995c895359936cf2253b052af3bd9c914c3740647fe6
MD5 28f671251fc86a4587a1ce76baf1c0fc
BLAKE2b-256 aaa74d44ea61392d747e7f3c3c048f17542064825df57c005d69d7419bb0068b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 148f5b47306ffb0e2947aa8113c4e495b6fbae2ce65f69440d77eaa3dab19a3c
MD5 9e0732cd4eab6b806ac935322eafffcf
BLAKE2b-256 a4a6c5bbfdc1396f7240333e85279f1470d54d550094f9da971f917ef1645b4d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2acde499df01405f1318ad2f7970151724b4c4757b3cd7676a32be5420d5537a
MD5 2cd5431937da4127dd58bc04b98eab7d
BLAKE2b-256 1b1c0cc4fcc1ffb6d8692febab4a7cd57ae791145ed60110d84382461f7e2e80

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b7ed96af0b48092cc95451fe70289c52a2375b332fd5a8c2adb7fe4e7c755d7f
MD5 c68f50b71f4409604307178c9f2cb835
BLAKE2b-256 bc115e1a8bda0b415c99ba3e87d07d4203fae718bc9b9b1de9d74183cd67673f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7533dd005eb31a7f354ec45c6e9a2115efd7738724f020e685f6ecf0234cf7a3
MD5 ac3e37f65298667b5ca16419ce16440a
BLAKE2b-256 bda1f14ff9792496b1d0c22b207737b044baeefb0e1695e4d3ec27667550d0f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 65c13f6d8414e3078f6b7a6625a12cbc44199dbcd02a4cd0a2b9651ad5e23c10
MD5 18ede90097fd708637f0aa1c4004f747
BLAKE2b-256 2275c0ee12fae1bf1af1d33515c87dcf2fd568c866a773a633204fdf4f41a15b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8b22a32b10c2854dbf9dcbed92fb58132c8f97b1e452cf1933a5f6fd73b095a0
MD5 4b6a3e2b3a28d317d209770595b171ff
BLAKE2b-256 e6f10cc45ee0cbeb3e81d024e44107ed1933cbcb5dff71efcbab639bcbf7a4b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 99eae284f820157c57490cd4e7ee2fd2535e93b63c69fce9dbcc3396b6f5467c
MD5 cc6508086d7a02d4727ffbc62c19017d
BLAKE2b-256 cb185fe491673b5f76252ee00199539c619c2d85f276ac0bb0632dbbeaf59398

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 90879b254711ec34fdb7082b2228e226489a22cb5b077193d7ddbfee83e88862
MD5 1e68fbc098b3613c787a9c1e1cad22aa
BLAKE2b-256 895addedbfff216bd9cbaf0e3fdcb3636b0ba212a65c1eee5d7c81214b274e14

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 711b7686d58a84233f6ece22b15278f578aa9e4ba81f8c344d0e0b3149a91d5e
MD5 8b88a9a2f6591766b0b75cc3e6d6bae9
BLAKE2b-256 846eb00435f34d093cbe7826db90ef8a5449464bcfea9a67c24386faa3a8347e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hypercube_rc-0.2.1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1542504244ddb71d9f3f28fc1a4aa8e483432f9c0171e7bd447f93ad6ce629da
MD5 054a3389b9b36386ef0e55b9489deba5
BLAKE2b-256 b5f63b39faa269997373cc9cc79a79608805e13b1d94d152f5fac6c339ca5227

See more details on using hashes here.

Provenance

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