|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A Backpropagation object specifies
the parameters used by the backpropagation
learning algorithm. Back progation is a popular
gradient descent method for training neural
networks.
In back propagation, the output error on the training examples is used to adjust the network weights. The weight update rule can be specified as: w(i + 1) = w(i) - (learningRate * errorOfWeight), where w is a weight, i is the iteration, learningRate is the learning rate, and errorOfWeight is the error for the weight as determined by the partial derivative of the error with respect to the weight. The learning rate must be chosen between 0 and 1.
LearningAlgorithm| Method Summary | |
double |
getLearningRate()
Get the learning rate associated with a Backpropagation method. |
double |
getMomentum()
Returns the momentum to be used as an alternative gradient descent method. |
void |
setLearningRate(double rate)
Set the learning rate for a Backpropagation method. |
void |
setMomentum(double momentum)
Sets the momentum as an alternative gradient descent method. |
| Method Detail |
public double getLearningRate()
Backpropagation method.
public double getMomentum()
public void setLearningRate(double rate)
Backpropagation method. The value of the rate must be between 0 and 1.
rate - The learning rate to be used by the learning algorithm.
public void setMomentum(double momentum)
momentum - The momentum of learning to be used by the learning algorithm.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||