Module Values_0.HyperParameterTuningJobObjectiveSource

Defines the objective metric for a hyperparameter tuning job. Hyperparameter tuning uses the value of this metric to evaluate the training jobs it launches, and returns the training job that results in either the highest or lowest value for this metric, depending on the value you specify for the Type parameter. If you want to define a custom objective metric, see Define metrics and environment variables.

Sourcetype nonrec t = {
  1. type_ : HyperParameterTuningJobObjectiveType.t;
    (*

    Whether to minimize or maximize the objective metric.

    *)
  2. metricName : MetricName.t;
    (*

    The name of the metric to use for the objective metric.

    *)
}
Sourceval context_ : string
Sourceval make : type_:HyperParameterTuningJobObjectiveType.t -> metricName:MetricName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of MetricName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t