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

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

{
  string_value: "StringParameterValue",
  number_value: 1.0,
}

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

This object is specified in the CreateTrialComponent request.

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)


23204
23205
23206
23207
23208
23209
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 23204

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)


23204
23205
23206
23207
23208
23209
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 23204

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