public class BinaryDeltaRule extends PerceptronLearning
maxError, previousEpochErrorcurrentIteration, learningRate, stopConditionslisteners, 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
|
calculateWeightChangesafterEpoch, beforeEpoch, doBatchWeightsUpdate, doLearningEpoch, getErrorFunction, getMaxError, getMinErrorChange, getMinErrorChangeIterationsCount, getMinErrorChangeIterationsLimit, getPreviousEpochError, getTotalNetworkError, isBatchMode, learn, learn, learnPattern, onStart, setBatchMode, setErrorFunction, setMaxError, setMinErrorChange, setMinErrorChangeIterationsLimitdoOneLearningIteration, getCurrentIteration, getLearningRate, getMaxIterations, hasReachedStopCondition, isIterationsLimited, isPausedLearning, learn, learn, pause, resume, setLearningRate, setMaxIterationsaddListener, fireLearningEvent, getNeuralNetwork, getTrainingSet, isStopped, onStop, removeListener, setNeuralNetwork, setTrainingSet, stopLearningprotected void calculateWeightChanges(double[] patternError)
calculateWeightChanges in class LMSpatternError - 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 unchangedlearnPatternpublic double getErrorCorrection()
public void setErrorCorrection(double errorCorrection)
errorCorrection - the value for errorCorrection parametarCopyright © 2019 Neuroph Project. All rights reserved.