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.



54010
54011
54012
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 54010

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)


53995
53996
53997
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53995

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



54002
54003
54004
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 54002

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)


54008
54009
54010
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 54008

def evaluated_bounding_box_count
  @evaluated_bounding_box_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



54015
54016
54017
54018
54019
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 54015

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