PseudoFMeasure instead@Deprecated public class PseudoFM extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
symmetricPrecision
Deprecated.
|
| Constructor and Description |
|---|
PseudoFM()
Deprecated.
|
PseudoFM(boolean symmetricPrecision)
Deprecated.
Use this constructor to toggle between symmetric precision (true) and the older asymmetric
Pseudo-Precision (false)
|
| Modifier and Type | Method and Description |
|---|---|
double |
getPseudoFMeasure(List<String> sourceUris,
List<String> targetUris,
AMapping result)
Deprecated.
Computes the balanced Pseudo-F1-measure.
|
double |
getPseudoFMeasure(List<String> sourceUris,
List<String> targetUris,
AMapping result,
double beta)
Deprecated.
Computes Pseudo-f-measure for different beta values
|
double |
getPseudoPrecision(List<String> sourceUris,
List<String> targetUris,
AMapping result)
Deprecated.
Computes the pseudo-precision, which is basically how well the mapping
maps one single s to one single t
|
double |
getPseudoRecall(List<String> sourceUris,
List<String> targetUris,
AMapping result)
Deprecated.
The assumption here is a follows.
|
boolean |
isUse1To1Mapping()
Deprecated.
|
void |
setUse1To1Mapping(boolean use1To1Mapping)
Deprecated.
|
public PseudoFM()
public PseudoFM(boolean symmetricPrecision)
symmetricPrecision - sets/clears the flag for symmetric precisionpublic boolean isUse1To1Mapping()
public void setUse1To1Mapping(boolean use1To1Mapping)
public double getPseudoFMeasure(List<String> sourceUris, List<String> targetUris, AMapping result)
sourceUris - Source URIstargetUris - Target URIsresult - Mapping resulting from ML algorihtmspublic double getPseudoFMeasure(List<String> sourceUris, List<String> targetUris, AMapping result, double beta)
sourceUris - Source URIstargetUris - Target URIsresult - Mapping resulting from ML algorihtmsbeta - Beta for F-betapublic double getPseudoPrecision(List<String> sourceUris, List<String> targetUris, AMapping result)
sourceUris - List of source uristargetUris - List of target urisresult - Mapping of source to targer urispublic double getPseudoRecall(List<String> sourceUris, List<String> targetUris, AMapping result)
sourceUris - URIs in source cachetargetUris - URIs in target cacheresult - Mapping computed by our learnerCopyright © 2018. All rights reserved.