Class StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec

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

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(StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec)

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

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 Vizier service. Not supported by HyperparamterTuningJob or TrainingPipeline.

Property Value
TypeDescription
String

HasDefaultValue

public bool HasDefaultValue { get; }

Gets whether the "default_value" field is set

Property Value
TypeDescription
Boolean

Values

public RepeatedField<string> Values { get; }

Required. The list of possible categories.

Property Value
TypeDescription
RepeatedField<String>