public static final class PrCurve.ConfidenceMetricsEntry extends com.google.protobuf.GeneratedMessageV3 implements PrCurve.ConfidenceMetricsEntryOrBuilder
google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry| Modifier and Type | Class and Description |
|---|---|
static class |
PrCurve.ConfidenceMetricsEntry.Builder
Protobuf type
google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIDENCE_THRESHOLD_FIELD_NUMBER |
static int |
F1_SCORE_AT1_FIELD_NUMBER |
static int |
F1_SCORE_AT5_FIELD_NUMBER |
static int |
F1_SCORE_FIELD_NUMBER |
static int |
PRECISION_AT1_FIELD_NUMBER |
static int |
PRECISION_AT5_FIELD_NUMBER |
static int |
PRECISION_FIELD_NUMBER |
static int |
RECALL_AT1_FIELD_NUMBER |
static int |
RECALL_AT5_FIELD_NUMBER |
static int |
RECALL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
float |
getConfidenceThreshold()
Threshold used for this entry, for example, IoU threshold for bounding
box problem, or detection threshold for classification.
|
static PrCurve.ConfidenceMetricsEntry |
getDefaultInstance() |
PrCurve.ConfidenceMetricsEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
float |
getF1Score()
Harmonic mean of recall and precision.
|
float |
getF1ScoreAt1()
The harmonic mean of
[recall_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at1]
and
[precision_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at1].
|
float |
getF1ScoreAt5()
The harmonic mean of
[recall_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at5]
and
[precision_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at5].
|
com.google.protobuf.Parser<PrCurve.ConfidenceMetricsEntry> |
getParserForType() |
float |
getPrecision()
Precision value.
|
float |
getPrecisionAt1()
Precision value for entries with label that has highest score.
|
float |
getPrecisionAt5()
Precision value for entries with label that has highest 5 scores.
|
float |
getRecall()
Recall value.
|
float |
getRecallAt1()
Recall value for entries with label that has highest score.
|
float |
getRecallAt5()
Recall value for entries with label that has highest 5 scores.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PrCurve.ConfidenceMetricsEntry.Builder |
newBuilder() |
static PrCurve.ConfidenceMetricsEntry.Builder |
newBuilder(PrCurve.ConfidenceMetricsEntry prototype) |
PrCurve.ConfidenceMetricsEntry.Builder |
newBuilderForType() |
protected PrCurve.ConfidenceMetricsEntry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static PrCurve.ConfidenceMetricsEntry |
parseDelimitedFrom(InputStream input) |
static PrCurve.ConfidenceMetricsEntry |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PrCurve.ConfidenceMetricsEntry |
parseFrom(byte[] data) |
static PrCurve.ConfidenceMetricsEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PrCurve.ConfidenceMetricsEntry |
parseFrom(ByteBuffer data) |
static PrCurve.ConfidenceMetricsEntry |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PrCurve.ConfidenceMetricsEntry |
parseFrom(com.google.protobuf.ByteString data) |
static PrCurve.ConfidenceMetricsEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PrCurve.ConfidenceMetricsEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PrCurve.ConfidenceMetricsEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PrCurve.ConfidenceMetricsEntry |
parseFrom(InputStream input) |
static PrCurve.ConfidenceMetricsEntry |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PrCurve.ConfidenceMetricsEntry> |
parser() |
PrCurve.ConfidenceMetricsEntry.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONFIDENCE_THRESHOLD_FIELD_NUMBER
public static final int RECALL_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER
public static final int F1_SCORE_FIELD_NUMBER
public static final int RECALL_AT1_FIELD_NUMBER
public static final int PRECISION_AT1_FIELD_NUMBER
public static final int F1_SCORE_AT1_FIELD_NUMBER
public static final int RECALL_AT5_FIELD_NUMBER
public static final int PRECISION_AT5_FIELD_NUMBER
public static final int F1_SCORE_AT5_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public float getConfidenceThreshold()
Threshold used for this entry, for example, IoU threshold for bounding box problem, or detection threshold for classification.
float confidence_threshold = 1;getConfidenceThreshold in interface PrCurve.ConfidenceMetricsEntryOrBuilderpublic float getRecall()
Recall value.
float recall = 2;getRecall in interface PrCurve.ConfidenceMetricsEntryOrBuilderpublic float getPrecision()
Precision value.
float precision = 3;getPrecision in interface PrCurve.ConfidenceMetricsEntryOrBuilderpublic float getF1Score()
Harmonic mean of recall and precision.
float f1_score = 4;getF1Score in interface PrCurve.ConfidenceMetricsEntryOrBuilderpublic float getRecallAt1()
Recall value for entries with label that has highest score.
float recall_at1 = 5;getRecallAt1 in interface PrCurve.ConfidenceMetricsEntryOrBuilderpublic float getPrecisionAt1()
Precision value for entries with label that has highest score.
float precision_at1 = 6;getPrecisionAt1 in interface PrCurve.ConfidenceMetricsEntryOrBuilderpublic float getF1ScoreAt1()
The harmonic mean of [recall_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at1].
float f1_score_at1 = 7;getF1ScoreAt1 in interface PrCurve.ConfidenceMetricsEntryOrBuilderpublic float getRecallAt5()
Recall value for entries with label that has highest 5 scores.
float recall_at5 = 8;getRecallAt5 in interface PrCurve.ConfidenceMetricsEntryOrBuilderpublic float getPrecisionAt5()
Precision value for entries with label that has highest 5 scores.
float precision_at5 = 9;getPrecisionAt5 in interface PrCurve.ConfidenceMetricsEntryOrBuilderpublic float getF1ScoreAt5()
The harmonic mean of [recall_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at5] and [precision_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at5].
float f1_score_at5 = 10;getF1ScoreAt5 in interface PrCurve.ConfidenceMetricsEntryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PrCurve.ConfidenceMetricsEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrCurve.ConfidenceMetricsEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrCurve.ConfidenceMetricsEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrCurve.ConfidenceMetricsEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrCurve.ConfidenceMetricsEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrCurve.ConfidenceMetricsEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PrCurve.ConfidenceMetricsEntry parseFrom(InputStream input) throws IOException
IOExceptionpublic static PrCurve.ConfidenceMetricsEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PrCurve.ConfidenceMetricsEntry parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PrCurve.ConfidenceMetricsEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PrCurve.ConfidenceMetricsEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PrCurve.ConfidenceMetricsEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PrCurve.ConfidenceMetricsEntry.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PrCurve.ConfidenceMetricsEntry.Builder newBuilder()
public static PrCurve.ConfidenceMetricsEntry.Builder newBuilder(PrCurve.ConfidenceMetricsEntry prototype)
public PrCurve.ConfidenceMetricsEntry.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PrCurve.ConfidenceMetricsEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PrCurve.ConfidenceMetricsEntry getDefaultInstance()
public static com.google.protobuf.Parser<PrCurve.ConfidenceMetricsEntry> parser()
public com.google.protobuf.Parser<PrCurve.ConfidenceMetricsEntry> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PrCurve.ConfidenceMetricsEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.