public static final class Evaluation.MultiConfidenceMetrics extends GeneratedMessageV3 implements Evaluation.MultiConfidenceMetricsOrBuilder
Metrics across multiple confidence levels.
Protobuf type google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
AUPRC_EXACT_FIELD_NUMBER
public static final int AUPRC_EXACT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
AUPRC_FIELD_NUMBER
public static final int AUPRC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CONFIDENCE_LEVEL_METRICS_EXACT_FIELD_NUMBER
public static final int CONFIDENCE_LEVEL_METRICS_EXACT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CONFIDENCE_LEVEL_METRICS_FIELD_NUMBER
public static final int CONFIDENCE_LEVEL_METRICS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ESTIMATED_CALIBRATION_ERROR_EXACT_FIELD_NUMBER
public static final int ESTIMATED_CALIBRATION_ERROR_EXACT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ESTIMATED_CALIBRATION_ERROR_FIELD_NUMBER
public static final int ESTIMATED_CALIBRATION_ERROR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
METRICS_TYPE_FIELD_NUMBER
public static final int METRICS_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Evaluation.MultiConfidenceMetrics getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Evaluation.MultiConfidenceMetrics.Builder newBuilder()
newBuilder(Evaluation.MultiConfidenceMetrics prototype)
public static Evaluation.MultiConfidenceMetrics.Builder newBuilder(Evaluation.MultiConfidenceMetrics prototype)
public static Evaluation.MultiConfidenceMetrics parseDelimitedFrom(InputStream input)
public static Evaluation.MultiConfidenceMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Evaluation.MultiConfidenceMetrics parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.MultiConfidenceMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Evaluation.MultiConfidenceMetrics parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.MultiConfidenceMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.MultiConfidenceMetrics parseFrom(CodedInputStream input)
public static Evaluation.MultiConfidenceMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Evaluation.MultiConfidenceMetrics parseFrom(InputStream input)
public static Evaluation.MultiConfidenceMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Evaluation.MultiConfidenceMetrics parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.MultiConfidenceMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Evaluation.MultiConfidenceMetrics> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAuprc()
The calculated area under the precision recall curve (AUPRC), computed by
integrating over all confidence thresholds.
float auprc = 2;
Returns |
---|
Type | Description |
float | The auprc.
|
getAuprcExact()
public float getAuprcExact()
The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching
only.
float auprc_exact = 5;
Returns |
---|
Type | Description |
float | The auprcExact.
|
getConfidenceLevelMetrics(int index)
public Evaluation.ConfidenceLevelMetrics getConfidenceLevelMetrics(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameter |
---|
Name | Description |
index | int
|
getConfidenceLevelMetricsCount()
public int getConfidenceLevelMetricsCount()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Returns |
---|
Type | Description |
int | |
getConfidenceLevelMetricsExact(int index)
public Evaluation.ConfidenceLevelMetrics getConfidenceLevelMetricsExact(int index)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameter |
---|
Name | Description |
index | int
|
getConfidenceLevelMetricsExactCount()
public int getConfidenceLevelMetricsExactCount()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Returns |
---|
Type | Description |
int | |
getConfidenceLevelMetricsExactList()
public List<Evaluation.ConfidenceLevelMetrics> getConfidenceLevelMetricsExactList()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
getConfidenceLevelMetricsExactOrBuilder(int index)
public Evaluation.ConfidenceLevelMetricsOrBuilder getConfidenceLevelMetricsExactOrBuilder(int index)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameter |
---|
Name | Description |
index | int
|
getConfidenceLevelMetricsExactOrBuilderList()
public List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder> getConfidenceLevelMetricsExactOrBuilderList()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetricsOrBuilder> | |
getConfidenceLevelMetricsList()
public List<Evaluation.ConfidenceLevelMetrics> getConfidenceLevelMetricsList()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
getConfidenceLevelMetricsOrBuilder(int index)
public Evaluation.ConfidenceLevelMetricsOrBuilder getConfidenceLevelMetricsOrBuilder(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameter |
---|
Name | Description |
index | int
|
getConfidenceLevelMetricsOrBuilderList()
public List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder> getConfidenceLevelMetricsOrBuilderList()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetricsOrBuilder> | |
getDefaultInstanceForType()
public Evaluation.MultiConfidenceMetrics getDefaultInstanceForType()
getEstimatedCalibrationError()
public float getEstimatedCalibrationError()
The Estimated Calibration Error (ECE) of the confidence of the predicted
entities.
float estimated_calibration_error = 3;
Returns |
---|
Type | Description |
float | The estimatedCalibrationError.
|
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;
Returns |
---|
Type | Description |
float | The estimatedCalibrationErrorExact.
|
getMetricsType()
public Evaluation.MultiConfidenceMetrics.MetricsType getMetricsType()
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
getMetricsTypeValue()
public int getMetricsTypeValue()
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for metricsType.
|
getParserForType()
public Parser<Evaluation.MultiConfidenceMetrics> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Evaluation.MultiConfidenceMetrics.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Evaluation.MultiConfidenceMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Evaluation.MultiConfidenceMetrics.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides