- 2.59.0 (latest)
- 2.58.0
- 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.v1beta3.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()
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics> |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics> |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameter | |
---|---|
Name | Description |
value | Evaluation.ConfidenceLevelMetrics |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameters | |
---|---|
Name | Description |
index | int |
value | Evaluation.ConfidenceLevelMetrics |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetricsBuilder()
public Evaluation.ConfidenceLevelMetrics.Builder addConfidenceLevelMetricsBuilder()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameter | |
---|---|
Name | Description |
value | Evaluation.ConfidenceLevelMetrics |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | Evaluation.ConfidenceLevelMetrics |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
addConfidenceLevelMetricsExactBuilder()
public Evaluation.ConfidenceLevelMetrics.Builder addConfidenceLevelMetricsExactBuilder()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Evaluation.ConfidenceLevelMetrics.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.MultiConfidenceMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
build()
public Evaluation.MultiConfidenceMetrics build()
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics |
buildPartial()
public Evaluation.MultiConfidenceMetrics buildPartial()
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics |
clear()
public Evaluation.MultiConfidenceMetrics.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
clearConfidenceLevelMetricsExact()
public Evaluation.MultiConfidenceMetrics.Builder clearConfidenceLevelMetricsExact()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Evaluation.MultiConfidenceMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
clearMetricsType()
public Evaluation.MultiConfidenceMetrics.Builder clearMetricsType()
The metrics type for the label.
.google.cloud.documentai.v1beta3.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Evaluation.MultiConfidenceMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
clone()
public Evaluation.MultiConfidenceMetrics.Builder clone()
Returns | |
---|---|
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;
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Evaluation.ConfidenceLevelMetrics.Builder |
getConfidenceLevelMetricsBuilderList()
public List<Evaluation.ConfidenceLevelMetrics.Builder> getConfidenceLevelMetricsBuilderList()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getConfidenceLevelMetricsCount()
public int getConfidenceLevelMetricsCount()
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1beta3.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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Evaluation.ConfidenceLevelMetrics.Builder |
getConfidenceLevelMetricsExactBuilderList()
public List<Evaluation.ConfidenceLevelMetrics.Builder> getConfidenceLevelMetricsExactBuilderList()
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
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 | |
---|---|
Type | Description |
int |
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 | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Evaluation.ConfidenceLevelMetricsOrBuilder |
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 | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Evaluation.ConfidenceLevelMetricsOrBuilder |
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 | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.MetricsType | The metricsType. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Evaluation.MultiConfidenceMetrics other)
public Evaluation.MultiConfidenceMetrics.Builder mergeFrom(Evaluation.MultiConfidenceMetrics other)
Parameter | |
---|---|
Name | Description |
other | Evaluation.MultiConfidenceMetrics |
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Evaluation.MultiConfidenceMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Evaluation.MultiConfidenceMetrics.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.MultiConfidenceMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | float The auprc to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | float The auprcExact to set. |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameters | |
---|---|
Name | Description |
index | int |
value | Evaluation.ConfidenceLevelMetrics |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | Evaluation.ConfidenceLevelMetrics |
Returns | |
---|---|
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.v1beta3.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Evaluation.ConfidenceLevelMetrics.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | float The estimatedCalibrationError to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | float The estimatedCalibrationErrorExact to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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.v1beta3.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
Parameter | |
---|---|
Name | Description |
value | Evaluation.MultiConfidenceMetrics.MetricsType The metricsType to set. |
Returns | |
---|---|
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.v1beta3.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for metricsType to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.MultiConfidenceMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Evaluation.MultiConfidenceMetrics.Builder |