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

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

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

Overview

Note:

When passing ParameterRanges as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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.

Returns:

#continuous_parameter_rangesArray<Types::ContinuousParameterRange>

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

Returns:

#integer_parameter_rangesArray<Types::IntegerParameterRange>

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

Returns: