Class: Aws::SageMaker::Types::MetricDefinition

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

Overview

Specifies a metric that the training algorithm writes to stderr or stdout. SageMakerhyperparameter tuning captures all defined metrics. You specify one metric that a hyperparameter tuning job uses as its objective metric to choose the best training job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the metric.

Returns:

  • (String)


26601
26602
26603
26604
26605
26606
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 26601

class MetricDefinition < Struct.new(
  :name,
  :regex)
  SENSITIVE = []
  include Aws::Structure
end

#regexString

A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining Objective Metrics.

Returns:

  • (String)


26601
26602
26603
26604
26605
26606
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 26601

class MetricDefinition < Struct.new(
  :name,
  :regex)
  SENSITIVE = []
  include Aws::Structure
end