Cloud AI Platform v1 API - Class TrialContext (3.4.0)

public sealed class TrialContext : IMessage<TrialContext>, IEquatable<TrialContext>, IDeepCloneable<TrialContext>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class TrialContext.

Next ID: 3

Inheritance

object > TrialContext

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

TrialContext()

public TrialContext()

TrialContext(TrialContext)

public TrialContext(TrialContext other)
Parameter
Name Description
other TrialContext

Properties

Description

public string Description { get; set; }

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

Property Value
Type Description
string

Parameters

public RepeatedField<Trial.Types.Parameter> Parameters { get; }

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.

Property Value
Type Description
RepeatedFieldTrialTypesParameter