fr.inrialpes.exmo.align.impl.eval
Class ThresholdGraphEvaluator
java.lang.Object
fr.inrialpes.exmo.align.impl.eval.GraphEvaluator
fr.inrialpes.exmo.align.impl.eval.ThresholdGraphEvaluator
public class ThresholdGraphEvaluator
- extends GraphEvaluator
Compute the F-measure/precision/recall at various thresholds
- Version:
- $Id: ThresholdGraphEvaluator.java 1608 2011-05-28 20:21:16Z euzenat $
- Author:
- Jerome Euzenat
Field Summary |
private double |
opt
|
private int |
STEP
|
Method Summary |
Vector<Pair> |
eval()
Compute threshold graph |
Vector<Pair> |
eval(Properties params)
Returns a list of Measure at threshold points (Pairs)
From an ordered vector of cells with their correctness status
The basic strategy would be:
Take the alignment/(Compute P/R/Apply threshold)+
But it is better to: take the cells in reverse order
Compute the measures on the fly |
double |
getGlobalResult()
Retuns a simple global evaluation measure if any |
void |
write(PrintWriter writer)
This output the result |
String |
xlabel()
|
String |
ylabel()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STEP
private int STEP
opt
private double opt
ThresholdGraphEvaluator
public ThresholdGraphEvaluator()
eval
public Vector<Pair> eval()
- Compute threshold graph
- Specified by:
eval
in class GraphEvaluator
eval
public Vector<Pair> eval(Properties params)
- Returns a list of Measure at threshold points (Pairs)
From an ordered vector of cells with their correctness status
The basic strategy would be:
Take the alignment/(Compute P/R/Apply threshold)+
But it is better to: take the cells in reverse order
Compute the measures on the fly
- Specified by:
eval
in class GraphEvaluator
write
public void write(PrintWriter writer)
throws IOException
- This output the result
- Throws:
IOException
getGlobalResult
public double getGlobalResult()
- Description copied from class:
GraphEvaluator
- Retuns a simple global evaluation measure if any
- Specified by:
getGlobalResult
in class GraphEvaluator
xlabel
public String xlabel()
- Specified by:
xlabel
in class GraphEvaluator
ylabel
public String ylabel()
- Specified by:
ylabel
in class GraphEvaluator
(C) INRIA & friends, 2003-${curryear}