public class Precision extends APRF implements IQualitativeMeasure
| Constructor and Description |
|---|
Precision() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculate(AMapping predictions,
GoldStandard goldStandard)
The method calculates the precision of the machine learning predictions compared to a gold standard
|
falseNegative, trueFalsePositive, trueNegativepublic double calculate(AMapping predictions, GoldStandard goldStandard)
calculate in interface IQualitativeMeasurecalculate in class APRFpredictions - The predictions provided by a machine learning algorithmgoldStandard - It contains the gold standard (reference mapping) combined with the source and target URIsCopyright © 2020. All rights reserved.