Table of Contents

Class LogUniformDistribution

Namespace
OptunaSharp.Distributions
Assembly
OptunaSharp.dll

A uniform distribution in the log domain. Deprecated since Optuna 3.0.0: use FloatDistribution instead.

[Obsolete("LogUniformDistribution 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.FloatDistribution` instead.")]
public class LogUniformDistribution : FloatDistribution, IEquatable<BaseDistribution>
Inheritance
LogUniformDistribution
Implements
Inherited Members

Constructors

LogUniformDistribution(double, double)

Creates a numeric distribution and normalizes a stepped upper endpoint.

public LogUniformDistribution(double low, double high)

Parameters

low double

Inclusive lower endpoint of the parameter range.

high double

Inclusive upper endpoint; a stepped range may lower it to the last reachable grid point.

Exceptions

ValueError

The lower endpoint exceeds the upper endpoint, logarithmic bounds are nonpositive, or the step is invalid for the selected scale.