Skip to content

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