|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.anji.integration.ErrorRateCounter
Method Summary | |
void |
countErrors(double[][] targets,
double[][] responses)
|
void |
countErrors(java.lang.String logPrefix,
double[][] targets,
double[][] responses)
Calculate the sum of differences between responses and target values. |
static ErrorRateCounter |
getInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ErrorRateCounter getInstance()
public void countErrors(double[][] targets, double[][] responses)
targets
- responses
- countErrors(String, double[][], double[][])
public void countErrors(java.lang.String logPrefix, double[][] targets, double[][] responses)
responses
and target values.
logPrefix
- String
to prepend to all logs and exceptionstargets
- responses
- values to compare to targets
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |