@Beta public final class AggregateBinaryFScoresInspector<KeyT,TestT> extends Object implements Inspector<Alignment<? extends KeyT,? extends TestT>>
Alignment between system items on the left and gold standard items on the
right. A system/gold item is assumed to be found if aligned. Writes summary F-measure scores
and an absent/present confusion matrix based on its observations.
Although this only implements Inspector<Alignment<Object,Object>>, it is safe to cast it
to inspect any alignment.| Modifier and Type | Method and Description |
|---|---|
static <KeyT,TestT> |
createOutputtingTo(String outputName,
File outputDir) |
static <KeyT,TestT> |
createWithScoringObservers(String outputName,
File outputDir,
Iterable<? extends ScoringEventObserver<? super KeyT,? super TestT>> scoringObservers) |
void |
finish() |
void |
inspect(Alignment<? extends KeyT,? extends TestT> alignment) |
public static <KeyT,TestT> AggregateBinaryFScoresInspector<KeyT,TestT> createOutputtingTo(String outputName, File outputDir)
public static <KeyT,TestT> AggregateBinaryFScoresInspector<KeyT,TestT> createWithScoringObservers(String outputName, File outputDir, Iterable<? extends ScoringEventObserver<? super KeyT,? super TestT>> scoringObservers)
public void finish()
throws IOException
finish in interface FinishableIOExceptionCopyright © 2016. All rights reserved.