Class: Aws::Personalize::Types::HPOObjective

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

Overview

Note:

When making an API call, you may pass HPOObjective data as a hash:

{
  type: "HPOObjectiveType",
  metric_name: "MetricName",
  metric_regex: "MetricRegex",
}

The metric to optimize during hyperparameter optimization (HPO).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_nameString

The name of the metric.

Returns:

  • (String)


2738
2739
2740
2741
2742
2743
2744
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2738

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

#metric_regexString

A regular expression for finding the metric in the training job logs.

Returns:

  • (String)


2738
2739
2740
2741
2742
2743
2744
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2738

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

#typeString

The type of the metric. Valid values are Maximize and Minimize.

Returns:

  • (String)


2738
2739
2740
2741
2742
2743
2744
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2738

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