Class: Aws::SageMaker::Types::TrialComponentParameterValue

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

Overview

The value of a hyperparameter. Only one of ‘NumberValue` or `StringValue` can be specified.

This object is specified in the [CreateTrialComponent] request.

[1]: docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrialComponent.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#number_valueFloat

The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can’t specify the ‘StringValue` parameter.

Returns:

  • (Float)


42359
42360
42361
42362
42363
42364
# File 'lib/aws-sdk-sagemaker/types.rb', line 42359

class TrialComponentParameterValue < Struct.new(
  :string_value,
  :number_value)
  SENSITIVE = []
  include Aws::Structure
end

#string_valueString

The string value of a categorical hyperparameter. If you specify a value for this parameter, you can’t specify the ‘NumberValue` parameter.

Returns:

  • (String)


42359
42360
42361
42362
42363
42364
# File 'lib/aws-sdk-sagemaker/types.rb', line 42359

class TrialComponentParameterValue < Struct.new(
  :string_value,
  :number_value)
  SENSITIVE = []
  include Aws::Structure
end