org.apache.mahout.vectorizer.collocations.llr
Class LLRReducer.ConcreteLLCallback

java.lang.Object
  extended by org.apache.mahout.vectorizer.collocations.llr.LLRReducer.ConcreteLLCallback
All Implemented Interfaces:
LLRReducer.LLCallback
Enclosing class:
LLRReducer

public static final class LLRReducer.ConcreteLLCallback
extends java.lang.Object
implements LLRReducer.LLCallback

concrete implementation delegates to LogLikelihood class


Constructor Summary
LLRReducer.ConcreteLLCallback()
           
 
Method Summary
 double logLikelihoodRatio(int k11, int k12, int k21, int k22)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LLRReducer.ConcreteLLCallback

public LLRReducer.ConcreteLLCallback()
Method Detail

logLikelihoodRatio

public double logLikelihoodRatio(int k11,
                                 int k12,
                                 int k21,
                                 int k22)
Specified by:
logLikelihoodRatio in interface LLRReducer.LLCallback


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.