Skip to main content

A high performance implementation of Numenta's HTM algorithms

Project description

PyEtaler

This is the offical Python binding for Etaler. PyEtaler generates Python binging using cppyy and adds additional feature on top of the automatically generated bindings.

Note: As of now, installing cppyy (thus PyEtaler) will cause ROOT to fail to load due to dependency clash.

Building from source

Note: You must have Etaler and cppyy installed globally before building the binding. Note: Since the binding is generated to load the actual Etaler installation. You'll need to re-compile the binding everytime Etaler is updated.

pip install cppyy # must installed globally
python3 genbinding.py

Installation

Please copy the files to the proper location for now. We're still working on a PyPI package.

Usage

>>> from etaler import et
>>> et.ones([2, 2])
{{ 1, 1}, 
 { 1, 1}}
>>> sp = et.SpatialPooler([128], [32])
>>> x = et.encoder.scalar(0.1, 0, 1, 128, 12)
>>> sp.compute(x)
{ 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0}

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

pyetaler-0.0.2.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file pyetaler-0.0.2.tar.gz.

File metadata

  • Download URL: pyetaler-0.0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.8.0

File hashes

Hashes for pyetaler-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ee3cf17da3a73699b41043ae4d192b6f9fd082020aad74666f3a747e218af695
MD5 0b030b5037c3d7beaa09fb9813363097
BLAKE2b-256 785ede4a5303a4e734d58944b4f2f053a6c26aafd5f455c6e9e05e2ae0faf30c

See more details on using hashes here.

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