public abstract class UpdateWeightExtender extends LearnerExtender
Constructor and Description |
---|
UpdateWeightExtender()
Creates a new instance of UpdateWeightExtender
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
storeWeightsBiases()
Checks if the weights or biases will be stored this cycle.
|
abstract void |
updateBias(int i,
double aDelta)
Updates a bias with the calculated delta value.
|
abstract void |
updateWeight(int j,
int k,
double aDelta)
Updates a weight with the calculated delta value.
|
getLearner, isEnabled, postBiasUpdate, postWeightUpdate, preBiasUpdate, preWeightUpdate, setEnabled, setLearner
public UpdateWeightExtender()
public abstract void updateBias(int i, double aDelta)
i
- the index of the bias to update.aDelta
- the calculated delta value.public abstract void updateWeight(int j, int k, double aDelta)
j
- the input index of the weight to update.k
- the output index of the weight to update.aDelta
- the calculated delta value.public abstract boolean storeWeightsBiases()
Submit Feedback to pmarrone@users.sourceforge.net