Class: Google::Apis::LanguageV1::XpsTrackMetricsEntryConfidenceMetricsEntry

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

Metrics for a single confidence threshold. Next tag: 6.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTrackMetricsEntryConfidenceMetricsEntry

Returns a new instance of XpsTrackMetricsEntryConfidenceMetricsEntry.



4691
4692
4693
# File 'lib/google/apis/language_v1/classes.rb', line 4691

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

Instance Attribute Details

#bounding_box_iouFloat

Output only. Bounding box intersection-over-union precision. Measures how well the bounding boxes overlap between each other (e.g. complete overlap or just barely above iou_threshold). Corresponds to the JSON property boundingBoxIou

Returns:

  • (Float)


4668
4669
4670
# File 'lib/google/apis/language_v1/classes.rb', line 4668

def bounding_box_iou
  @bounding_box_iou
end

#confidence_thresholdFloat

Output only. The confidence threshold value used to compute the metrics. Corresponds to the JSON property confidenceThreshold

Returns:

  • (Float)


4673
4674
4675
# File 'lib/google/apis/language_v1/classes.rb', line 4673

def confidence_threshold
  @confidence_threshold
end

#mismatch_rateFloat

Output only. Mismatch rate, which measures the tracking consistency, i.e. correctness of instance ID continuity. Corresponds to the JSON property mismatchRate

Returns:

  • (Float)


4679
4680
4681
# File 'lib/google/apis/language_v1/classes.rb', line 4679

def mismatch_rate
  @mismatch_rate
end

#tracking_precisionFloat

Output only. Tracking precision. Corresponds to the JSON property trackingPrecision

Returns:

  • (Float)


4684
4685
4686
# File 'lib/google/apis/language_v1/classes.rb', line 4684

def tracking_precision
  @tracking_precision
end

#tracking_recallFloat

Output only. Tracking recall. Corresponds to the JSON property trackingRecall

Returns:

  • (Float)


4689
4690
4691
# File 'lib/google/apis/language_v1/classes.rb', line 4689

def tracking_recall
  @tracking_recall
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4696
4697
4698
4699
4700
4701
4702
# File 'lib/google/apis/language_v1/classes.rb', line 4696

def update!(**args)
  @bounding_box_iou = args[:bounding_box_iou] if args.key?(:bounding_box_iou)
  @confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
  @mismatch_rate = args[:mismatch_rate] if args.key?(:mismatch_rate)
  @tracking_precision = args[:tracking_precision] if args.key?(:tracking_precision)
  @tracking_recall = args[:tracking_recall] if args.key?(:tracking_recall)
end