Class TrialContext (1.48.0)

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

Next ID: 3

Attributes

NameDescription
description str
A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.
parameters MutableSequence[google.cloud.aiplatform_v1.types.Trial.Parameter]
If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.

Methods

TrialContext

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

Next ID: 3