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()
Methods
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec build()
public StudySpec.DecayCurveAutomatedStoppingSpec buildPartial()
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clear()
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder clone()
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
public final boolean isInitialized()
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(StudySpec.DecayCurveAutomatedStoppingSpec other)
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final StudySpec.DecayCurveAutomatedStoppingSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StudySpec.DecayCurveAutomatedStoppingSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final StudySpec.DecayCurveAutomatedStoppingSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|