__init__(self,
freqdist,
bins=None)
(Constructor)
| source code
|
Use the Laplace estimate to create a probability distribution for the
experiment used to generate freqdist .
- Parameters:
freqdist (FreqDist ) - The frequency distribution that the probability estimates should
be based on.
bins (int ) - 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() .
- Overrides:
LidstoneProbDist.__init__
|