Package com.google.cloud.automl.v1beta1
Interface BoundingBoxMetricsEntry.ConfidenceMetricsEntryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BoundingBoxMetricsEntry.ConfidenceMetricsEntry
,BoundingBoxMetricsEntry.ConfidenceMetricsEntry.Builder
- Enclosing class:
- BoundingBoxMetricsEntry
public static interface BoundingBoxMetricsEntry.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.
float confidence_threshold = 1;
- Returns:
- The confidenceThreshold.
-
getRecall
float getRecall()
Output only. Recall under the given confidence threshold.
float recall = 2;
- Returns:
- The recall.
-
getPrecision
float getPrecision()
Output only. Precision under the given confidence threshold.
float precision = 3;
- Returns:
- The precision.
-
getF1Score
float getF1Score()
Output only. The harmonic mean of recall and precision.
float f1_score = 4;
- Returns:
- The f1Score.
-
-