|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.networks.layers.BasicLayer
org.encog.neural.networks.layers.HopfieldLayer
public class HopfieldLayer
HopfieldLayer: This class implements a Hopfield neural network. A Hopfield neural network is fully connected and consists of a single layer. Hopfield neural networks are usually used for pattern recognition.
| Constructor Summary | |
|---|---|
HopfieldLayer(int size)
Construct a hopfield layer of the specified size. |
|
| Method Summary | |
|---|---|
NeuralData |
compute(NeuralData pattern)
Present a pattern to the neural network and receive the result. |
BiPolarNeuralData |
getFire()
Get the output array from the last time that the output of this layer was calculated. |
| Methods inherited from class org.encog.neural.networks.layers.BasicLayer |
|---|
getFire, getMatrix, getMatrixSize, getNeuronCount, getNext, getPrevious, hasMatrix, isHidden, isInput, isOutput, reset, setFire, setFire, setMatrix, setNext, setPrevious |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HopfieldLayer(int size)
size - The number of neurons in this layer.| Method Detail |
|---|
public NeuralData compute(NeuralData pattern)
compute in interface Layercompute in class BasicLayerpattern - The pattern to be presented to the neural network.
public BiPolarNeuralData getFire()
BasicLayer
getFire in interface LayergetFire in class BasicLayer
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||