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

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.

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.



9613
9614
9615
9616
9617
9618
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 9613

class ParameterRanges < Struct.new(
  :integer_parameter_ranges,
  :continuous_parameter_ranges,
  :categorical_parameter_ranges)
  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.



9613
9614
9615
9616
9617
9618
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 9613

class ParameterRanges < Struct.new(
  :integer_parameter_ranges,
  :continuous_parameter_ranges,
  :categorical_parameter_ranges)
  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:



9613
9614
9615
9616
9617
9618
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 9613

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