Class 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 Detail

      • LaplaceEstimator

        public LaplaceEstimator()
      • LaplaceEstimator

        public LaplaceEstimator​(int size)
      • LaplaceEstimator

        public LaplaceEstimator​(Alphabet dictionary)