Class: Google::Apis::LanguageV2::XpsTrackMetricsEntryConfidenceMetricsEntry
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsTrackMetricsEntryConfidenceMetricsEntry
- 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
Metrics for a single confidence threshold. Next tag: 6.
Instance Attribute Summary collapse
-
#bounding_box_iou ⇒ Float
Output only.
-
#confidence_threshold ⇒ Float
Output only.
-
#mismatch_rate ⇒ Float
Output only.
-
#tracking_precision ⇒ Float
Output only.
-
#tracking_recall ⇒ Float
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTrackMetricsEntryConfidenceMetricsEntry
constructor
A new instance of XpsTrackMetricsEntryConfidenceMetricsEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTrackMetricsEntryConfidenceMetricsEntry
Returns a new instance of XpsTrackMetricsEntryConfidenceMetricsEntry.
4405 4406 4407 |
# File 'lib/google/apis/language_v2/classes.rb', line 4405 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bounding_box_iou ⇒ Float
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
4382 4383 4384 |
# File 'lib/google/apis/language_v2/classes.rb', line 4382 def bounding_box_iou @bounding_box_iou end |
#confidence_threshold ⇒ Float
Output only. The confidence threshold value used to compute the metrics.
Corresponds to the JSON property confidenceThreshold
4387 4388 4389 |
# File 'lib/google/apis/language_v2/classes.rb', line 4387 def confidence_threshold @confidence_threshold end |
#mismatch_rate ⇒ Float
Output only. Mismatch rate, which measures the tracking consistency, i.e.
correctness of instance ID continuity.
Corresponds to the JSON property mismatchRate
4393 4394 4395 |
# File 'lib/google/apis/language_v2/classes.rb', line 4393 def mismatch_rate @mismatch_rate end |
#tracking_precision ⇒ Float
Output only. Tracking precision.
Corresponds to the JSON property trackingPrecision
4398 4399 4400 |
# File 'lib/google/apis/language_v2/classes.rb', line 4398 def tracking_precision @tracking_precision end |
#tracking_recall ⇒ Float
Output only. Tracking recall.
Corresponds to the JSON property trackingRecall
4403 4404 4405 |
# File 'lib/google/apis/language_v2/classes.rb', line 4403 def tracking_recall @tracking_recall end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4410 4411 4412 4413 4414 4415 4416 |
# File 'lib/google/apis/language_v2/classes.rb', line 4410 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 |