Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec (v0.3.0)

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

Represents a metric to optimize.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#goal

def goal() -> ::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec::GoalType
Returns

#goal=

def goal=(value) -> ::Google::Cloud::AIPlatform::V1::StudySpec::MetricSpec::GoalType
Parameter
Returns

#metric_id

def metric_id() -> ::String
Returns
  • (::String) — Required. The ID of the metric. Must not contain whitespaces and must be unique amongst all MetricSpecs.

#metric_id=

def metric_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID of the metric. Must not contain whitespaces and must be unique amongst all MetricSpecs.
Returns
  • (::String) — Required. The ID of the metric. Must not contain whitespaces and must be unique amongst all MetricSpecs.