Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb

Overview

Metrics calculated for an image object detection (bounding box) model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics

Returns a new instance of GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics.



3769
3770
3771
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3769

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#pr_curveGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PrCurve

Precision-recall curve. Corresponds to the JSON property prCurve



3767
3768
3769
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3767

def pr_curve
  @pr_curve
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3774
3775
3776
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3774

def update!(**args)
  @pr_curve = args[:pr_curve] if args.key?(:pr_curve)
end