public class BinaryRelationMatchGroupMetrics extends AbstractMatchGroupMetrics
BinaryRelationMatch
Modifier and Type | Field and Description |
---|---|
private String |
_explanation |
private chargerlib.FloatStatistics |
_matchedMaxPossibleScore
In effect, this score is what
would be the maximum possible if the graph to match were completely and exactly correct.
|
private chargerlib.FloatStatistics |
_matchedScore |
private ArrayList<BinaryRelationMatch> |
_matches |
private chargerlib.FloatStatistics |
_maxPossible |
private chargerlib.FloatStatistics |
_normScore |
private chargerlib.FloatStatistics |
_precision |
private chargerlib.FloatStatistics |
_recall |
private boolean |
_upToDate |
protected NumberFormat |
ff
Used for displaying floating point scores
|
protected NumberFormat |
intf
Used for displaying integer values.
|
name
Constructor and Description |
---|
BinaryRelationMatchGroupMetrics(String s) |
Modifier and Type | Method and Description |
---|---|
void |
addMatch(BinaryRelationMatch m)
Adds a member to the match group.
|
String |
getAveragesHTML()
Returns the totals of each of the summary items in getSummaryHeaderHTML
|
String |
getCompleteSummaryHTML()
Displays (in HTML) the complete summary of this group.
|
ArrayList |
getMatches()
Returns the set of matches that are all members of this group.
|
String |
getMaxesHTML()
Returns the totals of each of the summary items in getSummaryHeaderHTML
|
String |
getMinsHTML()
Returns the totals of each of the summary items in getSummaryHeaderHTML
|
float |
getOverallScore()
A suggested way of reducing the entire match group (really precision and recall) into one number.
|
String |
getStdDeviationsHTML()
Returns the totals of each of the summary items in getSummaryHeaderHTML
|
String |
getSummaryHeaderHTML()
Return the header labels for a one-line summary, suitable for inclusion in an HTML table.
|
String |
getSummaryHTML(BinaryRelationMatch m)
Return a one-line HTML TR summary, suitable for inclusion in an HTML table.
|
String |
getSummaryStatisticsHTML()
Formats for HTML display the totals of all the matches; e.g., totals, averages, etc.
|
String |
getTotalsHTML()
Returns the totals of each of the summary items in getSummaryHeaderHTML
|
void |
scanAllMatches()
Gather all the stats, updating all the total, statistics, etc.
|
getName
private ArrayList<BinaryRelationMatch> _matches
private boolean _upToDate
private String _explanation
private chargerlib.FloatStatistics _matchedScore
private chargerlib.FloatStatistics _matchedMaxPossibleScore
private chargerlib.FloatStatistics _precision
private chargerlib.FloatStatistics _recall
private chargerlib.FloatStatistics _normScore
private chargerlib.FloatStatistics _maxPossible
protected NumberFormat intf
protected NumberFormat ff
public BinaryRelationMatchGroupMetrics(String s)
s
- The name of this group (can be null)public void addMatch(BinaryRelationMatch m)
m
- The match object to be added.public String getSummaryHTML(BinaryRelationMatch m)
getSummaryHeaderHTML()
public String getSummaryHeaderHTML()
public String getSummaryStatisticsHTML()
public String getTotalsHTML()
public String getAveragesHTML()
public String getStdDeviationsHTML()
public String getMaxesHTML()
public String getMinsHTML()
public String getCompleteSummaryHTML()
public ArrayList getMatches()
public void scanAllMatches()
AbstractMatcher.explainYourself()
public float getOverallScore()