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)


22057
22058
22059
22060
22061
22062
22063
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22057

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)


22057
22058
22059
22060
22061
22062
22063
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22057

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

#valueFloat

The value of the objective metric.

Returns:

  • (Float)


22057
22058
22059
22060
22061
22062
22063
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 22057

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