Class MetricSpec (1.2.0)

MetricSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a metric to optimize. .. attribute:: metric_id

Required. The ID of the metric. Must not contain whitespaces and must be unique amongst all MetricSpecs.

:type: str

Attribute

NameDescription
goal google.cloud.aiplatform_v1.types.StudySpec.MetricSpec.GoalType
Required. The optimization goal of the metric.

Inheritance

builtins.object > proto.message.Message > MetricSpec

Classes

GoalType

GoalType(value)

The available types of optimization goals.