CategoricalDistribution#
- class CategoricalDistribution(choices: Sequence[None | bool | int | float | str])[source]#
Bases:
BaseDistribution
Categorical distribution.
The input parameters aren’t validated.
Look at
suggest_categorical()
to find more about the meaning of parameters.Attributes