Class ConditionalParameterSpec (0.3.1)

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

Represents a parameter spec with condition from its parent parameter.

Attributes

NameDescription
parent_discrete_values `.study.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueCondition`
The spec for matching values from a parent parameter of ``DISCRETE`` type.
parent_int_values `.study.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueCondition`
The spec for matching values from a parent parameter of ``INTEGER`` type.
parent_categorical_values `.study.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition`
The spec for matching values from a parent parameter of ``CATEGORICAL`` type.
parameter_spec `.study.StudySpec.ParameterSpec`
Required. The spec for a conditional parameter.

Inheritance

builtins.object > proto.message.Message > ConditionalParameterSpec

Classes

CategoricalValueCondition

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

Represents the spec to match categorical values from parent parameter.

DiscreteValueCondition

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

Represents the spec to match discrete values from parent parameter.

IntValueCondition

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

Represents the spec to match integer values from parent parameter.