public class MatchExpt extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BLOCKER_PACKAGE |
static String |
DISTANCE_PACKAGE |
| Constructor and Description |
|---|
MatchExpt(MatchData data,
StringDistanceLearner learner) |
MatchExpt(MatchData data,
StringDistanceLearner learner,
Blocker blocker) |
| Modifier and Type | Method and Description |
|---|---|
Double |
averagePrecision()
non-interpolated average precision
|
Double |
blockerRecall()
performance of the blocker
|
void |
displayResults(boolean showMismatches,
PrintStream out)
Show results in a simple format.
|
void |
dumpResults(PrintStream out)
Show results in an easily machine-readable format.
|
void |
graphPrecisionRecall(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(String[] argv)
Command-line interface.
|
Double |
maxF1()
max F1 for any threshold
|
Double |
pairsPerSecond()
Return total time to process data, divided by the number of pairs
|
Double |
time()
Return total time to process data.
|
String |
toString() |
public static final String BLOCKER_PACKAGE
public static final String DISTANCE_PACKAGE
public MatchExpt(MatchData data, StringDistanceLearner learner, Blocker blocker)
public MatchExpt(MatchData data, StringDistanceLearner learner)
public Double time()
public Double pairsPerSecond()
public Double averagePrecision()
public Double maxF1()
public Double blockerRecall()
public static double[] interpolated11PointRecallLevels()
public double[] interpolated11PointPrecision()
public void graphPrecisionRecall(PrintStream out) throws IOException
IOExceptionpublic void displayResults(boolean showMismatches,
PrintStream out)
throws IOException
IOExceptionpublic void dumpResults(PrintStream out) throws IOException
IOExceptionpublic static void main(String[] argv)
Copyright © 2016. All rights reserved.