Ads by Google
Christian Borgelt's Web Pages

HfN - Hopfield Network Demonstration


32 bit 64 bit (32/64 bit only for executable)
xhfn (95 kb) xhfn (103 kb) GNU/Linux executable
whfn.exe (149 kb) whfn.exe (173 kb) Windows executable (118 kb) hfnd.tar.gz (105 kb) C sources, version 1.4 (2014.10.24)


A program that demonstrates how Hopfield networks can be used as associative memory. With it two-dimensional bit patterns can be stored in and retrieved from a Hopfield network.

Full description of this program (included in the source package).

HFN screenshot

If you have trouble executing the program on Microsoft Windows, check whether you have the Microsoft Visual C++ Redistributable for Visual Studio 2017 (see under "Other Tools and Frameworks") installed, as the program was compiled with Microsoft Visual Studio 2017.

An introduction to neural networks and Hopfield networks in particular can be found in: