Skip to content

ContinuousDistributionΒΆ

A probability distribution for continuous values.

ParametersΒΆ

  • seed (int) – defaults to None

    Random number generator seed for reproducibility.

AttributesΒΆ

  • mode

    The most likely value in the distribution.

  • n_samples

    The number of observed samples.

MethodsΒΆ

call

Probability mass/density function.

Parameters

  • x (Any)
cdf

Cumulative density function, i.e. P(X <= x).

Parameters

  • x (float)
revert

Reverts the parameters of the distribution for a given observation.

Parameters

  • x (float)
sample

Sample a random value from the distribution.

update

Updates the parameters of the distribution given a new observation.

Parameters

  • x (float)