public abstract class UnsupervisedLearning extends IterativeLearning implements Serializable
currentIteration, learningRate, stopConditions
listeners, neuralNetwork, trainingSet
Constructor and Description |
---|
UnsupervisedLearning()
Creates new unsupervised learning rule
|
Modifier and Type | Method and Description |
---|---|
void |
doLearningEpoch(DataSet trainingSet)
This method does one learning epoch for the unsupervised learning rules.
|
protected void |
learnPattern(DataSetRow trainingElement)
Trains network with the pattern from the specified training element
|
protected abstract void |
updateNetworkWeights()
This method implements the weight adjustment
|
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 UnsupervisedLearning()
public void doLearningEpoch(DataSet trainingSet)
doLearningEpoch
in class IterativeLearning
trainingSet
- training set for training networkprotected void learnPattern(DataSetRow trainingElement)
DataSetItem
- unsupervised training element which contains network inputprotected abstract void updateNetworkWeights()
Copyright © 2019 Neuroph Project. All rights reserved.