|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joone.engine.extenders.LearnerExtender
org.joone.engine.extenders.UpdateWeightExtender
public abstract class UpdateWeightExtender
This abstract class describes the methods needed for a update weight extender, that is, a class that updates weights (storing) according to some algorithm (e.g. batch mode).
| Constructor Summary | |
|---|---|
UpdateWeightExtender()
Creates a new instance of UpdateWeightExtender |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.joone.engine.extenders.LearnerExtender |
|---|
getLearner, isEnabled, postBiasUpdate, postWeightUpdate, preBiasUpdate, preWeightUpdate, setEnabled, setLearner |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateWeightExtender()
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||