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
- Struct
- Aws::SageMaker::Types::HyperParameterTuningJobObjective
- Defined in:
- (unknown)
Overview
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
-
#metric_name ⇒ String
The name of the metric to use for the objective metric.
-
#type ⇒ String
Whether to minimize or maximize the objective metric.
Instance Attribute Details
#metric_name ⇒ String
The name of the metric to use for the objective metric.
#type ⇒ String
Whether to minimize or maximize the objective metric.
Possible values:
- Maximize
- Minimize