Package com.google.cloud.documentai.v1
Interface Evaluation.MultiConfidenceMetricsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Evaluation.MultiConfidenceMetrics
,Evaluation.MultiConfidenceMetrics.Builder
- Enclosing class:
- Evaluation
public static interface Evaluation.MultiConfidenceMetricsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getConfidenceLevelMetricsList
List<Evaluation.ConfidenceLevelMetrics> getConfidenceLevelMetricsList()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
-
getConfidenceLevelMetrics
Evaluation.ConfidenceLevelMetrics getConfidenceLevelMetrics(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
-
getConfidenceLevelMetricsCount
int getConfidenceLevelMetricsCount()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
-
getConfidenceLevelMetricsOrBuilderList
List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder> getConfidenceLevelMetricsOrBuilderList()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
-
getConfidenceLevelMetricsOrBuilder
Evaluation.ConfidenceLevelMetricsOrBuilder getConfidenceLevelMetricsOrBuilder(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
-
getConfidenceLevelMetricsExactList
List<Evaluation.ConfidenceLevelMetrics> getConfidenceLevelMetricsExactList()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
-
getConfidenceLevelMetricsExact
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;
-
getConfidenceLevelMetricsExactCount
int getConfidenceLevelMetricsExactCount()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
-
getConfidenceLevelMetricsExactOrBuilderList
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;
-
getConfidenceLevelMetricsExactOrBuilder
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;
-
getAuprc
float getAuprc()
The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.
float auprc = 2;
- Returns:
- The auprc.
-
getEstimatedCalibrationError
float getEstimatedCalibrationError()
The Estimated Calibration Error (ECE) of the confidence of the predicted entities.
float estimated_calibration_error = 3;
- Returns:
- The estimatedCalibrationError.
-
getAuprcExact
float getAuprcExact()
The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.
float auprc_exact = 5;
- Returns:
- The auprcExact.
-
getEstimatedCalibrationErrorExact
float getEstimatedCalibrationErrorExact()
The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.
float estimated_calibration_error_exact = 6;
- Returns:
- The estimatedCalibrationErrorExact.
-
getMetricsTypeValue
int getMetricsTypeValue()
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
- Returns:
- The enum numeric value on the wire for metricsType.
-
getMetricsType
Evaluation.MultiConfidenceMetrics.MetricsType getMetricsType()
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
- Returns:
- The metricsType.
-
-