Class: Google::Cloud::AutoML::V1::TextExtractionEvaluationMetrics

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1/text_extraction.rb

Overview

Model evaluation metrics for text extraction problems.

Defined Under Namespace

Classes: ConfidenceMetricsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#au_prc::Float

Returns Output only. The Area under precision recall curve metric.

Returns:

  • (::Float)

    Output only. The Area under precision recall curve metric.



46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'proto_docs/google/cloud/automl/v1/text_extraction.rb', line 46

class TextExtractionEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Metrics for a single confidence threshold.
  # @!attribute [rw] confidence_threshold
  #   @return [::Float]
  #     Output only. The confidence threshold value used to compute the metrics.
  #     Only annotations with score of at least this threshold are considered to
  #     be ones the model would return.
  # @!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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#confidence_metrics_entries::Array<::Google::Cloud::AutoML::V1::TextExtractionEvaluationMetrics::ConfidenceMetricsEntry>

Returns Output only. Metrics that have confidence thresholds. Precision-recall curve can be derived from it.

Returns:



46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'proto_docs/google/cloud/automl/v1/text_extraction.rb', line 46

class TextExtractionEvaluationMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Metrics for a single confidence threshold.
  # @!attribute [rw] confidence_threshold
  #   @return [::Float]
  #     Output only. The confidence threshold value used to compute the metrics.
  #     Only annotations with score of at least this threshold are considered to
  #     be ones the model would return.
  # @!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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end