etna.distributions.IntDistribution#

class IntDistribution(low: int, high: int, step: int = 1, log: bool = False)[source]#

Bases: BaseDistribution

Integer-based distribution.

The input parameters aren’t validated.

Look at optuna.trial.Trial.suggest_int() to find more about the meaning of parameters.

Parameters:
  • low (int) – The lower bound.

  • high (int) – The upper bound.

  • step (int) – The space between possible values.

  • log (bool) – The flag of using log domain.

Attributes

log

step

low

high