Class NormalizedLogRatioConfirmationMeasure

java.lang.Object
org.aksw.palmetto.calculations.direct.AbstractUndefinedResultHandlingConfirmationMeasure
org.aksw.palmetto.calculations.direct.NormalizedLogRatioConfirmationMeasure
All Implemented Interfaces:
ConfirmationMeasure, DirectConfirmationMeasure, LogBasedCalculation

public class NormalizedLogRatioConfirmationMeasure extends AbstractUndefinedResultHandlingConfirmationMeasure implements LogBasedCalculation
This confirmation measure calculates the logarithm of the ratio between the joint probability of W' and W* and the product of the two marginal probabilities. The result is normalized with the logarithm of the joint probability of W' and W*. result = log((P(W',W*) + e)/(P(W')*P(W*)))/log(P(W',W*) + e) Another name for it is normalized pointwise mutual information (NPMI). The e is defined by LogBasedCalculation.EPSILON.
Author:
Michael Röder
  • Constructor Details

    • NormalizedLogRatioConfirmationMeasure

      public NormalizedLogRatioConfirmationMeasure()
    • NormalizedLogRatioConfirmationMeasure

      public NormalizedLogRatioConfirmationMeasure(double resultIfCalcUndefined)
  • Method Details