View Source GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_StudyConfig_MetricSpec (google_api_machine_learning v0.28.1)

Represents a metric to optimize.

Attributes

  • goal (type: String.t, default: nil) - Required. The optimization goal of the metric.
  • metric (type: String.t, default: nil) - Required. The name of the metric.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_StudyConfig_MetricSpec{
    goal: String.t() | nil,
    metric: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.