public class PerformanceMetrics<T extends IFeatureVector> extends Object implements IPerformanceMetrics
IPerformanceMetrics.Vars| Constructor and Description |
|---|
PerformanceMetrics(String toolName,
int tp,
int fp,
int tn,
int fn,
int N,
int M,
int K,
double dist,
HashSet<EntityGroup<T>> unmatchedTool,
HashSet<EntityGroup<T>> unmatchedGroundTruth,
HashMap<EntityGroup<T>,EntityGroupClassificationResult> gtToClsRes) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAccuracy() |
int |
getCommonEntities() |
double |
getDist() |
double |
getF1() |
int |
getFn() |
double |
getFNR() |
int |
getFnWithoutUnmatchedToolEntityGroups() |
int |
getFp() |
double |
getFPR() |
double |
getGain() |
int |
getGroundTruthEntities() |
Map<EntityGroup<T>,EntityGroupClassificationResult> |
getGroundTruthToToolMatchResults() |
double |
getPrecision() |
double |
getRecall() |
double |
getSensitivity() |
double |
getSpecificity() |
int |
getTn() |
int |
getToolEntities() |
String |
getToolName() |
int |
getTp() |
int |
getUnmatchedGroundTruthEntities() |
int |
getUnmatchedToolEntities() |
String |
toString() |
public PerformanceMetrics(String toolName, int tp, int fp, int tn, int fn, int N, int M, int K, double dist, HashSet<EntityGroup<T>> unmatchedTool, HashSet<EntityGroup<T>> unmatchedGroundTruth, HashMap<EntityGroup<T>,EntityGroupClassificationResult> gtToClsRes)
public double getDist()
public String getToolName()
public int getTp()
getTp in interface IPerformanceMetricspublic int getFp()
getFp in interface IPerformanceMetricspublic int getTn()
getTn in interface IPerformanceMetricspublic int getFnWithoutUnmatchedToolEntityGroups()
public int getFn()
getFn in interface IPerformanceMetricspublic int getToolEntities()
public int getCommonEntities()
public int getGroundTruthEntities()
public int getUnmatchedToolEntities()
public int getUnmatchedGroundTruthEntities()
public Map<EntityGroup<T>,EntityGroupClassificationResult> getGroundTruthToToolMatchResults()
public double getSensitivity()
getSensitivity in interface IPerformanceMetricspublic double getSpecificity()
getSpecificity in interface IPerformanceMetricspublic double getFPR()
getFPR in interface IPerformanceMetricspublic double getFNR()
getFNR in interface IPerformanceMetricspublic double getAccuracy()
getAccuracy in interface IPerformanceMetricspublic double getGain()
getGain in interface IPerformanceMetricspublic double getPrecision()
getPrecision in interface IPerformanceMetricspublic double getRecall()
getRecall in interface IPerformanceMetricspublic double getF1()
getF1 in interface IPerformanceMetricsCopyright © 2007-2013. All Rights Reserved.