Class: Google::Apis::LanguageV2::XpsTrackMetricsEntry

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

Overview

Track matching model metrics for a single track match threshold and multiple label match confidence thresholds. Next tag: 6.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTrackMetricsEntry

Returns a new instance of XpsTrackMetricsEntry.



4359
4360
4361
# File 'lib/google/apis/language_v2/classes.rb', line 4359

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

Instance Attribute Details

#confidence_metrics_entriesArray<Google::Apis::LanguageV2::XpsTrackMetricsEntryConfidenceMetricsEntry>

Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,. ..,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them. Corresponds to the JSON property confidenceMetricsEntries



4336
4337
4338
# File 'lib/google/apis/language_v2/classes.rb', line 4336

def confidence_metrics_entries
  @confidence_metrics_entries
end

#iou_thresholdFloat

Output only. The intersection-over-union threshold value between bounding boxes across frames used to compute this metric entry. Corresponds to the JSON property iouThreshold

Returns:

  • (Float)


4342
4343
4344
# File 'lib/google/apis/language_v2/classes.rb', line 4342

def iou_threshold
  @iou_threshold
end

#mean_bounding_box_iouFloat

Output only. The mean bounding box iou over all confidence thresholds. Corresponds to the JSON property meanBoundingBoxIou

Returns:

  • (Float)


4347
4348
4349
# File 'lib/google/apis/language_v2/classes.rb', line 4347

def mean_bounding_box_iou
  @mean_bounding_box_iou
end

#mean_mismatch_rateFloat

Output only. The mean mismatch rate over all confidence thresholds. Corresponds to the JSON property meanMismatchRate

Returns:

  • (Float)


4352
4353
4354
# File 'lib/google/apis/language_v2/classes.rb', line 4352

def mean_mismatch_rate
  @mean_mismatch_rate
end

#mean_tracking_average_precisionFloat

Output only. The mean average precision over all confidence thresholds. Corresponds to the JSON property meanTrackingAveragePrecision

Returns:

  • (Float)


4357
4358
4359
# File 'lib/google/apis/language_v2/classes.rb', line 4357

def mean_tracking_average_precision
  @mean_tracking_average_precision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4364
4365
4366
4367
4368
4369
4370
# File 'lib/google/apis/language_v2/classes.rb', line 4364

def update!(**args)
  @confidence_metrics_entries = args[:confidence_metrics_entries] if args.key?(:confidence_metrics_entries)
  @iou_threshold = args[:iou_threshold] if args.key?(:iou_threshold)
  @mean_bounding_box_iou = args[:mean_bounding_box_iou] if args.key?(:mean_bounding_box_iou)
  @mean_mismatch_rate = args[:mean_mismatch_rate] if args.key?(:mean_mismatch_rate)
  @mean_tracking_average_precision = args[:mean_tracking_average_precision] if args.key?(:mean_tracking_average_precision)
end