Skip to content

Zeroto521/DHNN

 
 

Repository files navigation

DHNN

A Discrete Hopfield Neural Network Framework in python.

Build Status codecov PyPI pyversions Downloads

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