Class StudySpec.DecayCurveAutomatedStoppingSpec (3.52.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
Type Description
int

Static Methods

getDefaultInstance()

public static StudySpec.DecayCurveAutomatedStoppingSpec getDefaultInstance()
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StudySpec.DecayCurveAutomatedStoppingSpec.Builder newBuilder()
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

newBuilder(StudySpec.DecayCurveAutomatedStoppingSpec prototype)

public static StudySpec.DecayCurveAutomatedStoppingSpec.Builder newBuilder(StudySpec.DecayCurveAutomatedStoppingSpec prototype)
Parameter
Name Description
prototype StudySpec.DecayCurveAutomatedStoppingSpec
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

parseDelimitedFrom(InputStream input)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StudySpec.DecayCurveAutomatedStoppingSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StudySpec.DecayCurveAutomatedStoppingSpec getDefaultInstanceForType()
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec

getParserForType()

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

getSerializedSize()

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

The useElapsedDuration.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder newBuilderForType()
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StudySpec.DecayCurveAutomatedStoppingSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StudySpec.DecayCurveAutomatedStoppingSpec.Builder toBuilder()
Returns
Type Description
StudySpec.DecayCurveAutomatedStoppingSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException