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)


21010
21011
21012
21013
21014
21015
21016
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 21010

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)


21010
21011
21012
21013
21014
21015
21016
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 21010

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

#valueFloat

The value of the objective metric.

Returns:

  • (Float)


21010
21011
21012
21013
21014
21015
21016
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 21010

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