public class PseudoRecall extends APseudoPRF
symmetricPrecision| Constructor and Description |
|---|
PseudoRecall() |
PseudoRecall(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 recall of the machine learning predictions compared to a gold standard , which is how many of the s and t
were mapped.
|
getUse1To1Mapping, isSymmetricPrecision, isUse1To1Mapping, setSymmetricPrecision, setUse1To1MappingfalseNegative, trueFalsePositive, trueNegativepublic PseudoRecall()
public PseudoRecall(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.