Package com.google.cloud.documentai.v1
Class Evaluation.MultiConfidenceMetrics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Evaluation.MultiConfidenceMetrics.Builder>
com.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.Builder
- All Implemented Interfaces:
Evaluation.MultiConfidenceMetricsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Evaluation.MultiConfidenceMetrics
public static final class Evaluation.MultiConfidenceMetrics.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Evaluation.MultiConfidenceMetrics.Builder>
implements Evaluation.MultiConfidenceMetricsOrBuilder
Metrics across multiple confidence levels.Protobuf type
google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics-
Method Summary
Modifier and TypeMethodDescriptionaddAllConfidenceLevelMetrics(Iterable<? extends Evaluation.ConfidenceLevelMetrics> values) Metrics across confidence levels with fuzzy matching enabled.addAllConfidenceLevelMetricsExact(Iterable<? extends Evaluation.ConfidenceLevelMetrics> values) Metrics across confidence levels with only exact matching.addConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics value) Metrics across confidence levels with fuzzy matching enabled.addConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue) Metrics across confidence levels with fuzzy matching enabled.Metrics across confidence levels with fuzzy matching enabled.addConfidenceLevelMetrics(Evaluation.ConfidenceLevelMetrics.Builder builderForValue) Metrics across confidence levels with fuzzy matching enabled.Metrics across confidence levels with fuzzy matching enabled.addConfidenceLevelMetricsBuilder(int index) Metrics across confidence levels with fuzzy matching enabled.addConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics value) Metrics across confidence levels with only exact matching.addConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue) Metrics across confidence levels with only exact matching.Metrics across confidence levels with only exact matching.addConfidenceLevelMetricsExact(Evaluation.ConfidenceLevelMetrics.Builder builderForValue) Metrics across confidence levels with only exact matching.Metrics across confidence levels with only exact matching.addConfidenceLevelMetricsExactBuilder(int index) Metrics across confidence levels with only exact matching.build()clear()The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.Metrics across confidence levels with fuzzy matching enabled.Metrics across confidence levels with only exact matching.The Estimated Calibration Error (ECE) of the confidence of the predicted entities.The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.The metrics type for the label.floatgetAuprc()The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.floatThe AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.getConfidenceLevelMetrics(int index) Metrics across confidence levels with fuzzy matching enabled.getConfidenceLevelMetricsBuilder(int index) Metrics across confidence levels with fuzzy matching enabled.Metrics across confidence levels with fuzzy matching enabled.intMetrics across confidence levels with fuzzy matching enabled.getConfidenceLevelMetricsExact(int index) Metrics across confidence levels with only exact matching.getConfidenceLevelMetricsExactBuilder(int index) Metrics across confidence levels with only exact matching.Metrics across confidence levels with only exact matching.intMetrics across confidence levels with only exact matching.Metrics across confidence levels with only exact matching.getConfidenceLevelMetricsExactOrBuilder(int index) Metrics across confidence levels with only exact matching.List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder>Metrics across confidence levels with only exact matching.Metrics across confidence levels with fuzzy matching enabled.getConfidenceLevelMetricsOrBuilder(int index) Metrics across confidence levels with fuzzy matching enabled.List<? extends Evaluation.ConfidenceLevelMetricsOrBuilder>Metrics across confidence levels with fuzzy matching enabled.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorfloatThe Estimated Calibration Error (ECE) of the confidence of the predicted entities.floatThe ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.The metrics type for the label.intThe metrics type for the label.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeConfidenceLevelMetrics(int index) Metrics across confidence levels with fuzzy matching enabled.removeConfidenceLevelMetricsExact(int index) Metrics across confidence levels with only exact matching.setAuprc(float value) The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.setAuprcExact(float value) The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.setConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics value) Metrics across confidence levels with fuzzy matching enabled.setConfidenceLevelMetrics(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue) Metrics across confidence levels with fuzzy matching enabled.setConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics value) Metrics across confidence levels with only exact matching.setConfidenceLevelMetricsExact(int index, Evaluation.ConfidenceLevelMetrics.Builder builderForValue) Metrics across confidence levels with only exact matching.setEstimatedCalibrationError(float value) The Estimated Calibration Error (ECE) of the confidence of the predicted entities.setEstimatedCalibrationErrorExact(float value) The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.The metrics type for the label.setMetricsTypeValue(int value) The metrics type for the label.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.MultiConfidenceMetrics.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.MultiConfidenceMetrics.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.MultiConfidenceMetrics.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Evaluation.MultiConfidenceMetrics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.MultiConfidenceMetrics.Builder>
-
mergeFrom
public Evaluation.MultiConfidenceMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Evaluation.MultiConfidenceMetrics.Builder>- Throws:
IOException
-
getConfidenceLevelMetricsList
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;- Specified by:
getConfidenceLevelMetricsListin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsCount
public int getConfidenceLevelMetricsCount()Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;- Specified by:
getConfidenceLevelMetricsCountin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetrics
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;- Specified by:
getConfidenceLevelMetricsin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
setConfidenceLevelMetrics
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; -
setConfidenceLevelMetrics
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; -
addConfidenceLevelMetrics
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; -
addConfidenceLevelMetrics
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; -
addConfidenceLevelMetrics
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; -
addConfidenceLevelMetrics
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; -
addAllConfidenceLevelMetrics
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; -
clearConfidenceLevelMetrics
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1; -
removeConfidenceLevelMetrics
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1; -
getConfidenceLevelMetricsBuilder
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1; -
getConfidenceLevelMetricsOrBuilder
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1;- Specified by:
getConfidenceLevelMetricsOrBuilderin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
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;- Specified by:
getConfidenceLevelMetricsOrBuilderListin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
addConfidenceLevelMetricsBuilder
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1; -
addConfidenceLevelMetricsBuilder
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1; -
getConfidenceLevelMetricsBuilderList
Metrics across confidence levels with fuzzy matching enabled.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics = 1; -
getConfidenceLevelMetricsExactList
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;- Specified by:
getConfidenceLevelMetricsExactListin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsExactCount
public int getConfidenceLevelMetricsExactCount()Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;- Specified by:
getConfidenceLevelMetricsExactCountin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
getConfidenceLevelMetricsExact
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4;- Specified by:
getConfidenceLevelMetricsExactin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
setConfidenceLevelMetricsExact
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; -
setConfidenceLevelMetricsExact
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; -
addConfidenceLevelMetricsExact
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; -
addConfidenceLevelMetricsExact
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; -
addConfidenceLevelMetricsExact
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; -
addConfidenceLevelMetricsExact
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; -
addAllConfidenceLevelMetricsExact
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; -
clearConfidenceLevelMetricsExact
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4; -
removeConfidenceLevelMetricsExact
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4; -
getConfidenceLevelMetricsExactBuilder
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4; -
getConfidenceLevelMetricsExactOrBuilder
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;- Specified by:
getConfidenceLevelMetricsExactOrBuilderin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
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;- Specified by:
getConfidenceLevelMetricsExactOrBuilderListin interfaceEvaluation.MultiConfidenceMetricsOrBuilder
-
addConfidenceLevelMetricsExactBuilder
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4; -
addConfidenceLevelMetricsExactBuilder
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4; -
getConfidenceLevelMetricsExactBuilderList
Metrics across confidence levels with only exact matching.
repeated .google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics confidence_level_metrics_exact = 4; -
getAuprc
public float getAuprc()The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.
float auprc = 2;- Specified by:
getAuprcin interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The auprc.
-
setAuprc
The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.
float auprc = 2;- Parameters:
value- The auprc to set.- Returns:
- This builder for chaining.
-
clearAuprc
The calculated area under the precision recall curve (AUPRC), computed by integrating over all confidence thresholds.
float auprc = 2;- Returns:
- This builder for chaining.
-
getEstimatedCalibrationError
public float getEstimatedCalibrationError()The Estimated Calibration Error (ECE) of the confidence of the predicted entities.
float estimated_calibration_error = 3;- Specified by:
getEstimatedCalibrationErrorin interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The estimatedCalibrationError.
-
setEstimatedCalibrationError
The Estimated Calibration Error (ECE) of the confidence of the predicted entities.
float estimated_calibration_error = 3;- Parameters:
value- The estimatedCalibrationError to set.- Returns:
- This builder for chaining.
-
clearEstimatedCalibrationError
The Estimated Calibration Error (ECE) of the confidence of the predicted entities.
float estimated_calibration_error = 3;- Returns:
- This builder for chaining.
-
getAuprcExact
public float getAuprcExact()The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.
float auprc_exact = 5;- Specified by:
getAuprcExactin interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The auprcExact.
-
setAuprcExact
The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.
float auprc_exact = 5;- Parameters:
value- The auprcExact to set.- Returns:
- This builder for chaining.
-
clearAuprcExact
The AUPRC for metrics with fuzzy matching disabled, i.e., exact matching only.
float auprc_exact = 5;- Returns:
- This builder for chaining.
-
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;- Specified by:
getEstimatedCalibrationErrorExactin interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The estimatedCalibrationErrorExact.
-
setEstimatedCalibrationErrorExact
The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.
float estimated_calibration_error_exact = 6;- Parameters:
value- The estimatedCalibrationErrorExact to set.- Returns:
- This builder for chaining.
-
clearEstimatedCalibrationErrorExact
The ECE for the predicted entities with fuzzy matching disabled, i.e., exact matching only.
float estimated_calibration_error_exact = 6;- Returns:
- This builder for chaining.
-
getMetricsTypeValue
public int getMetricsTypeValue()The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;- Specified by:
getMetricsTypeValuein interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The enum numeric value on the wire for metricsType.
-
setMetricsTypeValue
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;- Parameters:
value- The enum numeric value on the wire for metricsType to set.- Returns:
- This builder for chaining.
-
getMetricsType
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;- Specified by:
getMetricsTypein interfaceEvaluation.MultiConfidenceMetricsOrBuilder- Returns:
- The metricsType.
-
setMetricsType
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;- Parameters:
value- The metricsType to set.- Returns:
- This builder for chaining.
-
clearMetricsType
The metrics type for the label.
.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics.MetricsType metrics_type = 7;- Returns:
- This builder for chaining.
-