org.neuroph.nnet.learning
Class OjaLearning

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.OjaLearning
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class OjaLearning
extends UnsupervisedHebbianLearning

Oja learning rule wich is a modification of unsupervised hebbian learning.

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
OjaLearning()
          Creates an instance of OjaLearning algorithm
OjaLearning(NeuralNetwork neuralNetwork)
          Creates an instance of OjaLearning algorithm 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

OjaLearning

public OjaLearning()
Creates an instance of OjaLearning algorithm


OjaLearning

public OjaLearning(NeuralNetwork neuralNetwork)
Creates an instance of OjaLearning algorithm for the specified neural network

Parameters:
neuralNetwork - neural network to train
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