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
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 static final Descriptors.Descriptor getDescriptor()
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