Class: Aws::SageMaker::Types::ParameterRanges

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

Overview

Note:

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

{
  integer_parameter_ranges: [
    {
      name: "ParameterKey", # required
      min_value: "ParameterValue", # required
      max_value: "ParameterValue", # required
      scaling_type: "Auto", # accepts Auto, Linear, Logarithmic, ReverseLogarithmic
    },
  ],
  continuous_parameter_ranges: [
    {
      name: "ParameterKey", # required
      min_value: "ParameterValue", # required
      max_value: "ParameterValue", # required
      scaling_type: "Auto", # accepts Auto, Linear, Logarithmic, ReverseLogarithmic
    },
  ],
  categorical_parameter_ranges: [
    {
      name: "ParameterKey", # required
      values: ["ParameterValue"], # required
    },
  ],
}

Specifies ranges of integer, continuous, and categorical hyperparameters that a hyperparameter tuning job searches. The hyperparameter tuning job launches training jobs with hyperparameter values within these ranges to find the combination of values that result in the training job with the best performance as measured by the objective metric of the hyperparameter tuning job.

You can specify a maximum of 20 hyperparameters that a hyperparameter tuning job can search over. Every possible value of a categorical parameter range counts against this limit.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#categorical_parameter_rangesArray<Types::CategoricalParameterRange>

The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.



16461
16462
16463
16464
16465
16466
16467
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 16461

class ParameterRanges < Struct.new(
  :integer_parameter_ranges,
  :continuous_parameter_ranges,
  :categorical_parameter_ranges)
  SENSITIVE = []
  include Aws::Structure
end

#continuous_parameter_rangesArray<Types::ContinuousParameterRange>

The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.



16461
16462
16463
16464
16465
16466
16467
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 16461

class ParameterRanges < Struct.new(
  :integer_parameter_ranges,
  :continuous_parameter_ranges,
  :categorical_parameter_ranges)
  SENSITIVE = []
  include Aws::Structure
end

#integer_parameter_rangesArray<Types::IntegerParameterRange>

The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.

Returns:



16461
16462
16463
16464
16465
16466
16467
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 16461

class ParameterRanges < Struct.new(
  :integer_parameter_ranges,
  :continuous_parameter_ranges,
  :categorical_parameter_ranges)
  SENSITIVE = []
  include Aws::Structure
end