Hopfield Network Applet


Please send issues/bug reports to the programmer at kmalasri@hotmail.com or gte985m@prism.gatech.edu.

  • Grid size
    You can specify any size grid up to a maximum of 10x10. Disabled cells are represented in gray. The more cells (neurons) there are in the grid, the more patterns the network can theoretically store.
  • Stored patterns
    Specify the number of patterns you would like to enter.
  • Corruption percentage
    This allows you to control how much the selected pattern is distorted when you press the "Alter" button. It indicates each cell's probability of reversing its color.
  • Iteration delay
    The approximate delay, in microseconds, between each iteration.

  • Once you have specified your parameters, enter the stored patterns by clicking on the grid cells. Use the "<<" and ">>" buttons to navigate among your stored patterns. For quick demo purposes, use "Load" to recall a hard-coded set of 4 10x10 patterns representing the numbers 1 through 4.
  • Use the "Alter" button to randomly corrupt the currently selected pattern. If you want, you can manually enter your own corrupted pattern instead.
  • Note that changing the grid size will erase all stored patterns. The other parameters can be adjusted freely. (You will, however, lose some data if you lower the number of stored patterns.)
  • "Clear" erases only the current grid. Any other patterns that you have stored are untouched.
  • The applet iterates until you leave this page or press "Stop."

cbu home   |   cbu engineering home   |   pong's home   |   ai