|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.penguinwerks.jodene.Evaluator
Evaluates the network, using the error calculators to accumulate error information.
| Constructor Summary | |
Evaluator()
Creates a new instance of Evaluator |
|
| Method Summary | |
void |
addErrorCalculator(ErrorCalculator ec)
Adds a new error calculator to the evaluator. |
void |
addErrorCalculator(ErrorCalculator ec,
java.lang.String name)
Add an error calculator with the given name, as opposed to the default name of the calculator. |
java.util.Map |
evaluate(Network network,
ExampleSet examples)
Evaluates the network, returning the evaluation of the error. |
double |
getError(java.lang.String name)
Return the error for the given name. |
java.util.List |
getErrorNames()
Returns the error names. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Evaluator()
| Method Detail |
public void addErrorCalculator(ErrorCalculator ec)
ec - The Error calculator.
public void addErrorCalculator(ErrorCalculator ec,
java.lang.String name)
ec - The error calculator.name - The name of the error calculator.public java.util.List getErrorNames()
public double getError(java.lang.String name)
name - The name of the error.
public java.util.Map evaluate(Network network,
ExampleSet examples)
throws InvalidInputsException
network - The network to evaluate.examples - The examples to use for evaluation.
InvalidInputsException - Thrown if the input names for the network and the example set do not match.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||