Cloud AI Platform v1 API - Class StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec (2.27.0)

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

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

Value specification for a parameter in CATEGORICAL type.

Inheritance

object > StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

CategoricalValueSpec()

public CategoricalValueSpec()

CategoricalValueSpec(CategoricalValueSpec)

public CategoricalValueSpec(StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec other)
Parameter
NameDescription
otherStudySpecTypesParameterSpecTypesCategoricalValueSpec

Properties

DefaultValue

public string DefaultValue { get; set; }

A default value for a CATEGORICAL parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point.

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

Property Value
TypeDescription
string

HasDefaultValue

public bool HasDefaultValue { get; }

Gets whether the "default_value" field is set

Property Value
TypeDescription
bool

Values

public RepeatedField<string> Values { get; }

Required. The list of possible categories.

Property Value
TypeDescription
RepeatedFieldstring