Distribution¶
General distribution.
Parameters¶
-
seed
Type → int | None
Default →
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 — 'typing.Any'
sample
Sample a random value from the distribution.