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.
Implements
IMessage<StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec>, IEquatable<StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec>, IDeepCloneable<StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec>, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
CategoricalValueSpec()
public CategoricalValueSpec()
CategoricalValueSpec(StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec)
public CategoricalValueSpec(StudySpec.Types.ParameterSpec.Types.CategoricalValueSpec other)
Parameter | |
---|---|
Name | Description |
other | StudySpec.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 | |
---|---|
Type | Description |
String |
HasDefaultValue
public bool HasDefaultValue { get; }
Gets whether the "default_value" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Values
public RepeatedField<string> Values { get; }
Required. The list of possible categories.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |