|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.columbia.cs.ref.algorithm.evaluation.Evaluator
public class Evaluator
The Class Evaluator is used to evaluate the quality of the results
of a given relationship extraction model.
An Evaluator is composed by a list of measures that are to be computed
in order to evaluate models.
Constructor Summary | |
---|---|
Evaluator()
|
Method Summary | |
---|---|
void |
addMeasure(Measure measure)
Adds a new measure to the evaluator. |
double |
getResult(Measure m)
Gets the evaluation result for a given measure |
void |
printEvaluationReport(java.util.List<OperableStructure> testingFiles,
Model m)
Prints the evaluation report. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Evaluator()
Method Detail |
---|
public void addMeasure(Measure measure)
measure
- the new measurepublic double getResult(Measure m)
m
- the measure for which we want to retrieve the result
public void printEvaluationReport(java.util.List<OperableStructure> testingFiles, Model m)
testingFiles
- the Operable structures to be used during testing. It is assumed that they are tagged with the gold set labels.m
- the model that will be evaluated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |