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

Class: Aws::Personalize::Types::HPOConfig

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

Overview

Note:

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

{
  hpo_objective: {
    type: "HPOObjectiveType",
    metric_name: "MetricName",
    metric_regex: "MetricRegex",
  },
  hpo_resource_config: {
    max_number_of_training_jobs: "HPOResource",
    max_parallel_training_jobs: "HPOResource",
  },
  algorithm_hyper_parameter_ranges: {
    integer_hyper_parameter_ranges: [
      {
        name: "ParameterName",
        min_value: 1,
        max_value: 1,
      },
    ],
    continuous_hyper_parameter_ranges: [
      {
        name: "ParameterName",
        min_value: 1.0,
        max_value: 1.0,
      },
    ],
    categorical_hyper_parameter_ranges: [
      {
        name: "ParameterName",
        values: ["CategoricalValue"],
      },
    ],
  },
}

Describes the properties for hyperparameter optimization (HPO). For use with the bring-your-own-recipe feature. Do not use for Amazon Personalize native recipes.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#algorithm_hyper_parameter_rangesTypes::HyperParameterRanges

The hyperparameters and their allowable ranges.

Returns:

#hpo_objectiveTypes::HPOObjective

The metric to optimize during HPO.

Returns:

#hpo_resource_configTypes::HPOResourceConfig

Describes the resource configuration for HPO.

Returns: