Class PseudoRefFMeasure
- java.lang.Object
-
- org.aksw.limes.core.evaluation.qualititativeMeasures.APRF
-
- org.aksw.limes.core.evaluation.qualititativeMeasures.APseudoPRF
-
- org.aksw.limes.core.evaluation.qualititativeMeasures.PseudoFMeasure
-
- org.aksw.limes.core.evaluation.qualititativeMeasures.PseudoRefFMeasure
-
- All Implemented Interfaces:
IQualitativeMeasure
public class PseudoRefFMeasure extends PseudoFMeasure
Implements a quality measure for unsupervised ML algorihtms, dubbed pseudo Reference F-Measure.
Thereby, not relying on any gold standard. The basic idea is to measure the quality of the given Mapping by calculating how close it is to an assumed 1-to-1 Mapping between source and target.- Since:
- 1.0
- Version:
- 1.0
- Author:
- Klaus Lyko (lyko@informatik.uni-leipzig.de), Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de), Mofeed Hassan (mounir@informatik.uni-leipzig.de)
-
-
Field Summary
-
Fields inherited from class org.aksw.limes.core.evaluation.qualititativeMeasures.APseudoPRF
symmetricPrecision
-
-
Constructor Summary
Constructors Constructor Description PseudoRefFMeasure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleprecision(AMapping predictions, GoldStandard goldStandard)The method calculates the pseudo reference precision of the machine learning predictions compared to a gold standarddoublerecall(AMapping predictions, GoldStandard goldStandard)The method calculates the pseudo reference recall of the machine learning predictions compared to a gold standard-
Methods inherited from class org.aksw.limes.core.evaluation.qualititativeMeasures.PseudoFMeasure
calculate, calculate
-
Methods inherited from class org.aksw.limes.core.evaluation.qualititativeMeasures.APseudoPRF
getUse1To1Mapping, isSymmetricPrecision, isUse1To1Mapping, setSymmetricPrecision, setUse1To1Mapping
-
Methods inherited from class org.aksw.limes.core.evaluation.qualititativeMeasures.APRF
falseNegative, trueFalsePositive, trueNegative
-
-
-
-
Method Detail
-
recall
public double recall(AMapping predictions, GoldStandard goldStandard)
The method calculates the pseudo reference recall of the machine learning predictions compared to a gold standard- Overrides:
recallin classPseudoFMeasure- Parameters:
predictions- The predictions provided by a machine learning algorithmgoldStandard- It contains the gold standard (reference mapping) combined with the source and target URIs- Returns:
- double - This returns the calculated reference pseudo recall
-
precision
public double precision(AMapping predictions, GoldStandard goldStandard)
The method calculates the pseudo reference precision of the machine learning predictions compared to a gold standard- Overrides:
precisionin classPseudoFMeasure- Parameters:
predictions- The predictions provided by a machine learning algorithmgoldStandard- It contains the gold standard (reference mapping) combined with the source and target URIs- Returns:
- double - This returns the calculated pseudo reference precision
-
-