Package cc.mallet.extract
Class AccuracyCoverageEvaluator
- java.lang.Object
-
- cc.mallet.extract.AccuracyCoverageEvaluator
-
- All Implemented Interfaces:
ExtractionEvaluator
public class AccuracyCoverageEvaluator extends java.lang.Object implements ExtractionEvaluator
Constructs Accuracy-coverage graph using confidence values to sort Fields. Created: Nov 8, 2005- Author:
-
-
-
Constructor Summary
Constructors Constructor Description AccuracyCoverageEvaluator(int numberBins)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evaluate(Extraction extraction)
void
evaluate(java.lang.String description, Extraction extraction, java.io.PrintStream out)
FieldComparator
getComparator()
java.io.PrintStream
getErrorOutputStream()
void
setComparator(FieldComparator comparator)
void
setErrorOutputStream(java.io.OutputStream errorOutputStream)
-
-
-
-
Method Detail
-
getComparator
public FieldComparator getComparator()
-
setComparator
public void setComparator(FieldComparator comparator)
-
getErrorOutputStream
public java.io.PrintStream getErrorOutputStream()
-
setErrorOutputStream
public void setErrorOutputStream(java.io.OutputStream errorOutputStream)
-
evaluate
public void evaluate(Extraction extraction)
- Specified by:
evaluate
in interfaceExtractionEvaluator
-
evaluate
public void evaluate(java.lang.String description, Extraction extraction, java.io.PrintStream out)
-
-