AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass HyperParameterTuningJobObjective data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_nameString

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

Returns:

  • (String)


20606
20607
20608
20609
20610
20611
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 20606

class HyperParameterTuningJobObjective < Struct.new(
  :type,
  :metric_name)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Whether to minimize or maximize the objective metric.

Returns:

  • (String)


20606
20607
20608
20609
20610
20611
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 20606

class HyperParameterTuningJobObjective < Struct.new(
  :type,
  :metric_name)
  SENSITIVE = []
  include Aws::Structure
end