Class Evaluation.MultiConfidenceMetrics
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics
-
- All Implemented Interfaces:
Evaluation.MultiConfidenceMetricsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Evaluation
public static final class Evaluation.MultiConfidenceMetrics extends com.google.protobuf.GeneratedMessageV3 implements Evaluation.MultiConfidenceMetricsOrBuilder
Metrics across multiple confidence levels.
Protobuf typegoogle.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvaluation.MultiConfidenceMetrics.BuilderMetrics across multiple confidence levels.static classEvaluation.MultiConfidenceMetrics.MetricsTypeA type that determines how metrics should be interpreted.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intAUPRC_EXACT_FIELD_NUMBERstatic intAUPRC_FIELD_NUMBERstatic intCONFIDENCE_LEVEL_METRICS_EXACT_FIELD_NUMBERstatic intCONFIDENCE_LEVEL_METRICS_FIELD_NUMBERstatic intESTIMATED_CALIBRATION_ERROR_EXACT_FIELD_NUMBERstatic intESTIMATED_CALIBRATION_ERROR_FIELD_NUMBERstatic intMETRICS_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)floatgetAuprc()The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.floatgetAuprcExact()The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.Evaluation.ConfidenceLevelMetricsgetConfidenceLevelMetrics(int index)Metrics across confidence levels with fuzzy matching enabled.intgetConfidenceLevelMetricsCount()Metrics across confidence levels with fuzzy matching enabled.Evaluation.ConfidenceLevelMetricsgetConfidenceLevelMetricsExact(int index)Metrics across confidence levels with only exact matching.intgetConfidenceLevelMetricsExactCount()Metrics across confidence levels with only exact matching.List<Evaluation.ConfidenceLevelMetrics>getConfidenceLevelMetricsExactList()Metrics across confidence levels with only exact matching.Evaluation.ConfidenceLevelMetricsOrBuildergetConfidenceLevelMetricsExactOrBuilder(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.ConfidenceLevelMetricsOrBuildergetConfidenceLevelMetricsOrBuilder(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.MultiConfidenceMetricsgetDefaultInstance()Evaluation.MultiConfidenceMetricsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()floatgetEstimatedCalibrationError()The Estimated Calibration Error (ECE) of the confidence of the predicted entities.floatgetEstimatedCalibrationErrorExact()The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.Evaluation.MultiConfidenceMetrics.MetricsTypegetMetricsType()The metrics type for the label.intgetMetricsTypeValue()The metrics type for the label.com.google.protobuf.Parser<Evaluation.MultiConfidenceMetrics>getParserForType()intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Evaluation.MultiConfidenceMetrics.BuildernewBuilder()static Evaluation.MultiConfidenceMetrics.BuildernewBuilder(Evaluation.MultiConfidenceMetrics prototype)Evaluation.MultiConfidenceMetrics.BuildernewBuilderForType()protected Evaluation.MultiConfidenceMetrics.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Evaluation.MultiConfidenceMetricsparseDelimitedFrom(InputStream input)static Evaluation.MultiConfidenceMetricsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Evaluation.MultiConfidenceMetricsparseFrom(byte[] data)static Evaluation.MultiConfidenceMetricsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Evaluation.MultiConfidenceMetricsparseFrom(com.google.protobuf.ByteString data)static Evaluation.MultiConfidenceMetricsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Evaluation.MultiConfidenceMetricsparseFrom(com.google.protobuf.CodedInputStream input)static Evaluation.MultiConfidenceMetricsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Evaluation.MultiConfidenceMetricsparseFrom(InputStream input)static Evaluation.MultiConfidenceMetricsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Evaluation.MultiConfidenceMetricsparseFrom(ByteBuffer data)static Evaluation.MultiConfidenceMetricsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Evaluation.MultiConfidenceMetrics>parser()Evaluation.MultiConfidenceMetrics.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CONFIDENCE_LEVEL_METRICS_FIELD_NUMBER
public static final int CONFIDENCE_LEVEL_METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIDENCE_LEVEL_METRICS_EXACT_FIELD_NUMBER
public static final int CONFIDENCE_LEVEL_METRICS_EXACT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUPRC_FIELD_NUMBER
public static final int AUPRC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ESTIMATED_CALIBRATION_ERROR_FIELD_NUMBER
public static final int ESTIMATED_CALIBRATION_ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUPRC_EXACT_FIELD_NUMBER
public static final int AUPRC_EXACT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ESTIMATED_CALIBRATION_ERROR_EXACT_FIELD_NUMBER
public static final int ESTIMATED_CALIBRATION_ERROR_EXACT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METRICS_TYPE_FIELD_NUMBER
public static final int METRICS_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getConfidenceLevelMetricsList
public List<Evaluation.ConfidenceLevelMetrics> getConfidenceLevelMetricsList()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;- Specified by:
getConfidenceLevelMetricsListin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsOrBuilderList
public List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder> getConfidenceLevelMetricsOrBuilderList()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;- Specified by:
getConfidenceLevelMetricsOrBuilderListin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsCount
public int getConfidenceLevelMetricsCount()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;- Specified by:
getConfidenceLevelMetricsCountin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetrics
public Evaluation.ConfidenceLevelMetrics getConfidenceLevelMetrics(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;- Specified by:
getConfidenceLevelMetricsin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsOrBuilder
public Evaluation.ConfidenceLevelMetricsOrBuilder getConfidenceLevelMetricsOrBuilder(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;- Specified by:
getConfidenceLevelMetricsOrBuilderin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsExactList
public List<Evaluation.ConfidenceLevelMetrics> getConfidenceLevelMetricsExactList()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;- Specified by:
getConfidenceLevelMetricsExactListin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsExactOrBuilderList
public 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;- Specified by:
getConfidenceLevelMetricsExactOrBuilderListin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsExactCount
public int getConfidenceLevelMetricsExactCount()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;- Specified by:
getConfidenceLevelMetricsExactCountin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsExact
public 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;- Specified by:
getConfidenceLevelMetricsExactin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsExactOrBuilder
public 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;- Specified by:
getConfidenceLevelMetricsExactOrBuilderin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getAuprc
public float getAuprc()
The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.
float auprc = 2;- Specified by:
getAuprcin interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The auprc.
-
getEstimatedCalibrationError
public float getEstimatedCalibrationError()
The Estimated Calibration Error (ECE) of the confidence of the predicted entities.
float estimated_calibration_error = 3;- Specified by:
getEstimatedCalibrationErrorin interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The estimatedCalibrationError.
-
getAuprcExact
public float getAuprcExact()
The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.
float auprc_exact = 5;- Specified by:
getAuprcExactin interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The auprcExact.
-
getEstimatedCalibrationErrorExact
public float getEstimatedCalibrationErrorExact()
The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.
float estimated_calibration_error_exact = 6;- Specified by:
getEstimatedCalibrationErrorExactin interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The estimatedCalibrationErrorExact.
-
getMetricsTypeValue
public int getMetricsTypeValue()
The metrics type for the label.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;- Specified by:
getMetricsTypeValuein interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The enum numeric value on the wire for metricsType.
-
getMetricsType
public Evaluation.MultiConfidenceMetrics.MetricsType getMetricsType()
The metrics type for the label.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;- Specified by:
getMetricsTypein interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The metricsType.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Evaluation.MultiConfidenceMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation.MultiConfidenceMetrics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation.MultiConfidenceMetrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation.MultiConfidenceMetrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation.MultiConfidenceMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation.MultiConfidenceMetrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Evaluation.MultiConfidenceMetrics parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Evaluation.MultiConfidenceMetrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Evaluation.MultiConfidenceMetrics parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Evaluation.MultiConfidenceMetrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Evaluation.MultiConfidenceMetrics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Evaluation.MultiConfidenceMetrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Evaluation.MultiConfidenceMetrics.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Evaluation.MultiConfidenceMetrics.Builder newBuilder()
-
newBuilder
public static Evaluation.MultiConfidenceMetrics.Builder newBuilder(Evaluation.MultiConfidenceMetrics prototype)
-
toBuilder
public Evaluation.MultiConfidenceMetrics.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Evaluation.MultiConfidenceMetrics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Evaluation.MultiConfidenceMetrics getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Evaluation.MultiConfidenceMetrics> parser()
-
getParserForType
public com.google.protobuf.Parser<Evaluation.MultiConfidenceMetrics> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Evaluation.MultiConfidenceMetrics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-