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

GoogleCloudMlV1_StudyConfig_MetricSpec

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

Represents a metric to optimize.

interface GoogleCloudMlV1_StudyConfig_MetricSpec {
goal?: "GOAL_TYPE_UNSPECIFIED" | "MAXIMIZE" | "MINIMIZE";
metric?: string;
}

§Properties

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

Required. The optimization goal of the metric.

§
metric?: string
[src]

Required. The name of the metric.