Package com.google.cloud.automl.v1
Interface TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextExtractionEvaluationMetrics.ConfidenceMetricsEntry
,TextExtractionEvaluationMetrics.ConfidenceMetricsEntry.Builder
- Enclosing class:
- TextExtractionEvaluationMetrics
public static interface TextExtractionEvaluationMetrics.ConfidenceMetricsEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getConfidenceThreshold()
Output only.float
getF1Score()
Output only.float
getPrecision()
Output only.float
getRecall()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getConfidenceThreshold
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:
- The confidenceThreshold.
-
getRecall
float getRecall()
Output only. Recall under the given confidence threshold.
float recall = 3;
- Returns:
- The recall.
-
getPrecision
float getPrecision()
Output only. Precision under the given confidence threshold.
float precision = 4;
- Returns:
- The precision.
-
getF1Score
float getF1Score()
Output only. The harmonic mean of recall and precision.
float f1_score = 5;
- Returns:
- The f1Score.
-
-