Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Represents a single parameter to optimize.
Instance Attribute Summary collapse
-
#categorical_value_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpecCategoricalValueSpec
Value specification for a parameter in
CATEGORICALtype. -
#conditional_parameter_specs ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpecConditionalParameterSpec>
A conditional parameter node is active if the parameter's value matches the conditional node's parent_value_condition.
-
#discrete_value_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpecDiscreteValueSpec
Value specification for a parameter in
DISCRETEtype. -
#double_value_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpecDoubleValueSpec
Value specification for a parameter in
DOUBLEtype. -
#integer_value_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpecIntegerValueSpec
Value specification for a parameter in
INTEGERtype. -
#parameter_id ⇒ String
Required.
-
#scale_type ⇒ String
How the parameter should be scaled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1StudySpecParameterSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1StudySpecParameterSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1StudySpecParameterSpec
Returns a new instance of GoogleCloudAiplatformV1beta1StudySpecParameterSpec.
26724 26725 26726 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26724 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categorical_value_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpecCategoricalValueSpec
Value specification for a parameter in CATEGORICAL type.
Corresponds to the JSON property categoricalValueSpec
26688 26689 26690 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26688 def categorical_value_spec @categorical_value_spec end |
#conditional_parameter_specs ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpecConditionalParameterSpec>
A conditional parameter node is active if the parameter's value matches the
conditional node's parent_value_condition. If two items in
conditional_parameter_specs have the same name, they must have disjoint
parent_value_condition.
Corresponds to the JSON property conditionalParameterSpecs
26696 26697 26698 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26696 def conditional_parameter_specs @conditional_parameter_specs end |
#discrete_value_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpecDiscreteValueSpec
Value specification for a parameter in DISCRETE type.
Corresponds to the JSON property discreteValueSpec
26701 26702 26703 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26701 def discrete_value_spec @discrete_value_spec end |
#double_value_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpecDoubleValueSpec
Value specification for a parameter in DOUBLE type.
Corresponds to the JSON property doubleValueSpec
26706 26707 26708 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26706 def double_value_spec @double_value_spec end |
#integer_value_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StudySpecParameterSpecIntegerValueSpec
Value specification for a parameter in INTEGER type.
Corresponds to the JSON property integerValueSpec
26711 26712 26713 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26711 def integer_value_spec @integer_value_spec end |
#parameter_id ⇒ String
Required. The ID of the parameter. Must not contain whitespaces and must be
unique amongst all ParameterSpecs.
Corresponds to the JSON property parameterId
26717 26718 26719 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26717 def parameter_id @parameter_id end |
#scale_type ⇒ String
How the parameter should be scaled. Leave unset for CATEGORICAL parameters.
Corresponds to the JSON property scaleType
26722 26723 26724 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26722 def scale_type @scale_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26729 26730 26731 26732 26733 26734 26735 26736 26737 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26729 def update!(**args) @categorical_value_spec = args[:categorical_value_spec] if args.key?(:categorical_value_spec) @conditional_parameter_specs = args[:conditional_parameter_specs] if args.key?(:conditional_parameter_specs) @discrete_value_spec = args[:discrete_value_spec] if args.key?(:discrete_value_spec) @double_value_spec = args[:double_value_spec] if args.key?(:double_value_spec) @integer_value_spec = args[:integer_value_spec] if args.key?(:integer_value_spec) @parameter_id = args[:parameter_id] if args.key?(:parameter_id) @scale_type = args[:scale_type] if args.key?(:scale_type) end |