Matt Hill
A Hopfield network is an associative memory that works by calculating how much a node is in agreement with the nodes that it is connected to. The preferred states of agreement (that is, whether a node value should be like or unlike a certain neighbor) are determined by the patterns that are initially imposed upon the nodes.
These states of agreement are inherently distributed over the nodes, so no single connection can be thought of as "storing" a pattern. This leads to to the rather nice properties of graceful degradation and categorization in an overloaded space. See the controls section below for how to store and retrieve patterns.
References and Links about neural nets
Here is the source code. It's public domain.
Neural Network for Stereo Vision paper, by Arshad Tayyeb and myself (notes)
Image Watermarking in the DCT Domain, a recent project.
Use the mouse to enter a pattern by clicking squares inside the rectangle "on" or "off". Then, have the network store your pattern by pressing "i", for impose. You can probably store about 33 random patterns. (The number of patterns you can store without interference depends on the number of nodes in the network.) After storing some patterns, try entering a new pattern, and then press the space bar repeatedly to watch the network "settle" into a previously imposed state. Alternatively, you can press "s" and it will settle through multiple steps to a stable state. The "s" option takes advantage of Java's support for multi-threading by starting a separate thread to do the calculations.
The following keyboard commands are recognized:
Want to know more about Java or neural nets? Check out these books:
Neural Networks: | |
|
|
Learning Java: | |
|
|
Computational and General Neuroscience: | |
|
|
Other Programming and Fun: | |
|
|
Got an opinion? Epinions is like Usenet with a memory...
Sick of all this shameless merchandising? Or are you Happy to find the links?
Loosely based on an artificial-life program by A.F. Slater
Here is the source code, which was written first for the alpha release compiler, and then updated for the first version of the JDK.
PayPal lets you pay anyone via email -- it's fast, free, and secure . It's the best system for auctions! Sign up now and get a $5 cash bonus.
Another Hopfield applet (French) based on the code for this one has been developed. (Open source at work!) Here's the English version.
The Frequently Asked Questions and Answers list from comp.ai.neural-nets can give basic information about a lot of neural nets.
The The Neural Network Teaching Centre has resources for learning about neural networks.
Neural Nets at your Fingertips provides C source code and short descriptions for several types of neural nets, including Hopfield.
This page is a pretty good "hub" of links to all sorts of neural net information.
comp.lang.java FAQ -- common Java questions with answers
Example data structures in Java, answers the frequent question "How do I make a linked list (or other structure) without pointers?"
I graduated from the computer science department of Cornell University, with a concentration in cognitive studies in May 1996. I lived in the Boston area for two years and worked for Cognex, on software for industrial machine vision applications.
I am currently working at IBM's TJ Watson Research Center in Hawthorne, NY.
I am also taking classes for my masters in computer science at Columbia.
Why did I write this applet?
During the summer of '95, I was an intern at Xerox, where I first started to learn about programming for the web. While an undergrad, I worked part-time in Prof. David Field's lab, whose research centers on sparse coding in biological visual systems. I am still very interested in biological vision and cognition.
In Prof. Field's lab, much of the work I participated in was related to artificial neural networks. I began to learn Java in 1995, having been immediately (and perhaps inordinately) impressed with the original applets Sun put out, such as the interactive wire frames applet. The neural network on this page was my first Java program.
Here are some pretty pictures from my trip to Rome.
Matt Hill -- matt_10710@yahoo.com
Thanks for stopping by!
|
This
Neuro Ring
site is owned by [ Next Site | Previous Site | Next 5 | Problems? ] Want to apply for membership? |
Member Of The Open Source Java Web-Ring |
---|
[Skip Prev] [Prev] [Next] [Skip Next] [Random] [Next 5] [List Sites] |
|