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)


19629
19630
19631
19632
19633
19634
19635
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19629

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)


19629
19630
19631
19632
19633
19634
19635
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19629

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

#valueFloat

The value of the objective metric.

Returns:

  • (Float)


19629
19630
19631
19632
19633
19634
19635
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19629

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