Class LogRatioConfirmationMeasure

All Implemented Interfaces:
ConfirmationMeasure, DirectConfirmationMeasure, LogBasedCalculation

public class LogRatioConfirmationMeasure 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. result = log((P(W',W*) + e)/(P(W')*P(W*))) Another name for it is pointwise mutual information (PMI). The e is defined by LogBasedCalculation.EPSILON.
Author:
Michael Röder
  • Constructor Details

    • LogRatioConfirmationMeasure

      public LogRatioConfirmationMeasure()
    • LogRatioConfirmationMeasure

      public LogRatioConfirmationMeasure(double resultIfCalcUndefined)
  • Method Details