public abstract class APseudoPRF extends APRF
| Modifier and Type | Field and Description |
|---|---|
boolean |
symmetricPrecision
A flag specifies if the calculated precision is symmetric or not
|
| Constructor and Description |
|---|
APseudoPRF() |
| Modifier and Type | Method and Description |
|---|---|
abstract double |
calculate(AMapping predictions,
GoldStandard goldStandard)
The Abstract method to be implemented for calculating the accuracy of the machine learning predictions compared to a gold standard
|
boolean |
getUse1To1Mapping()
The method retrieves the flag value of one-to-one mapping
|
boolean |
isSymmetricPrecision()
The method checks if symmetric precision flag is used
|
boolean |
isUse1To1Mapping()
The method checks if one-to-one mapping is used
|
void |
setSymmetricPrecision(boolean symmetricPrecision)
The method sets the symmetric precision flag
|
void |
setUse1To1Mapping(boolean use1To1Mapping)
The method sets the one-to-one mapping flag
|
falseNegative, trueFalsePositive, trueNegativepublic boolean symmetricPrecision
public abstract 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 URIspublic boolean isUse1To1Mapping()
public boolean getUse1To1Mapping()
public void setUse1To1Mapping(boolean use1To1Mapping)
use1To1Mapping - The boolean value to be assigned to the flagpublic boolean isSymmetricPrecision()
public void setSymmetricPrecision(boolean symmetricPrecision)
symmetricPrecision - The boolean value to be assigned to the flagCopyright © 2018. All rights reserved.