org.neuroph.nnet.learning
Class BinaryHebbianLearning

java.lang.Object
  extended by java.util.Observable
      extended by org.neuroph.core.learning.LearningRule
          extended by org.neuroph.core.learning.IterativeLearning
              extended by org.neuroph.core.learning.UnsupervisedLearning
                  extended by org.neuroph.nnet.learning.UnsupervisedHebbianLearning
                      extended by org.neuroph.nnet.learning.BinaryHebbianLearning
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class BinaryHebbianLearning
extends UnsupervisedHebbianLearning

Hebbian-like learning algorithm used for Hopfield network. Works with [0, 1] values

Author:
Zoran Sevarac
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.neuroph.core.learning.IterativeLearning
currentIteration, iterationsLimited, learningRate, maxIterations
 
Fields inherited from class org.neuroph.core.learning.LearningRule
neuralNetwork
 
Constructor Summary
BinaryHebbianLearning()
          Creates new instance of BinaryHebbianLearning
BinaryHebbianLearning(NeuralNetwork neuralNetwork)
          Creates new instance of BinaryHebbianLearning for the specified neural network
 
Method Summary
protected  void updateNeuronWeights(Neuron neuron)
          This method implements weights update procedure for the single neuron
 
Methods inherited from class org.neuroph.nnet.learning.UnsupervisedHebbianLearning
adjustWeights, doLearningEpoch
 
Methods inherited from class org.neuroph.core.learning.UnsupervisedLearning
learnPattern
 
Methods inherited from class org.neuroph.core.learning.IterativeLearning
doOneLearningIteration, getCurrentIteration, getLearningRate, isPausedLearning, learn, learn, pause, resume, setLearningRate, setMaxIterations
 
Methods inherited from class org.neuroph.core.learning.LearningRule
getNeuralNetwork, getTrainingSet, isStopped, notifyChange, run, setNeuralNetwork, setTrainingSet, stopLearning
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryHebbianLearning

public BinaryHebbianLearning()
Creates new instance of BinaryHebbianLearning


BinaryHebbianLearning

public BinaryHebbianLearning(NeuralNetwork neuralNetwork)
Creates new instance of BinaryHebbianLearning for the specified neural network

Parameters:
neuralNetwork -
Method Detail

updateNeuronWeights

protected void updateNeuronWeights(Neuron neuron)
This method implements weights update procedure for the single neuron

Overrides:
updateNeuronWeights in class UnsupervisedHebbianLearning
Parameters:
neuron - neuron to update weights