public class ROCCurveEvaluator extends GraphEvaluator
GraphEvaluator.EvalCell
Modifier and Type | Field and Description |
---|---|
private double |
auc |
cellSet, invalid, logger, nbexpected, points, STEP
Constructor and Description |
---|
ROCCurveEvaluator() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector<Pair> |
eval()
For the moment
*
|
java.util.Vector<Pair> |
eval(java.util.Properties param)
Compute ROCCurve points
From an ordered vector of cells with their correctness status
|
double |
getAUC() |
double |
getGlobalResult()
Retuns a simple global evaluation measure if any
|
double |
getPlotResult(int i) |
void |
write(java.io.PrintWriter writer)
This output the result
|
void |
writePlot(java.io.PrintWriter writer)
Write out the final interpolated recall/precision graph data.
|
java.lang.String |
xlabel() |
java.lang.String |
ylabel() |
getStep, ingest, initCellSet, isCorrect, isValid, nbCells, setStep, writeXMLMap
public java.util.Vector<Pair> eval(java.util.Properties param)
eval
in class GraphEvaluator
param:
- parameters of the evaluationpublic java.util.Vector<Pair> eval()
eval
in class GraphEvaluator
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 void writePlot(java.io.PrintWriter writer)
GraphEvaluator
writePlot
in class GraphEvaluator
public double getPlotResult(int i)
public double getGlobalResult()
GraphEvaluator
getGlobalResult
in class GraphEvaluator
public double getAUC()
public java.lang.String xlabel()
xlabel
in class GraphEvaluator
public java.lang.String ylabel()
ylabel
in class GraphEvaluator
(C) INRIA & friends, 2003-2020