public abstract class DeltaRuleExtender extends LearnerExtender
Constructor and Description |
---|
DeltaRuleExtender()
Creates a new instance of DeltaExtender
|
Modifier and Type | Method and Description |
---|---|
abstract double |
getDelta(double[] currentGradientOuts,
int j,
double aPreviousDelta)
Computes the delta value for a bias.
|
abstract double |
getDelta(double[] currentInps,
int j,
double[] currentPattern,
int k,
double aPreviousDelta)
Computes the delta value for a weight.
|
getLearner, isEnabled, postBiasUpdate, postWeightUpdate, preBiasUpdate, preWeightUpdate, setEnabled, setLearner
public DeltaRuleExtender()
public abstract double getDelta(double[] currentGradientOuts, int j, double aPreviousDelta)
currentGradientOuts
- the back propagated gradients.j
- the index of the bias.aPreviousDelta
- a delta value calculated by a previous delta extender.public abstract double getDelta(double[] currentInps, int j, double[] currentPattern, int k, double aPreviousDelta)
currentInps
- the forwarded input.j
- the input index of the weight.currentPattern
- the back propagated gradients.k
- the output index of the weight.aPreviousDelta
- a delta value calculated by a previous delta extender.Submit Feedback to pmarrone@users.sourceforge.net