Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::CategoricalValueSpec (v0.18.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::StudySpec::ParameterSpec::CategoricalValueSpec.

Value specification for a parameter in CATEGORICAL type.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#default_value

def default_value() -> ::String
Returns
  • (::String) — 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.

#default_value=

def default_value=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.

#values

def values() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. The list of possible categories.

#values=

def values=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. The list of possible categories.
Returns
  • (::Array<::String>) — Required. The list of possible categories.