Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1StudySpecMetricSpec

import type { GoogleCloudAiplatformV1StudySpecMetricSpec } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

Represents a metric to optimize.

interface GoogleCloudAiplatformV1StudySpecMetricSpec {
goal?: "GOAL_TYPE_UNSPECIFIED" | "MAXIMIZE" | "MINIMIZE";
metricId?: string;
}

§Properties

§
goal?: "GOAL_TYPE_UNSPECIFIED" | "MAXIMIZE" | "MINIMIZE"
[src]

Required. The optimization goal of the metric.

§
metricId?: string
[src]

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

§

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