optuna.distributions.LogUniformDistribution
- class optuna.distributions.LogUniformDistribution(low, high)[source]
A uniform distribution in the log domain.
This object is instantiated by
suggest_float()withlog=Trueandsuggest_loguniform(), and passed tosamplersin general.- low
Lower endpoint of the range of the distribution.
lowis included in the range.
- high
Upper endpoint of the range of the distribution.
highis included from the range.
- Raises
ValueError – If
lowvalue is larger thanhighvalue, orlowvalue is smaller than or equal to 0.- Parameters
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.
- 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.