|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
org.neuroph.core.learning.LearningRule
org.neuroph.core.learning.IterativeLearning
org.neuroph.core.learning.UnsupervisedLearning
org.neuroph.nnet.learning.CompetitiveLearning
public class CompetitiveLearning
Competitive learning rule.
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 | |
---|---|
CompetitiveLearning()
Creates new instance of CompetitiveLearning |
|
CompetitiveLearning(NeuralNetwork neuralNetwork)
Creates new instance of CompetitiveLearning for the specified neural network |
Method Summary | |
---|---|
protected void |
adjustWeights()
Adjusts weights for the winning neuron |
void |
doLearningEpoch(TrainingSet trainingSet)
This method does one learning epoch for the unsupervised learning rules. |
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 |
---|
public CompetitiveLearning()
public CompetitiveLearning(NeuralNetwork neuralNetwork)
neuralNetwork
- Method Detail |
---|
public void doLearningEpoch(TrainingSet trainingSet)
doLearningEpoch
in class UnsupervisedLearning
trainingSet
- training set for training networkprotected void adjustWeights()
adjustWeights
in class UnsupervisedLearning
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |