public static final class Evaluation.MultiConfidenceMetrics extends com.google.protobuf.GeneratedMessageV3 implements Evaluation.MultiConfidenceMetricsOrBuilder
Metrics across multiple confidence levels.Protobuf type
google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics| Modifier and Type | Class and Description |
|---|---|
static class |
Evaluation.MultiConfidenceMetrics.Builder
Metrics across multiple confidence levels.
|
static class |
Evaluation.MultiConfidenceMetrics.MetricsType
A type that determines how metrics should be interpreted.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUPRC_EXACT_FIELD_NUMBER |
static int |
AUPRC_FIELD_NUMBER |
static int |
CONFIDENCE_LEVEL_METRICS_EXACT_FIELD_NUMBER |
static int |
CONFIDENCE_LEVEL_METRICS_FIELD_NUMBER |
static int |
ESTIMATED_CALIBRATION_ERROR_EXACT_FIELD_NUMBER |
static int |
ESTIMATED_CALIBRATION_ERROR_FIELD_NUMBER |
static int |
METRICS_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
float |
getAuprc()
The calculated area under the precision recall curve (AUPRC), computed by
integrating over all confidence thresholds.
|
float |
getAuprcExact()
The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching
only.
|
Evaluation.ConfidenceLevelMetrics |
getConfidenceLevelMetrics(int index)
Metrics across confidence levels with fuzzy matching enabled.
|
int |
getConfidenceLevelMetricsCount()
Metrics across confidence levels with fuzzy matching enabled.
|
Evaluation.ConfidenceLevelMetrics |
getConfidenceLevelMetricsExact(int index)
Metrics across confidence levels with only exact matching.
|
int |
getConfidenceLevelMetricsExactCount()
Metrics across confidence levels with only exact matching.
|
List<Evaluation.ConfidenceLevelMetrics> |
getConfidenceLevelMetricsExactList()
Metrics across confidence levels with only exact matching.
|
Evaluation.ConfidenceLevelMetricsOrBuilder |
getConfidenceLevelMetricsExactOrBuilder(int index)
Metrics across confidence levels with only exact matching.
|
List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder> |
getConfidenceLevelMetricsExactOrBuilderList()
Metrics across confidence levels with only exact matching.
|
List<Evaluation.ConfidenceLevelMetrics> |
getConfidenceLevelMetricsList()
Metrics across confidence levels with fuzzy matching enabled.
|
Evaluation.ConfidenceLevelMetricsOrBuilder |
getConfidenceLevelMetricsOrBuilder(int index)
Metrics across confidence levels with fuzzy matching enabled.
|
List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder> |
getConfidenceLevelMetricsOrBuilderList()
Metrics across confidence levels with fuzzy matching enabled.
|
static Evaluation.MultiConfidenceMetrics |
getDefaultInstance() |
Evaluation.MultiConfidenceMetrics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
float |
getEstimatedCalibrationError()
The Estimated Calibration Error (ECE) of the confidence of the predicted
entities.
|
float |
getEstimatedCalibrationErrorExact()
The ECE for the predicted entities with fuzzy matching disabled, i.e.,
exact matching only.
|
Evaluation.MultiConfidenceMetrics.MetricsType |
getMetricsType()
The metrics type for the label.
|
int |
getMetricsTypeValue()
The metrics type for the label.
|
com.google.protobuf.Parser<Evaluation.MultiConfidenceMetrics> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Evaluation.MultiConfidenceMetrics.Builder |
newBuilder() |
static Evaluation.MultiConfidenceMetrics.Builder |
newBuilder(Evaluation.MultiConfidenceMetrics prototype) |
Evaluation.MultiConfidenceMetrics.Builder |
newBuilderForType() |
protected Evaluation.MultiConfidenceMetrics.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Evaluation.MultiConfidenceMetrics |
parseDelimitedFrom(InputStream input) |
static Evaluation.MultiConfidenceMetrics |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Evaluation.MultiConfidenceMetrics |
parseFrom(byte[] data) |
static Evaluation.MultiConfidenceMetrics |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Evaluation.MultiConfidenceMetrics |
parseFrom(ByteBuffer data) |
static Evaluation.MultiConfidenceMetrics |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Evaluation.MultiConfidenceMetrics |
parseFrom(com.google.protobuf.ByteString data) |
static Evaluation.MultiConfidenceMetrics |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Evaluation.MultiConfidenceMetrics |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Evaluation.MultiConfidenceMetrics |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Evaluation.MultiConfidenceMetrics |
parseFrom(InputStream input) |
static Evaluation.MultiConfidenceMetrics |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Evaluation.MultiConfidenceMetrics> |
parser() |
Evaluation.MultiConfidenceMetrics.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, 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_LEVEL_METRICS_FIELD_NUMBER
public static final int CONFIDENCE_LEVEL_METRICS_EXACT_FIELD_NUMBER
public static final int AUPRC_FIELD_NUMBER
public static final int ESTIMATED_CALIBRATION_ERROR_FIELD_NUMBER
public static final int AUPRC_EXACT_FIELD_NUMBER
public static final int ESTIMATED_CALIBRATION_ERROR_EXACT_FIELD_NUMBER
public static final int METRICS_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 List<Evaluation.ConfidenceLevelMetrics> getConfidenceLevelMetricsList()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
getConfidenceLevelMetricsList in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder> getConfidenceLevelMetricsOrBuilderList()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
getConfidenceLevelMetricsOrBuilderList in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic int getConfidenceLevelMetricsCount()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
getConfidenceLevelMetricsCount in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic Evaluation.ConfidenceLevelMetrics getConfidenceLevelMetrics(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
getConfidenceLevelMetrics in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic Evaluation.ConfidenceLevelMetricsOrBuilder getConfidenceLevelMetricsOrBuilder(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
getConfidenceLevelMetricsOrBuilder in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic List<Evaluation.ConfidenceLevelMetrics> getConfidenceLevelMetricsExactList()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
getConfidenceLevelMetricsExactList in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder> getConfidenceLevelMetricsExactOrBuilderList()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
getConfidenceLevelMetricsExactOrBuilderList in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic int getConfidenceLevelMetricsExactCount()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
getConfidenceLevelMetricsExactCount in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic Evaluation.ConfidenceLevelMetrics getConfidenceLevelMetricsExact(int index)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
getConfidenceLevelMetricsExact in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic Evaluation.ConfidenceLevelMetricsOrBuilder getConfidenceLevelMetricsExactOrBuilder(int index)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
getConfidenceLevelMetricsExactOrBuilder in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic float getAuprc()
The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.
float auprc = 2;getAuprc in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic float getEstimatedCalibrationError()
The Estimated Calibration Error (ECE) of the confidence of the predicted entities.
float estimated_calibration_error = 3;getEstimatedCalibrationError in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic float getAuprcExact()
The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.
float auprc_exact = 5;getAuprcExact in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic float getEstimatedCalibrationErrorExact()
The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.
float estimated_calibration_error_exact = 6;getEstimatedCalibrationErrorExact in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic int getMetricsTypeValue()
The metrics type for the label.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
getMetricsTypeValue in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic Evaluation.MultiConfidenceMetrics.MetricsType getMetricsType()
The metrics type for the label.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
getMetricsType in interface Evaluation.MultiConfidenceMetricsOrBuilderpublic 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 Evaluation.MultiConfidenceMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation.MultiConfidenceMetrics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation.MultiConfidenceMetrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation.MultiConfidenceMetrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation.MultiConfidenceMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation.MultiConfidenceMetrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Evaluation.MultiConfidenceMetrics parseFrom(InputStream input) throws IOException
IOExceptionpublic static Evaluation.MultiConfidenceMetrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Evaluation.MultiConfidenceMetrics parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Evaluation.MultiConfidenceMetrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Evaluation.MultiConfidenceMetrics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Evaluation.MultiConfidenceMetrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Evaluation.MultiConfidenceMetrics.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Evaluation.MultiConfidenceMetrics.Builder newBuilder()
public static Evaluation.MultiConfidenceMetrics.Builder newBuilder(Evaluation.MultiConfidenceMetrics prototype)
public Evaluation.MultiConfidenceMetrics.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Evaluation.MultiConfidenceMetrics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Evaluation.MultiConfidenceMetrics getDefaultInstance()
public static com.google.protobuf.Parser<Evaluation.MultiConfidenceMetrics> parser()
public com.google.protobuf.Parser<Evaluation.MultiConfidenceMetrics> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Evaluation.MultiConfidenceMetrics getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.