Ads by Google
Christian Borgelt's Web Pages

HfN - Hopfield Network Demonstration


32 bit 64 bit (32/64 bit only for executable)
xhfn (87 kb) xhfn (95 kb) GNU/Linux executable
whfn.exe (120 kb) whfn.exe (133 kb) Windows executable (117 kb) hfnd.tar.gz (104 kb) C sources, version 1.3 (2013.08.09)


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 Packages for Visual Studio 2013 installed, as the C program was compiled with Microsoft Visual Studio 2013.

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