Class StudySpec.DecayCurveAutomatedStoppingSpec.Builder (3.41.0)

public static final class StudySpec.DecayCurveAutomatedStoppingSpec.Builder extends GeneratedMessageV3.Builder<StudySpec.DecayCurveAutomatedStoppingSpec.Builder> implements StudySpec.DecayCurveAutomatedStoppingSpecOrBuilder

The decay curve automated stopping rule builds a Gaussian Process Regressor to predict the final objective value of a Trial based on the already completed Trials and the intermediate measurements of the current Trial. Early stopping is requested for the current Trial if there is very low probability to exceed the optimal value found so far.

Protobuf type google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

build()

public StudySpec.DecayCurveAutomatedStoppingSpec build()
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec

buildPartial()

public StudySpec.DecayCurveAutomatedStoppingSpec buildPartial()
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec

clear()

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clear()
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

clearUseElapsedDuration()

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clearUseElapsedDuration()

True if Measurement.elapsed_duration is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.step_count will be used as the x-axis.

bool use_elapsed_duration = 1;

Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

This builder for chaining.

clone()

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clone()
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

getDefaultInstanceForType()

public StudySpec.DecayCurveAutomatedStoppingSpec getDefaultInstanceForType()
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUseElapsedDuration()

public boolean getUseElapsedDuration()

True if Measurement.elapsed_duration is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.step_count will be used as the x-axis.

bool use_elapsed_duration = 1;

Returns
TypeDescription
boolean

The useElapsedDuration.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StudySpec.DecayCurveAutomatedStoppingSpec other)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(StudySpec.DecayCurveAutomatedStoppingSpec other)
Parameter
NameDescription
otherStudySpec.DecayCurveAutomatedStoppingSpec
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StudySpec.DecayCurveAutomatedStoppingSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

setUseElapsedDuration(boolean value)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder setUseElapsedDuration(boolean value)

True if Measurement.elapsed_duration is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.step_count will be used as the x-axis.

bool use_elapsed_duration = 1;

Parameter
NameDescription
valueboolean

The useElapsedDuration to set.

Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

This builder for chaining.