Cloud AI Platform v1 API - Class StudySpec.Types.MetricSpec (2.7.0)

public sealed class MetricSpec : IMessage<StudySpec.Types.MetricSpec>, IEquatable<StudySpec.Types.MetricSpec>, IDeepCloneable<StudySpec.Types.MetricSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class StudySpec.Types.MetricSpec.

Represents a metric to optimize.

Inheritance

Object > StudySpec.Types.MetricSpec

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

MetricSpec()

public MetricSpec()

MetricSpec(StudySpec.Types.MetricSpec)

public MetricSpec(StudySpec.Types.MetricSpec other)
Parameter
NameDescription
otherStudySpec.Types.MetricSpec

Properties

Goal

public StudySpec.Types.MetricSpec.Types.GoalType Goal { get; set; }

Required. The optimization goal of the metric.

Property Value
TypeDescription
StudySpec.Types.MetricSpec.Types.GoalType

MetricId

public string MetricId { get; set; }

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

Property Value
TypeDescription
String