class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry
Attributes
Threshold used for this entry. For classification tasks, this is a classification threshold: a predicted label is categorized as positive or negative (in the context of this point on the PR curve) based on whether the label's score meets this threshold. For image object detection (bounding box) tasks, this is the [intersection-over-union (IOU)](/vision/automl/object- detection/docs/evaluate#intersection-over-union) threshold for the context of this point on the PR curve. Corresponds to the JSON property `confidenceThreshold` @return [Float]
Harmonic mean of recall and precision. Corresponds to the JSON property `f1Score` @return [Float]
The harmonic mean of recall_at1
and precision_at1. Corresponds to the JSON property `f1ScoreAt1` @return [Float]
The harmonic mean of recall_at5
and precision_at5. Corresponds to the JSON property `f1ScoreAt5` @return [Float]
Precision value. Corresponds to the JSON property `precision` @return [Float]
Precision value for entries with label that has highest score. Corresponds to the JSON property `precisionAt1` @return [Float]
Precision value for entries with label that has highest 5 scores. Corresponds to the JSON property `precisionAt5` @return [Float]
Recall value. Corresponds to the JSON property `recall` @return [Float]
Recall value for entries with label that has highest score. Corresponds to the JSON property `recallAt1` @return [Float]
Recall value for entries with label that has highest 5 scores. Corresponds to the JSON property `recallAt5` @return [Float]
Public Class Methods
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 1377 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 1382 def update!(**args) @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold) @f1_score = args[:f1_score] if args.key?(:f1_score) @f1_score_at1 = args[:f1_score_at1] if args.key?(:f1_score_at1) @f1_score_at5 = args[:f1_score_at5] if args.key?(:f1_score_at5) @precision = args[:precision] if args.key?(:precision) @precision_at1 = args[:precision_at1] if args.key?(:precision_at1) @precision_at5 = args[:precision_at5] if args.key?(:precision_at5) @recall = args[:recall] if args.key?(:recall) @recall_at1 = args[:recall_at1] if args.key?(:recall_at1) @recall_at5 = args[:recall_at5] if args.key?(:recall_at5) end