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

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

Overview

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. If you want to define a custom objective metric, see [Define metrics and environment variables].

[1]: docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics-variables.html

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)


23392
23393
23394
23395
23396
23397
# File 'lib/aws-sdk-sagemaker/types.rb', line 23392

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

#typeString

Whether to minimize or maximize the objective metric.

Returns:

  • (String)


23392
23393
23394
23395
23396
23397
# File 'lib/aws-sdk-sagemaker/types.rb', line 23392

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