Class: Google::Cloud::AutoML::V1beta1::BoundingBoxMetricsEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/detection.rb

Overview

Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match confidence thresholds.

Defined Under Namespace

Classes: ConfidenceMetricsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#confidence_metrics_entriesArray<Google::Cloud::AutoML::V1beta1::BoundingBoxMetricsEntry::ConfidenceMetricsEntry>

Returns 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.

Returns:



75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/detection.rb', line 75

class BoundingBoxMetricsEntry
  # Metrics for a single confidence threshold.
  # @!attribute [rw] confidence_threshold
  #   @return [Float]
  #     Output only. The confidence threshold value used to compute the metrics.
  # @!attribute [rw] recall
  #   @return [Float]
  #     Output only. Recall under the given confidence threshold.
  # @!attribute [rw] precision
  #   @return [Float]
  #     Output only. Precision under the given confidence threshold.
  # @!attribute [rw] f1_score
  #   @return [Float]
  #     Output only. The harmonic mean of recall and precision.
  class ConfidenceMetricsEntry; end
end

#iou_thresholdFloat

Returns Output only. The intersection-over-union threshold value used to compute this metrics entry.

Returns:

  • (Float)

    Output only. The intersection-over-union threshold value used to compute this metrics entry.



75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/detection.rb', line 75

class BoundingBoxMetricsEntry
  # Metrics for a single confidence threshold.
  # @!attribute [rw] confidence_threshold
  #   @return [Float]
  #     Output only. The confidence threshold value used to compute the metrics.
  # @!attribute [rw] recall
  #   @return [Float]
  #     Output only. Recall under the given confidence threshold.
  # @!attribute [rw] precision
  #   @return [Float]
  #     Output only. Precision under the given confidence threshold.
  # @!attribute [rw] f1_score
  #   @return [Float]
  #     Output only. The harmonic mean of recall and precision.
  class ConfidenceMetricsEntry; end
end

#mean_average_precisionFloat

Returns Output only. The mean average precision, most often close to au_prc.

Returns:

  • (Float)

    Output only. The mean average precision, most often close to au_prc.



75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/detection.rb', line 75

class BoundingBoxMetricsEntry
  # Metrics for a single confidence threshold.
  # @!attribute [rw] confidence_threshold
  #   @return [Float]
  #     Output only. The confidence threshold value used to compute the metrics.
  # @!attribute [rw] recall
  #   @return [Float]
  #     Output only. Recall under the given confidence threshold.
  # @!attribute [rw] precision
  #   @return [Float]
  #     Output only. Precision under the given confidence threshold.
  # @!attribute [rw] f1_score
  #   @return [Float]
  #     Output only. The harmonic mean of recall and precision.
  class ConfidenceMetricsEntry; end
end