Class StudySpec.DecayCurveAutomatedStoppingSpec.Builder (3.84.0)

public static final class StudySpec.DecayCurveAutomatedStoppingSpec.Builder extends GeneratedMessage.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
Type Description
Descriptor

Methods

build()

public StudySpec.DecayCurveAutomatedStoppingSpec build()
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec

buildPartial()

public StudySpec.DecayCurveAutomatedStoppingSpec buildPartial()
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec

clear()

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clear()
Returns
Type Description
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
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

This builder for chaining.

getDefaultInstanceForType()

public StudySpec.DecayCurveAutomatedStoppingSpec getDefaultInstanceForType()
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
boolean

The useElapsedDuration.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StudySpec.DecayCurveAutomatedStoppingSpec other)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(StudySpec.DecayCurveAutomatedStoppingSpec other)
Parameter
Name Description
other StudySpec.DecayCurveAutomatedStoppingSpec
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value boolean

The useElapsedDuration to set.

Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

This builder for chaining.