Class: Aws::SageMaker::Types::HyperParameterSpecification

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 HyperParameterSpecification data as a hash:

{
  name: "ParameterName", # required
  description: "EntityDescription",
  type: "Integer", # required, accepts Integer, Continuous, Categorical, FreeText
  range: {
    integer_parameter_range_specification: {
      min_value: "ParameterValue", # required
      max_value: "ParameterValue", # required
    },
    continuous_parameter_range_specification: {
      min_value: "ParameterValue", # required
      max_value: "ParameterValue", # required
    },
    categorical_parameter_range_specification: {
      values: ["ParameterValue"], # required
    },
  },
  is_tunable: false,
  is_required: false,
  default_value: "HyperParameterValue",
}

Defines a hyperparameter to be used by an algorithm.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_valueString

The default value for this hyperparameter. If a default value is specified, a hyperparameter cannot be required.

Returns:

  • (String)


21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 21462

class HyperParameterSpecification < Struct.new(
  :name,
  :description,
  :type,
  :range,
  :is_tunable,
  :is_required,
  :default_value)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A brief description of the hyperparameter.

Returns:

  • (String)


21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 21462

class HyperParameterSpecification < Struct.new(
  :name,
  :description,
  :type,
  :range,
  :is_tunable,
  :is_required,
  :default_value)
  SENSITIVE = []
  include Aws::Structure
end

#is_requiredBoolean

Indicates whether this hyperparameter is required.

Returns:

  • (Boolean)


21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 21462

class HyperParameterSpecification < Struct.new(
  :name,
  :description,
  :type,
  :range,
  :is_tunable,
  :is_required,
  :default_value)
  SENSITIVE = []
  include Aws::Structure
end

#is_tunableBoolean

Indicates whether this hyperparameter is tunable in a hyperparameter tuning job.

Returns:

  • (Boolean)


21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 21462

class HyperParameterSpecification < Struct.new(
  :name,
  :description,
  :type,
  :range,
  :is_tunable,
  :is_required,
  :default_value)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of this hyperparameter. The name must be unique.

Returns:

  • (String)


21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 21462

class HyperParameterSpecification < Struct.new(
  :name,
  :description,
  :type,
  :range,
  :is_tunable,
  :is_required,
  :default_value)
  SENSITIVE = []
  include Aws::Structure
end

#rangeTypes::ParameterRange

The allowed range for this hyperparameter.



21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 21462

class HyperParameterSpecification < Struct.new(
  :name,
  :description,
  :type,
  :range,
  :is_tunable,
  :is_required,
  :default_value)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of this hyperparameter. The valid types are Integer, Continuous, Categorical, and FreeText.

Returns:

  • (String)


21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 21462

class HyperParameterSpecification < Struct.new(
  :name,
  :description,
  :type,
  :range,
  :is_tunable,
  :is_required,
  :default_value)
  SENSITIVE = []
  include Aws::Structure
end