|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is an interface used to create classes that can be used by the neuralnode to perform all it's computations.
| Method Summary | |
double |
errorValue(NeuralNode node)
This function calculates what the error value should be. |
double |
outputValue(NeuralNode node)
This function calculates what the output value should be. |
void |
updateWeights(NeuralNode node,
double learn,
double momentum)
This function will calculate what the change in weights should be and also update them. |
| Method Detail |
public double outputValue(NeuralNode node)
node - The node to calculate the value for.
public double errorValue(NeuralNode node)
node - The node to calculate the error for.
public void updateWeights(NeuralNode node,
double learn,
double momentum)
node - The node to update the weights for.learn - The learning rate to use.momentum - The momentum to use.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London