__init__(self,
freqdist,
bins=None)
(Constructor)
Use the expected likelihood estimate to create a probability
distribution for the experiment used to generate
freqdist .
-
- Parameters:
freqdist -
The frequency distribution that the probability estimates
should be based on.
(type=FreqDist )
bins -
The number of sample values that can be generated by the
experiment that is described by the probability distribution.
This value must be correctly set for the probabilities of the
sample values to sum to one. If bins is not
specified, it defaults to freqdist.B() .
(type=int )
- Overrides:
nltk_lite.probability.LidstoneProbDist.__init__
|