public class PseudoPrecision extends APseudoPRF
symmetricPrecision| Constructor and Description |
|---|
PseudoPrecision() |
PseudoPrecision(boolean symmetricPrecision)
Use this constructor to toggle between symmetric precision (true) and the older asymmetric Pseudo-Precision (false)
|
| Modifier and Type | Method and Description |
|---|---|
double |
calculate(AMapping predictions,
GoldStandard goldStandard)
The method calculates the pseudo precision of the machine learning predictions compared to a gold standard , which is basically how well the mapping
maps one single s to one single t.
|
getUse1To1Mapping, isSymmetricPrecision, isUse1To1Mapping, setSymmetricPrecision, setUse1To1MappingfalseNegative, trueFalsePositive, trueNegativepublic PseudoPrecision()
public PseudoPrecision(boolean symmetricPrecision)
symmetricPrecision - sets/resets the symmetric precision flagpublic double calculate(AMapping predictions, GoldStandard goldStandard)
calculate in interface IQualitativeMeasurecalculate in class APseudoPRFpredictions - The predictions provided by a machine learning algorithm.goldStandard - It contains the gold standard (reference mapping) combined with the source and target URIs.Copyright © 2018. All rights reserved.