public class FMeasure extends APRF implements IQualitativeMeasure
| Constructor and Description |
|---|
FMeasure() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculate(AMapping predictions,
GoldStandard goldStandard)
The method calculates the F-Measure of the machine learning predictions compared to a gold standard
|
double |
precision(AMapping predictions,
GoldStandard goldStandard)
The method calculates the precision of the machine learning predictions compared to a gold standard
|
double |
recall(AMapping predictions,
GoldStandard goldStandard)
The method calculates the recall 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 URIspublic double recall(AMapping predictions, GoldStandard goldStandard)
predictions - The predictions provided by a machine learning algorithmgoldStandard - It contains the gold standard (reference mapping) combined with the source and target URIspublic double precision(AMapping predictions, GoldStandard goldStandard)
predictions - The predictions provided by a machine learning algorithmgoldStandard - It contains the gold standard (reference mapping) combined with the source and target URIsCopyright © 2018. All rights reserved.