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

public sealed class StudySpec.Types.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

GoogleCloudGoogle.Cloud.AIPlatformV1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

MetricSpec()

public MetricSpec()

MetricSpec(MetricSpec)

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

Properties

Goal

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

Required. The optimization goal of the metric.

Property Value
TypeDescription
StudySpecTypesMetricSpecTypesGoalType

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

SafetyConfig

public StudySpec.Types.MetricSpec.Types.SafetyMetricConfig SafetyConfig { get; set; }

Used for safe search. In the case, the metric will be a safety metric. You must provide a separate metric for objective metric.

Property Value
TypeDescription
StudySpecTypesMetricSpecTypesSafetyMetricConfig