public static enum StudySpec.MeasurementSelectionType extends Enum<StudySpec.MeasurementSelectionType> implements com.google.protobuf.ProtocolMessageEnum
This indicates which measurement to use if/when the service automatically
selects the final measurement from previously reported intermediate
measurements. Choose this based on two considerations:
A) Do you expect your measurements to monotonically improve?
If so, choose LAST_MEASUREMENT. On the other hand, if you're in a
situation where your system can "over-train" and you expect the
performance to get better for a while but then start declining,
choose BEST_MEASUREMENT.
B) Are your measurements significantly noisy and/or irreproducible?
If so, BEST_MEASUREMENT will tend to be over-optimistic, and it
may be better to choose LAST_MEASUREMENT.
If both or neither of (A) and (B) apply, it doesn't matter which
selection type is chosen.
Protobuf enum google.cloud.aiplatform.v1beta1.StudySpec.MeasurementSelectionType| Enum Constant and Description |
|---|
BEST_MEASUREMENT
Use the best measurement reported.
|
LAST_MEASUREMENT
Use the last measurement reported.
|
MEASUREMENT_SELECTION_TYPE_UNSPECIFIED
Will be treated as LAST_MEASUREMENT.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BEST_MEASUREMENT_VALUE
Use the best measurement reported.
|
static int |
LAST_MEASUREMENT_VALUE
Use the last measurement reported.
|
static int |
MEASUREMENT_SELECTION_TYPE_UNSPECIFIED_VALUE
Will be treated as LAST_MEASUREMENT.
|
| Modifier and Type | Method and Description |
|---|---|
static StudySpec.MeasurementSelectionType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<StudySpec.MeasurementSelectionType> |
internalGetValueMap() |
static StudySpec.MeasurementSelectionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StudySpec.MeasurementSelectionType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StudySpec.MeasurementSelectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StudySpec.MeasurementSelectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StudySpec.MeasurementSelectionType MEASUREMENT_SELECTION_TYPE_UNSPECIFIED
Will be treated as LAST_MEASUREMENT.
MEASUREMENT_SELECTION_TYPE_UNSPECIFIED = 0;public static final StudySpec.MeasurementSelectionType LAST_MEASUREMENT
Use the last measurement reported.
LAST_MEASUREMENT = 1;public static final StudySpec.MeasurementSelectionType BEST_MEASUREMENT
Use the best measurement reported.
BEST_MEASUREMENT = 2;public static final StudySpec.MeasurementSelectionType UNRECOGNIZED
public static final int MEASUREMENT_SELECTION_TYPE_UNSPECIFIED_VALUE
Will be treated as LAST_MEASUREMENT.
MEASUREMENT_SELECTION_TYPE_UNSPECIFIED = 0;public static final int LAST_MEASUREMENT_VALUE
Use the last measurement reported.
LAST_MEASUREMENT = 1;public static final int BEST_MEASUREMENT_VALUE
Use the best measurement reported.
BEST_MEASUREMENT = 2;public static StudySpec.MeasurementSelectionType[] values()
for (StudySpec.MeasurementSelectionType c : StudySpec.MeasurementSelectionType.values()) System.out.println(c);
public static StudySpec.MeasurementSelectionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static StudySpec.MeasurementSelectionType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static StudySpec.MeasurementSelectionType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<StudySpec.MeasurementSelectionType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StudySpec.MeasurementSelectionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.