You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing HPOObjective as input to an Aws::Client method, you can use a vanilla Hash:

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

The metric to optimize during hyperparameter optimization (HPO).

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#metric_nameString

The name of the metric.

Returns:

  • (String)

    The name of the metric.

#metric_regexString

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

Returns:

  • (String)

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

#typeString

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

Returns:

  • (String)

    The type of the metric.