Cloud AI Platform v1beta1 API - Class StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec (1.0.0-beta06)

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

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec.

Value specification for a parameter in DISCRETE type.

Inheritance

object > StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

DiscreteValueSpec()

public DiscreteValueSpec()

DiscreteValueSpec(DiscreteValueSpec)

public DiscreteValueSpec(StudySpec.Types.ParameterSpec.Types.DiscreteValueSpec other)
Parameter
Name Description
other StudySpecTypesParameterSpecTypesDiscreteValueSpec

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
Type Description
double

HasDefaultValue

public bool HasDefaultValue { get; }

Gets whether the "default_value" field is set

Property Value
Type Description
bool

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
Type Description
RepeatedFielddouble