Skip to content

Distribution

General distribution.

Parameters

  • seed

    Typeint | None

    DefaultNone

    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'typing.Any'

sample

Sample a random value from the distribution.