Package com.google.cloud.automl.v1
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
Modifier and TypeMethodDescriptionfloatOutput only.floatOutput only.floatOutput only.floatOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-