Send feedback
Class TextExtractionEvaluationMetrics.ConfidenceMetricsEntry (2.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.52.0 keyboard_arrow_down
public static final class TextExtractionEvaluationMetrics . ConfidenceMetricsEntry extends GeneratedMessageV3 implements TextExtractionEvaluationMetrics . ConfidenceMetricsEntryOrBuilder
Metrics for a single confidence threshold.
Protobuf type
google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CONFIDENCE_THRESHOLD_FIELD_NUMBER
Field Value
Type
Description
int
public static final int F1_SCORE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PRECISION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RECALL_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry . Builder newBuilder ()
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry . Builder newBuilder ( TextExtractionEvaluationMetrics . ConfidenceMetricsEntry prototype )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseDelimitedFrom ( InputStream input )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseFrom ( ByteString data )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseFrom ( CodedInputStream input )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseFrom ( InputStream input )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseFrom ( ByteBuffer data )
public static TextExtractionEvaluationMetrics . ConfidenceMetricsEntry parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<TextExtractionEvaluationMetrics . ConfidenceMetricsEntry > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public float getConfidenceThreshold ()
Output only. The confidence threshold value used to compute the metrics.
Only annotations with score of at least this threshold are considered to
be ones the model would return.
float confidence_threshold = 1;
Returns
Type
Description
float
The confidenceThreshold.
public TextExtractionEvaluationMetrics . ConfidenceMetricsEntry getDefaultInstanceForType ()
public float getF1Score ()
Output only. The harmonic mean of recall and precision.
float f1_score = 5;
Returns
Type
Description
float
The f1Score.
public Parser<TextExtractionEvaluationMetrics . ConfidenceMetricsEntry > getParserForType ()
Overrides
public float getPrecision ()
Output only. Precision under the given confidence threshold.
float precision = 4;
Returns
Type
Description
float
The precision.
Output only. Recall under the given confidence threshold.
float recall = 3;
Returns
Type
Description
float
The recall.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public TextExtractionEvaluationMetrics . ConfidenceMetricsEntry . Builder newBuilderForType ()
protected TextExtractionEvaluationMetrics . ConfidenceMetricsEntry . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public TextExtractionEvaluationMetrics . ConfidenceMetricsEntry . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]