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
|
|
list
|
|
|
float
|
prob(self,
sample)
Returns:
the probability for a given sample. |
source code
|
|
float
|
|
string
|
|
|
Inherited from ProbDistI:
generate,
logprob,
max
|