Class: Aws::SageMaker::Types::FinalHyperParameterTuningJobObjectiveMetric

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

Overview

Shows the latest objective metric emitted by a training job that was launched by a hyperparameter tuning job. You define the objective metric in the HyperParameterTuningJobObjective parameter of HyperParameterTuningJobConfig.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_nameString

The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.

Returns:

  • (String)


20894
20895
20896
20897
20898
20899
20900
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 20894

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

#typeString

Select if you want to minimize or maximize the objective metric during hyperparameter tuning.

Returns:

  • (String)


20894
20895
20896
20897
20898
20899
20900
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 20894

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

#valueFloat

The value of the objective metric.

Returns:

  • (Float)


20894
20895
20896
20897
20898
20899
20900
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 20894

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