class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PrCurve
Attributes
Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. Corresponds to the JSON property `annotationSpec` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationSpec]
Area under the precision-recall curve. Not to be confused with area under a receiver operating characteristic (ROC) curve. Corresponds to the JSON property `areaUnderCurve` @return [Float]
Entries that make up the precision-recall graph. Each entry is a “point” on the graph drawn for a different `confidence_threshold`. Corresponds to the JSON property `confidenceMetricsEntries` @return [Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry>]
Mean average prcision of this curve. Corresponds to the JSON property `meanAveragePrecision` @return [Float]
Public Class Methods
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4025 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4030 def update!(**args) @annotation_spec = args[:annotation_spec] if args.key?(:annotation_spec) @area_under_curve = args[:area_under_curve] if args.key?(:area_under_curve) @confidence_metrics_entries = args[:confidence_metrics_entries] if args.key?(:confidence_metrics_entries) @mean_average_precision = args[:mean_average_precision] if args.key?(:mean_average_precision) end