public static final class Evaluation.MultiConfidenceMetrics extends GeneratedMessageV3 implements Evaluation.MultiConfidenceMetricsOrBuilder
Metrics across multiple confidence levels.
Protobuf type google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics
Static Fields
AUPRC_EXACT_FIELD_NUMBER
public static final int AUPRC_EXACT_FIELD_NUMBER
Field Value
AUPRC_FIELD_NUMBER
public static final int AUPRC_FIELD_NUMBER
Field Value
CONFIDENCE_LEVEL_METRICS_EXACT_FIELD_NUMBER
public static final int CONFIDENCE_LEVEL_METRICS_EXACT_FIELD_NUMBER
Field Value
CONFIDENCE_LEVEL_METRICS_FIELD_NUMBER
public static final int CONFIDENCE_LEVEL_METRICS_FIELD_NUMBER
Field Value
ESTIMATED_CALIBRATION_ERROR_EXACT_FIELD_NUMBER
public static final int ESTIMATED_CALIBRATION_ERROR_EXACT_FIELD_NUMBER
Field Value
ESTIMATED_CALIBRATION_ERROR_FIELD_NUMBER
public static final int ESTIMATED_CALIBRATION_ERROR_FIELD_NUMBER
Field Value
METRICS_TYPE_FIELD_NUMBER
public static final int METRICS_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Evaluation.MultiConfidenceMetrics getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Evaluation.MultiConfidenceMetrics.Builder newBuilder()
Returns
newBuilder(Evaluation.MultiConfidenceMetrics prototype)
public static Evaluation.MultiConfidenceMetrics.Builder newBuilder(Evaluation.MultiConfidenceMetrics prototype)
Parameter
Returns
public static Evaluation.MultiConfidenceMetrics parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Evaluation.MultiConfidenceMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Evaluation.MultiConfidenceMetrics parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.MultiConfidenceMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Evaluation.MultiConfidenceMetrics parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.MultiConfidenceMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Evaluation.MultiConfidenceMetrics parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Evaluation.MultiConfidenceMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Evaluation.MultiConfidenceMetrics parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Evaluation.MultiConfidenceMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Evaluation.MultiConfidenceMetrics parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.MultiConfidenceMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Evaluation.MultiConfidenceMetrics> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameter
Returns
getConfidenceLevelMetricsCount()
public int getConfidenceLevelMetricsCount()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Returns
getConfidenceLevelMetricsExact(int index)
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;
Parameter
Returns
getConfidenceLevelMetricsExactCount()
public int getConfidenceLevelMetricsExactCount()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Returns
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;
Returns
getConfidenceLevelMetricsExactOrBuilder(int index)
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;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetricsOrBuilder> | |
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;
Returns
getConfidenceLevelMetricsOrBuilder(int index)
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;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetricsOrBuilder> | |
getDefaultInstanceForType()
public Evaluation.MultiConfidenceMetrics getDefaultInstanceForType()
Returns
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.v1beta3.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
Returns
getMetricsTypeValue()
public int getMetricsTypeValue()
The metrics type for the label.
.google.cloud.documentai.v1beta3.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()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Evaluation.MultiConfidenceMetrics.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Evaluation.MultiConfidenceMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Evaluation.MultiConfidenceMetrics.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions