|
JMSLTM Numerical Library 5.0.1 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public static interface QuasiNewtonTrainer.Error
Error function to be minimized by trainer. This trainer attempts to solve the problem
![]()
This interface defines the function
and its derivative with respect to its computed value,
.
| Method Summary | |
|---|---|
double |
error(double[] computed,
double[] expected)
Returns the contribution to the error from a single training output target. |
double[] |
errorGradient(double[] computed,
double[] expected)
Returns the derivative of the error function with respect to the forecast output. |
| Method Detail |
|---|
double error(double[] computed,
double[] expected)
computed - A double representing the computed value.expected - A double representing the expected value.
double representing the contribution to
the error from a single training output target.
double[] errorGradient(double[] computed,
double[] expected)
computed - A double representing the computed value.expected - A double representing the expected value.
double representing the derivative of the
error function with respect to the forecast output.
|
JMSLTM Numerical Library 5.0.1 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||