Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CategoricalValueSpec.
Value specification for a parameter in CATEGORICAL
type.
Generated from protobuf message google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpec
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ values |
array
Required. The list of possible categories. |
↳ default_value |
string
A default value for a |
getValues
Required. The list of possible categories.
Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValues
Required. The list of possible categories.
Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getDefaultValue
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.
Generated from protobuf field optional string default_value = 3;
Returns | |
---|---|
Type | Description |
string |
hasDefaultValue
clearDefaultValue
setDefaultValue
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.
Generated from protobuf field optional string default_value = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |