Alignment API and Server 4.2.${version.update}

fr.inrialpes.exmo.align.impl.eval
Class ThresholdGraphEvaluator

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.eval.GraphEvaluator
      extended by 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
           
 
Fields inherited from class fr.inrialpes.exmo.align.impl.eval.GraphEvaluator
cellSet, invalid, nbexpected, points
 
Constructor Summary
ThresholdGraphEvaluator()
           
 
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 fr.inrialpes.exmo.align.impl.eval.GraphEvaluator
getStep, ingest, initCellSet, isCorrect, isValid, nbCells, setStep, writePlot, writeXMLMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STEP

private int STEP

opt

private double opt
Constructor Detail

ThresholdGraphEvaluator

public ThresholdGraphEvaluator()
Method Detail

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

Alignment API and Server 4.2.${version.update}

(C) INRIA & friends, 2003-${curryear}