public class PRGraphEvaluator extends GraphEvaluator
GraphEvaluator.EvalCell
Modifier and Type | Field and Description |
---|---|
(package private) static org.slf4j.Logger |
logger |
private double |
map |
private int |
STEP |
private double |
sumprecisions |
cellSet, invalid, nbexpected, points
Constructor and Description |
---|
PRGraphEvaluator() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector<Pair> |
eval()
Compute precision and recall graphs.
|
java.util.Vector<Pair> |
eval(java.util.Properties params)
Compute precision and recall graphs.
|
java.util.Vector<Pair> |
evalOldStyle()
Returns a list of Precision at recall points (Pairs)
From an ordered vector of cells with their correctness status
|
java.util.Vector<Pair> |
evalOpenEnded()
Returns a list of Precision at recall points (Pairs)
From an ordered vector of cells with their correctness status
|
double |
getGlobalResult()
Retuns a simple global evaluation measure if any
|
double |
getMap() |
void |
write(java.io.PrintWriter writer)
This output the result
|
java.lang.String |
xlabel() |
java.lang.String |
ylabel() |
getStep, ingest, initCellSet, isCorrect, isValid, nbCells, setStep, writePlot, writeXMLMap
static final org.slf4j.Logger logger
private int STEP
private double map
private double sumprecisions
public java.util.Vector<Pair> eval()
eval
in class GraphEvaluator
public java.util.Vector<Pair> eval(java.util.Properties params)
eval
in class GraphEvaluator
params:
- display parameterspublic java.util.Vector<Pair> evalOpenEnded()
public java.util.Vector<Pair> evalOldStyle()
public void write(java.io.PrintWriter writer) throws java.io.IOException
writer:
- the writer where to print the resultjava.io.IOException
- when something goes wrongpublic double getMap()
public double getGlobalResult()
GraphEvaluator
getGlobalResult
in class GraphEvaluator
public java.lang.String xlabel()
xlabel
in class GraphEvaluator
public java.lang.String ylabel()
ylabel
in class GraphEvaluator
(C) INRIA & friends, 2003-2020