Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics

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

Overview

Metrics for image object detection evaluation results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics

Returns a new instance of GoogleCloudAiplatformV1SchemaModelevaluationMetricsImageObjectDetectionEvaluationMetrics.



23553
23554
23555
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23553

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)


23538
23539
23540
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23538

def bounding_box_mean_average_precision
  @bounding_box_mean_average_precision
end

#bounding_box_metricsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaModelevaluationMetricsBoundingBoxMetrics>

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



23545
23546
23547
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23545

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)


23551
23552
23553
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23551

def evaluated_bounding_box_count
  @evaluated_bounding_box_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23558
23559
23560
23561
23562
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23558

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