Skip to content

ContinuousDistribution

A probability distribution for continuous values.

Attributes

  • mode

    Most likely value.

  • n_samples

    The number of observed samples.

Methods

cdf

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

Parameters

  • x
pdf

Probability density function, i.e. P(x <= X < x+dx) / dx.

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