optuna.distributions.IntLogUniformDistribution
- class optuna.distributions.IntLogUniformDistribution(low, high, step=1)[source]
A uniform distribution on integers in the log domain.
This object is instantiated by
suggest_int(), and passed tosamplersin general.- low
Lower endpoint of the range of the distribution.
lowis included in the range and must be larger than or equal to 1.lowmust be less than or equal tohigh.
- high
Upper endpoint of the range of the distribution.
highis included in the range.highmust be greater than or equal tolow.
- step
A discretization step.
stepmust be a positive integer.
Warning
Deprecated in v3.0.0. This feature will be removed in the future. The removal of this feature is currently scheduled for v6.0.0, but this schedule is subject to change. See https://github.com/optuna/optuna/releases/tag/v3.0.0.
Use
IntDistributioninstead.Methods
single()Test whether the range of this distribution contains just a single value.
to_external_repr(param_value_in_internal_repr)Convert internal representation of a parameter value into external representation.
to_internal_repr(param_value_in_external_repr)Convert external representation of a parameter value into internal representation.
- single()
Test whether the range of this distribution contains just a single value.
- to_external_repr(param_value_in_internal_repr)
Convert internal representation of a parameter value into external representation.
- to_internal_repr(param_value_in_external_repr)
Convert external representation of a parameter value into internal representation.