public class BinaryDeltaRule extends PerceptronLearning
maxError, previousEpochError
currentIteration, learningRate, stopConditions
listeners, neuralNetwork, trainingSet
Constructor and Description |
---|
BinaryDeltaRule()
Creates new BinaryDeltaRule learning
|
Modifier and Type | Method and Description |
---|---|
protected void |
calculateWeightChanges(double[] patternError)
This method implements weight update procedure for the whole network for
this learning rule
|
double |
getErrorCorrection()
Gets the errorCorrection parametar
|
void |
setErrorCorrection(double errorCorrection)
Sets the errorCorrection parametar
|
calculateWeightChanges
afterEpoch, beforeEpoch, doBatchWeightsUpdate, doLearningEpoch, getErrorFunction, getMaxError, getMinErrorChange, getMinErrorChangeIterationsCount, getMinErrorChangeIterationsLimit, getPreviousEpochError, getTotalNetworkError, isBatchMode, learn, learn, learnPattern, onStart, setBatchMode, setErrorFunction, setMaxError, setMinErrorChange, setMinErrorChangeIterationsLimit
doOneLearningIteration, getCurrentIteration, getLearningRate, getMaxIterations, hasReachedStopCondition, isIterationsLimited, isPausedLearning, learn, learn, pause, resume, setLearningRate, setMaxIterations
addListener, fireLearningEvent, getNeuralNetwork, getTrainingSet, isStopped, onStop, removeListener, setNeuralNetwork, setTrainingSet, stopLearning
protected void calculateWeightChanges(double[] patternError)
calculateWeightChanges
in class LMS
patternError
- single pattern error vector
if the output is 0 and required value is 1, increase rthe weights
if the output is 1 and required value is 0, decrease the weights
otherwice leave weights unchangedlearnPattern
public double getErrorCorrection()
public void setErrorCorrection(double errorCorrection)
errorCorrection
- the value for errorCorrection parametarCopyright © 2019 Neuroph Project. All rights reserved.