Share via


UniformDoubleOption Class

Definition

class for uniform double option.

public sealed class UniformDoubleOption : Microsoft.ML.SearchSpace.Option.UniformNumericOption
type UniformDoubleOption = class
    inherit UniformNumericOption
Public NotInheritable Class UniformDoubleOption
Inherits UniformNumericOption
Inheritance
UniformDoubleOption

Constructors

UniformDoubleOption(Double, Double, Boolean, Nullable<Double>)

Create a UniformDoubleOption using min, max and defaultValue.

Properties

Default

Gets the default value which is mapping to feature space (if exists).

(Inherited from OptionBase)
FeatureSpaceDim

the dimension of feature space, which is equal to the output length of SampleFromFeatureSpace(Double[]).

(Inherited from UniformNumericOption)
LogBase

Gets if this option is log base or not.

(Inherited from UniformNumericOption)
Max

Gets maximum value of this option.

(Inherited from UniformNumericOption)
Min

Gets minimum value of this option.

(Inherited from UniformNumericOption)
Step

Gets the step of this option. The Step is used to determine the number of grid this option should be divided into. In ChoiceOption, it's always the length of Choices. And in UniformNumericOption, it's always [null]. And in SearchSpace, it's a combination of all Step in its options.

(Inherited from UniformNumericOption)

Methods

MappingToFeatureSpace(Parameter)

mapping value to [0, 1) uniform distribution.

(Inherited from UniformNumericOption)
SampleFromFeatureSpace(Double[])

sample from [0,1) uniform distribution.

(Inherited from UniformNumericOption)

Applies to