public class CompetitiveLearning extends UnsupervisedLearning
currentIteration, learningRate, stopConditions
listeners, neuralNetwork, trainingSet
Constructor and Description |
---|
CompetitiveLearning()
Creates new instance of CompetitiveLearning
|
Modifier and Type | Method and Description |
---|---|
void |
doLearningEpoch(DataSet trainingSet)
This method does one learning epoch for the unsupervised learning rules.
|
protected void |
updateNetworkWeights()
Adjusts weights for the winning neuron
|
learnPattern
afterEpoch, beforeEpoch, doOneLearningIteration, getCurrentIteration, getLearningRate, getMaxIterations, hasReachedStopCondition, isIterationsLimited, isPausedLearning, learn, learn, onStart, pause, resume, setLearningRate, setMaxIterations
addListener, fireLearningEvent, getNeuralNetwork, getTrainingSet, isStopped, onStop, removeListener, setNeuralNetwork, setTrainingSet, stopLearning
public CompetitiveLearning()
public void doLearningEpoch(DataSet trainingSet)
doLearningEpoch
in class UnsupervisedLearning
trainingSet
- training set for training networkprotected void updateNetworkWeights()
updateNetworkWeights
in class UnsupervisedLearning
Copyright © 2019 Neuroph Project. All rights reserved.