Class StudySpec.DecayCurveAutomatedStoppingSpec (3.36.0)

public static final class StudySpec.DecayCurveAutomatedStoppingSpec extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StudySpec.DecayCurveAutomatedStoppingSpec

Static Fields

USE_ELAPSED_DURATION_FIELD_NUMBER

public static final int USE_ELAPSED_DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StudySpec.DecayCurveAutomatedStoppingSpec getDefaultInstance()
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StudySpec.DecayCurveAutomatedStoppingSpec.Builder newBuilder()
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

newBuilder(StudySpec.DecayCurveAutomatedStoppingSpec prototype)

public static StudySpec.DecayCurveAutomatedStoppingSpec.Builder newBuilder(StudySpec.DecayCurveAutomatedStoppingSpec prototype)
Parameter
NameDescription
prototypeStudySpec.DecayCurveAutomatedStoppingSpec
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

parseDelimitedFrom(InputStream input)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StudySpec.DecayCurveAutomatedStoppingSpec> parser()
Returns
TypeDescription
Parser<DecayCurveAutomatedStoppingSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StudySpec.DecayCurveAutomatedStoppingSpec getDefaultInstanceForType()
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec

getParserForType()

public Parser<StudySpec.DecayCurveAutomatedStoppingSpec> getParserForType()
Returns
TypeDescription
Parser<DecayCurveAutomatedStoppingSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
boolean

The useElapsedDuration.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder newBuilderForType()
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StudySpec.DecayCurveAutomatedStoppingSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder toBuilder()
Returns
TypeDescription
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException