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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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
    },
  ],
  continuous_parameter_ranges: [
    {
      name: "ParameterKey", # required
      min_value: "ParameterValue", # required
      max_value: "ParameterValue", # required
    },
  ],
  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.

<note markdown=“1”> 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.

</note>

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.



8873
8874
8875
8876
8877
8878
# File 'lib/aws-sdk-sagemaker/types.rb', line 8873

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.



8873
8874
8875
8876
8877
8878
# File 'lib/aws-sdk-sagemaker/types.rb', line 8873

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:



8873
8874
8875
8876
8877
8878
# File 'lib/aws-sdk-sagemaker/types.rb', line 8873

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