Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics

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

Overview

Metrics for image object detection evaluation results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics.



25789
25790
25791
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25789

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

Instance Attribute Details

#bounding_box_mean_average_precisionFloat

The single metric for bounding boxes evaluation: the meanAveragePrecision averaged over all boundingBoxMetricsEntries. Corresponds to the JSON property boundingBoxMeanAveragePrecision

Returns:

  • (Float)


25774
25775
25776
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25774

def bounding_box_mean_average_precision
  @bounding_box_mean_average_precision
end

#bounding_box_metricsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsBoundingBoxMetrics>

The bounding boxes match metrics for each intersection-over-union threshold 0. 05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05, 0.10,...,0.95,0.96,0.97,0.98,0.99 pair. Corresponds to the JSON property boundingBoxMetrics



25781
25782
25783
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25781

def bounding_box_metrics
  @bounding_box_metrics
end

#evaluated_bounding_box_countFixnum

The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had. Corresponds to the JSON property evaluatedBoundingBoxCount

Returns:

  • (Fixnum)


25787
25788
25789
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25787

def evaluated_bounding_box_count
  @evaluated_bounding_box_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25794
25795
25796
25797
25798
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25794

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