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

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 HPOConfig data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#algorithm_hyper_parameter_rangesTypes::HyperParameterRanges

The hyperparameters and their allowable ranges.



2704
2705
2706
2707
2708
2709
2710
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2704

class HPOConfig < Struct.new(
  :hpo_objective,
  :hpo_resource_config,
  :algorithm_hyper_parameter_ranges)
  SENSITIVE = []
  include Aws::Structure
end

#hpo_objectiveTypes::HPOObjective

The metric to optimize during HPO.

Returns:



2704
2705
2706
2707
2708
2709
2710
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2704

class HPOConfig < Struct.new(
  :hpo_objective,
  :hpo_resource_config,
  :algorithm_hyper_parameter_ranges)
  SENSITIVE = []
  include Aws::Structure
end

#hpo_resource_configTypes::HPOResourceConfig

Describes the resource configuration for HPO.



2704
2705
2706
2707
2708
2709
2710
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2704

class HPOConfig < Struct.new(
  :hpo_objective,
  :hpo_resource_config,
  :algorithm_hyper_parameter_ranges)
  SENSITIVE = []
  include Aws::Structure
end