Class ParameterSpec (1.18.0)

ParameterSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single parameter to optimize.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
double_value_spec google.cloud.aiplatform_v1.types.StudySpec.ParameterSpec.DoubleValueSpec
The value spec for a 'DOUBLE' parameter. This field is a member of `oneof`_ ``parameter_value_spec``.
integer_value_spec google.cloud.aiplatform_v1.types.StudySpec.ParameterSpec.IntegerValueSpec
The value spec for an 'INTEGER' parameter. This field is a member of `oneof`_ ``parameter_value_spec``.
categorical_value_spec google.cloud.aiplatform_v1.types.StudySpec.ParameterSpec.CategoricalValueSpec
The value spec for a 'CATEGORICAL' parameter. This field is a member of `oneof`_ ``parameter_value_spec``.
discrete_value_spec google.cloud.aiplatform_v1.types.StudySpec.ParameterSpec.DiscreteValueSpec
The value spec for a 'DISCRETE' parameter. This field is a member of `oneof`_ ``parameter_value_spec``.
parameter_id str
Required. The ID of the parameter. Must not contain whitespaces and must be unique amongst all ParameterSpecs.
scale_type google.cloud.aiplatform_v1.types.StudySpec.ParameterSpec.ScaleType
How the parameter should be scaled. Leave unset for ``CATEGORICAL`` parameters.
conditional_parameter_specs Sequence[google.cloud.aiplatform_v1.types.StudySpec.ParameterSpec.ConditionalParameterSpec]
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.

Inheritance

builtins.object > proto.message.Message > ParameterSpec

Classes

CategoricalValueSpec

CategoricalValueSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Value specification for a parameter in CATEGORICAL type.

ConditionalParameterSpec

ConditionalParameterSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a parameter spec with condition from its parent parameter.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

DiscreteValueSpec

DiscreteValueSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Value specification for a parameter in DISCRETE type.

DoubleValueSpec

DoubleValueSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Value specification for a parameter in DOUBLE type.

IntegerValueSpec

IntegerValueSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Value specification for a parameter in INTEGER type.

ScaleType

ScaleType(value)

The type of scaling that should be applied to this parameter.