Class: Google::Apis::LanguageV1::XpsTrackMetricsEntry

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



4645
4646
4647
# File 'lib/google/apis/language_v1/classes.rb', line 4645

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

Instance Attribute Details

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



4622
4623
4624
# File 'lib/google/apis/language_v1/classes.rb', line 4622

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)


4628
4629
4630
# File 'lib/google/apis/language_v1/classes.rb', line 4628

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)


4633
4634
4635
# File 'lib/google/apis/language_v1/classes.rb', line 4633

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)


4638
4639
4640
# File 'lib/google/apis/language_v1/classes.rb', line 4638

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)


4643
4644
4645
# File 'lib/google/apis/language_v1/classes.rb', line 4643

def mean_tracking_average_precision
  @mean_tracking_average_precision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4650
4651
4652
4653
4654
4655
4656
# File 'lib/google/apis/language_v1/classes.rb', line 4650

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