org.neuroph.nnet.learning
Class HopfieldLearning

java.lang.Object
  extended by org.neuroph.core.learning.LearningRule
      extended by org.neuroph.nnet.learning.HopfieldLearning
All Implemented Interfaces:
Serializable

public class HopfieldLearning
extends LearningRule

Learning algorithm for the Hopfield neural network.

Author:
Zoran Sevarac
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.neuroph.core.learning.LearningRule
listeners, neuralNetwork
 
Constructor Summary
HopfieldLearning()
          Creates new HopfieldLearning
 
Method Summary
 void learn(DataSet trainingSet)
          Calculates weights for the hopfield net to learn the specified training set
 
Methods inherited from class org.neuroph.core.learning.LearningRule
addListener, fireLearningEvent, getNeuralNetwork, getTrainingSet, isStopped, onStart, removeListener, setNeuralNetwork, setTrainingSet, stopLearning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HopfieldLearning

public HopfieldLearning()
Creates new HopfieldLearning

Method Detail

learn

public void learn(DataSet trainingSet)
Calculates weights for the hopfield net to learn the specified training set

Specified by:
learn in class LearningRule
Parameters:
trainingSet - training set to learn


Copyright © 2012. All Rights Reserved.