Class IntLogUniformDistribution
- Namespace
- OptunaSharp.Distributions
- Assembly
- OptunaSharp.dll
A uniform distribution on integers in the log domain. Deprecated since Optuna 3.0.0: use IntDistribution instead.
[Obsolete("IntLogUniformDistribution has been deprecated in v3.0.0. This feature will be removed in v6.0.0. See https://github.com/optuna/optuna/releases/tag/v3.0.0. Use :class:`~optuna.distributions.IntDistribution` instead.")]
public class IntLogUniformDistribution : IntDistribution, IEquatable<BaseDistribution>
- Inheritance
-
IntLogUniformDistribution
- Implements
- Inherited Members
Constructors
IntLogUniformDistribution(long, long, long)
Creates a numeric distribution and normalizes a stepped upper endpoint.
public IntLogUniformDistribution(long low, long high, long step = 1)
Parameters
lowlongInclusive lower endpoint of the parameter range.
highlongInclusive upper endpoint; a stepped range may lower it to the last reachable grid point.
steplongPositive integer grid spacing; logarithmic ranges require one.
Exceptions
- ValueError
The lower endpoint exceeds the upper endpoint, logarithmic bounds are nonpositive, or the step is invalid for the selected scale.