fr.inrialpes.exmo.align.util
Class GroupEval
java.lang.Object
fr.inrialpes.exmo.align.util.GroupEval
public class GroupEval
- extends Object
A basic class for synthesizing the results of a set of alignments provided by
different algorithms. The output is a table showing various classical measures
for each test and for each algorithm. Average is also computed as Harmonic means.
java -cp procalign.jar fr.inrialpes.exmo.align.util.GroupEval [options]
where the options are:
-o filename --output=filename
-f format = prfot (precision/recall/f-measure/overall/time) --format=prfot
-d debug --debug=level
-r filename --reference=filename
-s algo/measure
-l list of compared algorithms
-t output --type=output: xml/tex/html/ascii
The input is taken in the current directory in a set of subdirectories (one per
test which will be rendered by a line) each directory contains a number of
alignment files (one per algorithms which will be renderer as a column).
If output is requested (-o
flags), then output will be written to
output
if present, stdout by default.
$Id: GroupEval.java 1550 2011-03-19 16:38:45Z euzenat $
- Author:
- Sean K. Bechhofer, Jérôme Euzenat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
params
BasicParameters params
filename
String filename
reference
String reference
format
String format
fsize
int fsize
type
String type
embedded
boolean embedded
dominant
String dominant
listAlgo
Vector<String> listAlgo
debug
int debug
color
String color
ontoDir
String ontoDir
GroupEval
public GroupEval()
main
public static void main(String[] args)
run
public void run(String[] args)
throws Exception
- Throws:
Exception
iterateDirectories
public Vector<Vector> iterateDirectories()
iterateAlignments
public Vector<Object> iterateAlignments(File dir)
eval
public Evaluator eval(String alignName1,
String alignName2)
print
public void print(Vector<Vector> result)
- This does not only print the results but compute the average as well
printTRIANGLE
public void printTRIANGLE(Vector<Vector> result)
printLATEX
public void printLATEX(Vector result)
printHTML
public void printHTML(Vector<Vector> result)
usage
public void usage()
(C) INRIA & friends, 2003-${curryear}