CategoricalDistribution

class CategoricalDistribution(choices: Sequence[Union[None, bool, int, float, str]])[source]

Bases: etna.distributions.distributions.BaseDistribution

Categorical distribution.

The input parameters aren’t validated.

Look at suggest_categorical() to find more about the meaning of parameters.

choices

Possible values to take.

Type

Sequence[Union[None, bool, int, float, str]]

Inherited-members

Parameters

choices (Sequence[Union[None, bool, int, float, str]]) –

Return type

None

Attributes

choices