|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.networks.training.propagation.back.BackpropagationMethod
public class BackpropagationMethod
This class implements the specifics of how the backpropagation algorithm is used. Specifically, the partial derivatives are simply applied to the weight matrix.
| Constructor Summary | |
|---|---|
BackpropagationMethod()
|
|
| Method Summary | |
|---|---|
void |
calculateError(NeuralOutputHolder output,
PropagationLevel fromLevel,
PropagationLevel toLevel)
Calculate the error between these two levels. |
void |
init(Propagation propagation)
Setup this propagation method using the specified propagation class. |
void |
learn()
Modify the weight matrix and thresholds based on the last call to calcError. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BackpropagationMethod()
| Method Detail |
|---|
public void calculateError(NeuralOutputHolder output,
PropagationLevel fromLevel,
PropagationLevel toLevel)
calculateError in interface PropagationMethodoutput - The output to the "to level".fromLevel - The from level.toLevel - The target level.public void init(Propagation propagation)
init in interface PropagationMethodpropagation - The propagation class creating this method.public void learn()
learn in interface PropagationMethod
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||