cc.mallet.types
Class Multinomial.LaplaceEstimator

java.lang.Object
  extended by cc.mallet.types.Multinomial.Estimator
      extended by cc.mallet.types.Multinomial.MEstimator
          extended by cc.mallet.types.Multinomial.LaplaceEstimator
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
Multinomial

public static class Multinomial.LaplaceEstimator
extends Multinomial.MEstimator

An MEstimator with m set to 1. The probability estimates in the Multinomial are generated by adding 1 to each count and then dividing each 1-biased count by the sum of all 1-biased counts.

See Also:
Serialized Form

Constructor Summary
Multinomial.LaplaceEstimator()
           
Multinomial.LaplaceEstimator(Alphabet dictionary)
           
Multinomial.LaplaceEstimator(int size)
           
 
Method Summary
 
Methods inherited from class cc.mallet.types.Multinomial.MEstimator
estimate
 
Methods inherited from class cc.mallet.types.Multinomial.Estimator
clone, ensureCapacity, getCount, increment, increment, increment, increment, increment, increment, print, reset, setAlphabet, size
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Multinomial.LaplaceEstimator

public Multinomial.LaplaceEstimator()

Multinomial.LaplaceEstimator

public Multinomial.LaplaceEstimator(int size)

Multinomial.LaplaceEstimator

public Multinomial.LaplaceEstimator(Alphabet dictionary)