Class: Google::Apis::LanguageV1beta2::XpsTrackMetricsEntry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/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.



4665
4666
4667
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4665

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

Instance Attribute Details

#confidence_metrics_entriesArray<Google::Apis::LanguageV1beta2::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



4642
4643
4644
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4642

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)


4648
4649
4650
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4648

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)


4653
4654
4655
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4653

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)


4658
4659
4660
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4658

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)


4663
4664
4665
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4663

def mean_tracking_average_precision
  @mean_tracking_average_precision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4670
4671
4672
4673
4674
4675
4676
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4670

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