public static final class StudySpec.MedianAutomatedStoppingSpec extends GeneratedMessageV3 implements StudySpec.MedianAutomatedStoppingSpecOrBuilder
The median automated stopping rule stops a pending Trial if the Trial's
best objective_value is strictly below the median 'performance' of all
completed Trials reported up to the Trial's last measurement.
Currently, 'performance' refers to the running average of the objective
values reported by the Trial in each measurement.
Protobuf type google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpec
Static Fields
public static final int USE_ELAPSED_DURATION_FIELD_NUMBER
Field Value
Static Methods
public static StudySpec.MedianAutomatedStoppingSpec getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static StudySpec.MedianAutomatedStoppingSpec.Builder newBuilder()
Returns
public static StudySpec.MedianAutomatedStoppingSpec.Builder newBuilder(StudySpec.MedianAutomatedStoppingSpec prototype)
Parameter
Returns
public static StudySpec.MedianAutomatedStoppingSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static StudySpec.MedianAutomatedStoppingSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<StudySpec.MedianAutomatedStoppingSpec> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public StudySpec.MedianAutomatedStoppingSpec getDefaultInstanceForType()
Returns
public Parser<StudySpec.MedianAutomatedStoppingSpec> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean getUseElapsedDuration()
True if median automated stopping rule applies on
Measurement.elapsed_duration.
It means that elapsed_duration field of latest measurement of current
Trial is used to compute median objective value for each completed
Trials.
bool use_elapsed_duration = 1;
Returns
Type | Description |
boolean | The useElapsedDuration.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder newBuilderForType()
Returns
protected StudySpec.MedianAutomatedStoppingSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public StudySpec.MedianAutomatedStoppingSpec.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions