Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::TrialContext (v0.54.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::TrialContext.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
Returns
  • (::String) — A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.
Returns
  • (::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

def parameters() -> ::Array<::Google::Cloud::AIPlatform::V1::Trial::Parameter>
Returns
  • (::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.

#parameters=

def parameters=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Trial::Parameter>
Parameter
  • value (::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.
Returns
  • (::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.