|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.wcohen.secondstring.expt.MatchExpt
Perform a matching experiment using a data file, distance function and blocker.
Field Summary | |
static java.lang.String |
BLOCKER_PACKAGE
|
static java.lang.String |
DISTANCE_PACKAGE
|
Constructor Summary | |
MatchExpt(MatchData data,
StringDistance dist)
|
|
MatchExpt(MatchData data,
StringDistance dist,
Blocker blocker)
|
Method Summary | |
java.lang.Double |
averagePrecision()
non-interpolated average precision |
java.lang.Double |
blockerRecall()
performance of the blocker |
void |
displayResults(boolean showMismatches,
java.io.PrintStream out)
Show results in a very simple format. |
void |
graphPrecisionRecall(java.io.PrintStream out)
Graph interpolated precision vs recall |
double[] |
interpolated11PointPrecision()
Return an array of interpolated precision at various different recall levels. |
static double[] |
interpolated11PointRecallLevels()
Return recall levels associated with the precision levels returned by interpolated11PointPrecision. |
static void |
main(java.lang.String[] argv)
Command-line interface. |
java.lang.Double |
maxF1()
max F1 for any threshold |
java.lang.Double |
pairsPerSecond()
Return total time to process data, divided by the number of pairs |
java.lang.Double |
time()
Return total time to process data. |
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 MatchExpt(MatchData data, StringDistance dist, Blocker blocker)
public MatchExpt(MatchData data, StringDistance dist)
Method Detail |
public java.lang.Double time()
public java.lang.Double pairsPerSecond()
public java.lang.Double averagePrecision()
public java.lang.Double maxF1()
public java.lang.Double blockerRecall()
public static double[] interpolated11PointRecallLevels()
public double[] interpolated11PointPrecision()
public void graphPrecisionRecall(java.io.PrintStream out) throws java.io.IOException
java.io.IOException
public void displayResults(boolean showMismatches, java.io.PrintStream out) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |