Skip to main content

A Discrete Hopfield Neural Network Framework in python.

Project description

DHNN

A Discrete Hopfield Neural Network Framework in python.

Build Status codecov PyPI pyversions

Introduction

DHNN is a minimalistic and Numpy based implementation of the Discrete Hopfield Network. DHNN can learn (memorize) patterns and remember (recover) the patterns when the network feeds those with noises.

Installation

Just use pip:

pip install dhnn

Or download dhnn to a directory which your choice and use setup to install script:

>>> git clone https://github.com/Zeroto521/DHNN.git
>>> python setup.py install

Authors

yosukekatada Zeroto521
yosukekatada Zeroto521

TODO

  • more flag, add 0/1 flag or other flag.
  • optimize loop, try numba, Cpython or any other ways.
  • optimize memory.

License

MIT License. @yosukekatada, @Zeroto521

References

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

dhnn-0.1.12.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

dhnn-0.1.12-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dhnn-0.1.12.tar.gz.

File metadata

  • Download URL: dhnn-0.1.12.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.8

File hashes

Hashes for dhnn-0.1.12.tar.gz
Algorithm Hash digest
SHA256 6fedf9e4951b8f034ca46cd21f376b58e2f6c4fd10aecc04f6805fadcd040c6f
MD5 3ce4317f1f31bc9e5c677a21c01ba0b5
BLAKE2b-256 6a87edd2385085e8dea73d3066dd5de08c2a3bc67adf23aa869e4d134a4013ce

See more details on using hashes here.

File details

Details for the file dhnn-0.1.12-py2.py3-none-any.whl.

File metadata

  • Download URL: dhnn-0.1.12-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.8

File hashes

Hashes for dhnn-0.1.12-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fb532f147fd9e7e715612caef814b1616466af8d500fe84787524a80a1fc5d23
MD5 c39fd3c75b3979a98f254037236ac17f
BLAKE2b-256 89c51ce60f01f851842c536c5e5c709602db6cb9e11a2178e8e9490d3f76f60e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page