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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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].

[1]: docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html

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].

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

Returns:

  • (String)


20979
20980
20981
20982
20983
20984
20985
# File 'lib/aws-sdk-sagemaker/types.rb', line 20979

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)


20979
20980
20981
20982
20983
20984
20985
# File 'lib/aws-sdk-sagemaker/types.rb', line 20979

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

#valueFloat

The value of the objective metric.

Returns:

  • (Float)


20979
20980
20981
20982
20983
20984
20985
# File 'lib/aws-sdk-sagemaker/types.rb', line 20979

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