You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SageMaker::Types::HyperParameterTuningJobObjective

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing HyperParameterTuningJobObjective as input to an Aws::Client method, you can use a vanilla Hash:

{
  type: "Maximize", # required, accepts Maximize, Minimize
  metric_name: "MetricName", # required
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#metric_nameString

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

Returns:

  • (String)

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

#typeString

Whether to minimize or maximize the objective metric.

Possible values:

  • Maximize
  • Minimize

Returns:

  • (String)

    Whether to minimize or maximize the objective metric.