Class StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec (2.2.0)

public sealed class DiscreteValueSpec : IMessage<StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec>, IEquatable<StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec>, IDeepCloneable<StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec>, IBufferMessage, IMessage

Value specification for a parameter in DISCRETE type.

Inheritance

Object > StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

DiscreteValueSpec()

public DiscreteValueSpec()

DiscreteValueSpec(StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec)

public DiscreteValueSpec(StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec other)
Parameter
NameDescription
otherStudySpec.Types.ParameterSpec.Types.DiscreteValueSpec

Properties

DefaultValue

public double DefaultValue { get; set; }

A default value for a DISCRETE parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point. It automatically rounds to the nearest feasible discrete point.

Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.

Property Value
TypeDescription
Double

HasDefaultValue

public bool HasDefaultValue { get; }

Gets whether the "default_value" field is set

Property Value
TypeDescription
Boolean

Values

public RepeatedField<double> Values { get; }

Required. A list of possible values. The list should be in increasing order and at least 1e-10 apart. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.

Property Value
TypeDescription
RepeatedField<Double>