Skip to main content

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

Metadata

Release files for dhnn 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dhnn 0.1.12
File Size Uploaded
dhnn-0.1.12.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dhnn 0.1.12
File Interpreter ABI Platform
dhnn-0.1.12-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 7.9 kB

Release files / dhnn-0.1.12.tar.gz

Download URL dhnn-0.1.12.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6fedf9e4951b8f034ca46cd21f376b58e2f6c4fd10aecc04f6805fadcd040c6f
BLAKE2b-256 checksum
How to use checksums
6a87edd2385085e8dea73d3066dd5de08c2a3bc67adf23aa869e4d134a4013ce
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / dhnn-0.1.12-py2.py3-none-any.whl

Download URL dhnn-0.1.12-py2.py3-none-any.whl
Size 4.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fb532f147fd9e7e715612caef814b1616466af8d500fe84787524a80a1fc5d23
BLAKE2b-256 checksum
How to use checksums
89c51ce60f01f851842c536c5e5c709602db6cb9e11a2178e8e9490d3f76f60e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.11

1 release file

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.4

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page