Class HyperparameterTuningJob (1.0.0)

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

Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification.

Inheritance

Object > HyperparameterTuningJob

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

HyperparameterTuningJob()

public HyperparameterTuningJob()

HyperparameterTuningJob(HyperparameterTuningJob)

public HyperparameterTuningJob(HyperparameterTuningJob other)
Parameter
NameDescription
otherHyperparameterTuningJob

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time when the HyperparameterTuningJob was created.

Property Value
TypeDescription
Timestamp

DisplayName

public string DisplayName { get; set; }

Required. The display name of the HyperparameterTuningJob. The name can be up to 128 characters long and can be consist of any UTF-8 characters.

Property Value
TypeDescription
String

EncryptionSpec

public EncryptionSpec EncryptionSpec { get; set; }

Customer-managed encryption key options for a HyperparameterTuningJob. If this is set, then all resources created by the HyperparameterTuningJob will be encrypted with the provided encryption key.

Property Value
TypeDescription
EncryptionSpec

EndTime

public Timestamp EndTime { get; set; }

Output only. Time when the HyperparameterTuningJob entered any of the following states: JOB_STATE_SUCCEEDED, JOB_STATE_FAILED, JOB_STATE_CANCELLED.

Property Value
TypeDescription
Timestamp

Error

public Status Error { get; set; }

Output only. Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

Property Value
TypeDescription
Status

HyperparameterTuningJobName

public HyperparameterTuningJobName HyperparameterTuningJobName { get; set; }

HyperparameterTuningJobName-typed view over the Name resource name property.

Property Value
TypeDescription
HyperparameterTuningJobName

Labels

public MapField<string, string> Labels { get; }

The labels with user-defined metadata to organize HyperparameterTuningJobs.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.

See https://goo.gl/xmQnxf for more information and examples of labels.

Property Value
TypeDescription
MapField<String, String>

MaxFailedTrialCount

public int MaxFailedTrialCount { get; set; }

The number of failed Trials that need to be seen before failing the HyperparameterTuningJob.

If set to 0, Vertex AI decides how many Trials must fail before the whole job fails.

Property Value
TypeDescription
Int32

MaxTrialCount

public int MaxTrialCount { get; set; }

Required. The desired total number of Trials.

Property Value
TypeDescription
Int32

Name

public string Name { get; set; }

Output only. Resource name of the HyperparameterTuningJob.

Property Value
TypeDescription
String

ParallelTrialCount

public int ParallelTrialCount { get; set; }

Required. The desired number of Trials to run in parallel.

Property Value
TypeDescription
Int32

StartTime

public Timestamp StartTime { get; set; }

Output only. Time when the HyperparameterTuningJob for the first time entered the JOB_STATE_RUNNING state.

Property Value
TypeDescription
Timestamp

State

public JobState State { get; set; }

Output only. The detailed state of the job.

Property Value
TypeDescription
JobState

StudySpec

public StudySpec StudySpec { get; set; }

Required. Study configuration of the HyperparameterTuningJob.

Property Value
TypeDescription
StudySpec

TrialJobSpec

public CustomJobSpec TrialJobSpec { get; set; }

Required. The spec of a trial job. The same spec applies to the CustomJobs created in all the trials.

Property Value
TypeDescription
CustomJobSpec

Trials

public RepeatedField<Trial> Trials { get; }

Output only. Trials of the HyperparameterTuningJob.

Property Value
TypeDescription
RepeatedField<Trial>

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Time when the HyperparameterTuningJob was most recently updated.

Property Value
TypeDescription
Timestamp