- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.55.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.5
- 2.6.2
- 2.5.1
- 2.4.3
- 2.3.1
- 2.2.1
- 2.1.9
public static final class Evaluation.MultiConfidenceMetrics.Builder extends GeneratedMessageV3.Builder<Evaluation.MultiConfidenceMetrics.Builder> implements Evaluation.MultiConfidenceMetricsOrBuilder
Metrics across multiple confidence levels.
Protobuf type google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Evaluation.MultiConfidenceMetrics.BuilderImplements
Evaluation.MultiConfidenceMetricsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllConfidenceLevelMetrics(Iterable<? extends Evaluation.ConfidenceLevelMetrics> values)
public Evaluation.MultiConfidenceMetrics.Builder addAllConfidenceLevelMetrics(Iterable<? extends Evaluation.ConfidenceLevelMetrics> values)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics> |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addAllConfidenceLevelMetricsExact(Iterable<? extends Evaluation.ConfidenceLevelMetrics> values)
public Evaluation.MultiConfidenceMetrics.Builder addAllConfidenceLevelMetricsExact(Iterable<? extends Evaluation.ConfidenceLevelMetrics> values)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics> |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetrics(Evaluation.ConfidenceLevelMetrics value)
public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetrics(Evaluation.ConfidenceLevelMetrics value)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Name | Description |
value | Evaluation.ConfidenceLevelMetrics |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetrics(Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetrics(Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Name | Description |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics value)
public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics value)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Name | Description |
index | int |
value | Evaluation.ConfidenceLevelMetrics |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Name | Description |
index | int |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetricsBuilder()
public Evaluation.ConfidenceLevelMetrics.Builder addConfidenceLevelMetricsBuilder()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Type | Description |
Evaluation.ConfidenceLevelMetrics.Builder |
addConfidenceLevelMetricsBuilder(int index)
public Evaluation.ConfidenceLevelMetrics.Builder addConfidenceLevelMetricsBuilder(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Name | Description |
index | int |
Type | Description |
Evaluation.ConfidenceLevelMetrics.Builder |
addConfidenceLevelMetricsExact(Evaluation.ConfidenceLevelMetrics value)
public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetricsExact(Evaluation.ConfidenceLevelMetrics value)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Name | Description |
value | Evaluation.ConfidenceLevelMetrics |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetricsExact(Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetricsExact(Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Name | Description |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics value)
public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics value)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Name | Description |
index | int |
value | Evaluation.ConfidenceLevelMetrics |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
public Evaluation.MultiConfidenceMetrics.Builder addConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Name | Description |
index | int |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetricsExactBuilder()
public Evaluation.ConfidenceLevelMetrics.Builder addConfidenceLevelMetricsExactBuilder()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Type | Description |
Evaluation.ConfidenceLevelMetrics.Builder |
addConfidenceLevelMetricsExactBuilder(int index)
public Evaluation.ConfidenceLevelMetrics.Builder addConfidenceLevelMetricsExactBuilder(int index)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Name | Description |
index | int |
Type | Description |
Evaluation.ConfidenceLevelMetrics.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.MultiConfidenceMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
build()
public Evaluation.MultiConfidenceMetrics build()
Type | Description |
Evaluation.MultiConfidenceMetrics |
buildPartial()
public Evaluation.MultiConfidenceMetrics buildPartial()
Type | Description |
Evaluation.MultiConfidenceMetrics |
clear()
public Evaluation.MultiConfidenceMetrics.Builder clear()
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
clearAuprc()
public Evaluation.MultiConfidenceMetrics.Builder clearAuprc()
The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.
float auprc = 2;
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
clearAuprcExact()
public Evaluation.MultiConfidenceMetrics.Builder clearAuprcExact()
The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.
float auprc_exact = 5;
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
clearConfidenceLevelMetrics()
public Evaluation.MultiConfidenceMetrics.Builder clearConfidenceLevelMetrics()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
clearConfidenceLevelMetricsExact()
public Evaluation.MultiConfidenceMetrics.Builder clearConfidenceLevelMetricsExact()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
clearEstimatedCalibrationError()
public Evaluation.MultiConfidenceMetrics.Builder clearEstimatedCalibrationError()
The Estimated Calibration Error (ECE) of the confidence of the predicted entities.
float estimated_calibration_error = 3;
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
clearEstimatedCalibrationErrorExact()
public Evaluation.MultiConfidenceMetrics.Builder clearEstimatedCalibrationErrorExact()
The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.
float estimated_calibration_error_exact = 6;
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Evaluation.MultiConfidenceMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
clearMetricsType()
public Evaluation.MultiConfidenceMetrics.Builder clearMetricsType()
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Evaluation.MultiConfidenceMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
clone()
public Evaluation.MultiConfidenceMetrics.Builder clone()
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
getAuprc()
public float getAuprc()
The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.
float auprc = 2;
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;
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;
Name | Description |
index | int |
Type | Description |
Evaluation.ConfidenceLevelMetrics |
getConfidenceLevelMetricsBuilder(int index)
public Evaluation.ConfidenceLevelMetrics.Builder getConfidenceLevelMetricsBuilder(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Name | Description |
index | int |
Type | Description |
Evaluation.ConfidenceLevelMetrics.Builder |
getConfidenceLevelMetricsBuilderList()
public List<Evaluation.ConfidenceLevelMetrics.Builder> getConfidenceLevelMetricsBuilderList()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Type | Description |
List<Builder> |
getConfidenceLevelMetricsCount()
public int getConfidenceLevelMetricsCount()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
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;
Name | Description |
index | int |
Type | Description |
Evaluation.ConfidenceLevelMetrics |
getConfidenceLevelMetricsExactBuilder(int index)
public Evaluation.ConfidenceLevelMetrics.Builder getConfidenceLevelMetricsExactBuilder(int index)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Name | Description |
index | int |
Type | Description |
Evaluation.ConfidenceLevelMetrics.Builder |
getConfidenceLevelMetricsExactBuilderList()
public List<Evaluation.ConfidenceLevelMetrics.Builder> getConfidenceLevelMetricsExactBuilderList()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Type | Description |
List<Builder> |
getConfidenceLevelMetricsExactCount()
public int getConfidenceLevelMetricsExactCount()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
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;
Type | Description |
List<ConfidenceLevelMetrics> |
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;
Name | Description |
index | int |
Type | Description |
Evaluation.ConfidenceLevelMetricsOrBuilder |
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;
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;
Type | Description |
List<ConfidenceLevelMetrics> |
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;
Name | Description |
index | int |
Type | Description |
Evaluation.ConfidenceLevelMetricsOrBuilder |
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;
Type | Description |
List<? extends com.google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetricsOrBuilder> |
getDefaultInstanceForType()
public Evaluation.MultiConfidenceMetrics getDefaultInstanceForType()
Type | Description |
Evaluation.MultiConfidenceMetrics |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEstimatedCalibrationError()
public float getEstimatedCalibrationError()
The Estimated Calibration Error (ECE) of the confidence of the predicted entities.
float estimated_calibration_error = 3;
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;
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;
Type | Description |
Evaluation.MultiConfidenceMetrics.MetricsType | The metricsType. |
getMetricsTypeValue()
public int getMetricsTypeValue()
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
Type | Description |
int | The enum numeric value on the wire for metricsType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Evaluation.MultiConfidenceMetrics other)
public Evaluation.MultiConfidenceMetrics.Builder mergeFrom(Evaluation.MultiConfidenceMetrics other)
Name | Description |
other | Evaluation.MultiConfidenceMetrics |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Evaluation.MultiConfidenceMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Evaluation.MultiConfidenceMetrics.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.MultiConfidenceMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
removeConfidenceLevelMetrics(int index)
public Evaluation.MultiConfidenceMetrics.Builder removeConfidenceLevelMetrics(int index)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Name | Description |
index | int |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
removeConfidenceLevelMetricsExact(int index)
public Evaluation.MultiConfidenceMetrics.Builder removeConfidenceLevelMetricsExact(int index)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Name | Description |
index | int |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
setAuprc(float value)
public Evaluation.MultiConfidenceMetrics.Builder setAuprc(float value)
The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.
float auprc = 2;
Name | Description |
value | float The auprc to set. |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
setAuprcExact(float value)
public Evaluation.MultiConfidenceMetrics.Builder setAuprcExact(float value)
The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.
float auprc_exact = 5;
Name | Description |
value | float The auprcExact to set. |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
setConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics value)
public Evaluation.MultiConfidenceMetrics.Builder setConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics value)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Name | Description |
index | int |
value | Evaluation.ConfidenceLevelMetrics |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
setConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
public Evaluation.MultiConfidenceMetrics.Builder setConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Name | Description |
index | int |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
setConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics value)
public Evaluation.MultiConfidenceMetrics.Builder setConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics value)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Name | Description |
index | int |
value | Evaluation.ConfidenceLevelMetrics |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
setConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
public Evaluation.MultiConfidenceMetrics.Builder setConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue)
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Name | Description |
index | int |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
setEstimatedCalibrationError(float value)
public Evaluation.MultiConfidenceMetrics.Builder setEstimatedCalibrationError(float value)
The Estimated Calibration Error (ECE) of the confidence of the predicted entities.
float estimated_calibration_error = 3;
Name | Description |
value | float The estimatedCalibrationError to set. |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
setEstimatedCalibrationErrorExact(float value)
public Evaluation.MultiConfidenceMetrics.Builder setEstimatedCalibrationErrorExact(float value)
The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.
float estimated_calibration_error_exact = 6;
Name | Description |
value | float The estimatedCalibrationErrorExact to set. |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.MultiConfidenceMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
setMetricsType(Evaluation.MultiConfidenceMetrics.MetricsType value)
public Evaluation.MultiConfidenceMetrics.Builder setMetricsType(Evaluation.MultiConfidenceMetrics.MetricsType value)
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
Name | Description |
value | Evaluation.MultiConfidenceMetrics.MetricsType The metricsType to set. |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
setMetricsTypeValue(int value)
public Evaluation.MultiConfidenceMetrics.Builder setMetricsTypeValue(int value)
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
Name | Description |
value | int The enum numeric value on the wire for metricsType to set. |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Evaluation.MultiConfidenceMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.MultiConfidenceMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |