Skip to content

Basic Implementation of Binary-State Hopfield Networks in C

License

Notifications You must be signed in to change notification settings

miguelfrndz/C-HopfieldNetworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hopfield Networks in C

A simple implementation of traditional Hopfield Networks (w/ binary states) in C. A two-class binarized subset of MNIST is used as a toy example.

How to Use This Code?

  1. Run the generateData.py script to load and preprocess the example data.
  2. Run make or make debug to compile the code (Note: Compiling the code in DEBUG mode will print the network state and energy at every training iteration.).
  3. Run the binaries in ./HopfieldNetworks

Ressources

About

Basic Implementation of Binary-State Hopfield Networks in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published