public class UnsupervisedHebbianLearning extends UnsupervisedLearning
currentIteration, learningRate, stopConditions
listeners, neuralNetwork, trainingSet
Constructor and Description |
---|
UnsupervisedHebbianLearning()
Creates new instance of UnsupervisedHebbianLearning algorithm
|
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 output neurons
|
protected void |
updateNeuronWeights(Neuron neuron)
This method implements weights update procedure for the single 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 UnsupervisedHebbianLearning()
public void doLearningEpoch(DataSet trainingSet)
doLearningEpoch
in class UnsupervisedLearning
trainingSet
- training set for training networkprotected void updateNetworkWeights()
updateNetworkWeights
in class UnsupervisedLearning
protected void updateNeuronWeights(Neuron neuron)
neuron
- neuron to update weightsCopyright © 2019 Neuroph Project. All rights reserved.