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)


44516
44517
44518
44519
44520
44521
# File 'lib/aws-sdk-sagemaker/types.rb', line 44516

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)


44516
44517
44518
44519
44520
44521
# File 'lib/aws-sdk-sagemaker/types.rb', line 44516

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