|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.types.Multinomial.Estimator cc.mallet.types.Multinomial.MEstimator cc.mallet.types.Multinomial.LaplaceEstimator
public static class Multinomial.LaplaceEstimator
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.
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 |
---|
public Multinomial.LaplaceEstimator()
public Multinomial.LaplaceEstimator(int size)
public Multinomial.LaplaceEstimator(Alphabet dictionary)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |