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

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

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

Overview

Note:

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

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)

    The numeric value of a numeric hyperparameter.

#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)

    The string value of a categorical hyperparameter.