The cross-validation estimate for the probability distribution of the
experiment used to generate a set of frequency distribution. The cross-validation estimate for the probability of a
sample is found by averaging the held-out estimates for the sample in
each pair of frequency distributions.
|
|
__init__(self,
freqdists,
bins)
Use the cross-validation estimate to create a probability
distribution for the experiment used to generate
freqdists. |
source code
|
|
list of FreqDist
|
freqdists(self)
Returns:
The list of frequency distributions that this ProbDist
is based on. |
source code
|
|
|
float
|
prob(self,
sample)
Returns:
the probability for a given sample. |
source code
|
|
string
|
|
|
Inherited from ProbDistI:
logprob,
max,
samples
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
|