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.



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

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



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

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)


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

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)


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

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)


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

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)


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

def mean_tracking_average_precision
  @mean_tracking_average_precision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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