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.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec build()
Returns
public StudySpec.DecayCurveAutomatedStoppingSpec buildPartial()
Returns
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clear()
Returns
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clone()
Returns
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(StudySpec.DecayCurveAutomatedStoppingSpec other)
Parameter
Returns
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final StudySpec.DecayCurveAutomatedStoppingSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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