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