Module Values_0.MetricDefinitionSource

Specifies a metric that the training algorithm writes to stderr or stdout. You can view these logs to understand how your training job performs and check for any errors encountered during training. SageMaker hyperparameter tuning captures all defined metrics. Specify one of the defined metrics to use as an objective metric using the TuningObjective parameter in the HyperParameterTrainingJobDefinition API to evaluate job performance during hyperparameter tuning.

Sourcetype nonrec t = {
  1. name : MetricName.t;
    (*

    The name of the metric.

    *)
  2. regex : MetricRegex.t;
    (*

    A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables.

    *)
}
Sourceval context_ : string
Sourceval make : name:MetricName.t -> regex:MetricRegex.t -> unit -> t
Sourceval to_value : t -> [> `Structure 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