DiscreteDistributionΒΆ
A probability distribution for discrete values.
AttributesΒΆ
-
n_samples
The number of observed samples.
MethodsΒΆ
pmf
Probability mass function.
Parameters
- x
revert
Reverts the parameters of the distribution for a given observation.
Parameters
- x
update
Updates the parameters of the distribution given a new observation.
Parameters
- x