Class FitelsonConfirmationMeasure
- java.lang.Object
-
- org.aksw.palmetto.calculations.direct.AbstractUndefinedResultHandlingConfirmationMeasure
-
- org.aksw.palmetto.calculations.direct.FitelsonConfirmationMeasure
-
- All Implemented Interfaces:
ConfirmationMeasure,DirectConfirmationMeasure
public class FitelsonConfirmationMeasure extends AbstractUndefinedResultHandlingConfirmationMeasure
This confirmation measure calculates the difference of the conditional probability of W' given W* and the conditional probability of W' given ¬W*. The difference is normalized by the sum of these two probabilities. result = (P(W'|W*)-P(W'|¬W*))/(P(W'|W*)+P(W'|¬W*))- Author:
- Michael Röder
-
-
Field Summary
-
Fields inherited from class org.aksw.palmetto.calculations.direct.AbstractUndefinedResultHandlingConfirmationMeasure
resultIfCalcUndefined
-
-
Constructor Summary
Constructors Constructor Description FitelsonConfirmationMeasure()FitelsonConfirmationMeasure(double resultIfCalcUndefined)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]calculateConfirmationValues(SubsetProbabilities subsetProbabilities)Calculates the confirmation values for the given subset probabilities.StringgetName()Returns the name of the measure.-
Methods inherited from class org.aksw.palmetto.calculations.direct.AbstractUndefinedResultHandlingConfirmationMeasure
getResultIfCalcUndefined, setResultIfCalcUndefined
-
-
-
-
Method Detail
-
calculateConfirmationValues
public double[] calculateConfirmationValues(SubsetProbabilities subsetProbabilities)
Description copied from interface:DirectConfirmationMeasureCalculates the confirmation values for the given subset probabilities.- Parameters:
subsetProbabilities- subset probabilities used for the calculation- Returns:
- confirmation values
-
getName
public String getName()
Description copied from interface:ConfirmationMeasureReturns the name of the measure.- Returns:
- the name of the measure.
-
-