|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wcohen.ss.expt.MatchExptScript
public class MatchExptScript
Perform a series of match experiments, specified by a script in an input file.
The input file can contain these commands:
Field Summary | |
---|---|
static java.lang.String |
BLOCKER_PACKAGE
|
static java.lang.String |
DISTANCE_PACKAGE
|
Constructor Summary | |
---|---|
MatchExptScript()
|
Method Summary | |
---|---|
void |
blocker(java.lang.String blockerClass)
Load a blocker. |
void |
blocker(java.lang.String blockerClass,
java.lang.String param,
java.lang.String value)
Load a blocker, with optional boolean value |
void |
clear(java.lang.String what)
Clear datasets, blockers, or learners. |
void |
compute()
Compute learners. |
void |
dataset(java.lang.String dataFile)
Load a dataset. |
void |
distance(java.lang.String distanceClass)
Load a distance learner. |
void |
echo(java.lang.String onOrOff)
Turn echoing of commands on/off. |
void |
learner(java.lang.String learnerClass)
Load a learner. |
static void |
main(java.lang.String[] argv)
|
void |
precisionRecall()
Show interpolated 11-pt precision curves for each blocker/distance/dataset |
void |
restore(java.lang.String file)
Restore experimental data previously 'saved' toa file. |
void |
runScript(java.lang.String configFileName)
Load commands from a file and execute them. |
void |
save(java.lang.String file)
Save current experimental data to a file |
void |
show(java.lang.String what)
Show datasets, blockers, or learners. |
void |
table(java.lang.String what)
Show a table of some expt-wide numeric measurement. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BLOCKER_PACKAGE
public static final java.lang.String DISTANCE_PACKAGE
Constructor Detail |
---|
public MatchExptScript()
Method Detail |
---|
public void clear(java.lang.String what)
public void show(java.lang.String what)
public void echo(java.lang.String onOrOff)
public void dataset(java.lang.String dataFile) throws MatchData.InputFormatException
MatchData.InputFormatException
public void learner(java.lang.String learnerClass)
public void distance(java.lang.String distanceClass)
public void blocker(java.lang.String blockerClass) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public void blocker(java.lang.String blockerClass, java.lang.String param, java.lang.String value) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
public void compute()
public void table(java.lang.String what) throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public void precisionRecall()
public void save(java.lang.String file) throws java.io.IOException, java.io.FileNotFoundException
java.io.IOException
java.io.FileNotFoundException
public void restore(java.lang.String file) throws java.io.IOException, java.io.FileNotFoundException, java.lang.ClassNotFoundException
java.io.IOException
java.io.FileNotFoundException
java.lang.ClassNotFoundException
public void runScript(java.lang.String configFileName)
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |