|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wcohen.ss.expt.MatchExpt
public class MatchExpt
Perform a matching experiment using a data file, distance function and blocker.
Field Summary | |
---|---|
static java.lang.String |
BLOCKER_PACKAGE
|
protected java.lang.String |
blockerName
|
protected double |
blockingTime
|
static java.lang.String |
DISTANCE_PACKAGE
|
protected java.lang.String |
fileName
|
protected java.lang.String |
learnerName
|
protected double |
learningTime
|
protected double |
matchingTime
|
protected int |
numCorrectPairs
|
protected Blocker.Pair[] |
pairs
|
protected double |
sortingTime
|
Constructor Summary | |
---|---|
MatchExpt(MatchData data,
StringDistanceLearner learner)
|
|
MatchExpt(MatchData data,
StringDistanceLearner learner,
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. |
Blocker.Pair[] |
getPairs()
|
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. |
com.wcohen.cls.expt.Evaluation |
toEvaluation()
|
com.wcohen.util.gui.Viewer |
toGUI()
Construct a viewer for the results |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BLOCKER_PACKAGE
public static final java.lang.String DISTANCE_PACKAGE
protected Blocker.Pair[] pairs
protected int numCorrectPairs
protected double learningTime
protected double blockingTime
protected double matchingTime
protected double sortingTime
protected java.lang.String fileName
protected java.lang.String learnerName
protected java.lang.String blockerName
Constructor Detail |
---|
public MatchExpt(MatchData data, StringDistanceLearner learner, Blocker blocker)
public MatchExpt(MatchData data, StringDistanceLearner learner)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
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 com.wcohen.util.gui.Viewer toGUI()
toGUI
in interface com.wcohen.util.gui.Visible
public com.wcohen.cls.expt.Evaluation toEvaluation()
public Blocker.Pair[] getPairs()
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |