Google Cloud Ai Platform V1 Client - Class TrialContext (0.30.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class TrialContext.

Next ID: 3

Generated from protobuf message google.cloud.aiplatform.v1.TrialContext

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ description string

A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.

↳ parameters array<Google\Cloud\AIPlatform\V1\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.

getDescription

A human-readable field which can store a description of this context.

This will become part of the resulting Trial's description field.

Returns
TypeDescription
string

setDescription

A human-readable field which can store a description of this context.

This will become part of the resulting Trial's description field.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getParameters

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setParameters

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.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\Trial\Parameter>
Returns
TypeDescription
$this