class Aws::SageMaker::Types::HyperParameterTuningJobObjective

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.

@note When making an API call, you may pass HyperParameterTuningJobObjective

data as a hash:

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

@!attribute [rw] type

Whether to minimize or maximize the objective metric.
@return [String]

@!attribute [rw] metric_name

The name of the metric to use for the objective metric.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HyperParameterTuningJobObjective AWS API Documentation

Constants

SENSITIVE