Class: Google::Cloud::AutoML::V1beta1::ClassificationEvaluationMetrics::ConfidenceMetricsEntry

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

Overview

Metrics for a single confidence threshold.

Instance Attribute Summary collapse

Instance Attribute Details

#confidence_threshold::Float

Returns Output only. Metrics are computed with an assumption that the model never returns predictions with score lower than this value.

Returns:

  • (::Float)

    Output only. Metrics are computed with an assumption that the model never returns predictions with score lower than this value.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#f1_score::Float

Returns Output only. The harmonic mean of recall and precision.

Returns:

  • (::Float)

    Output only. The harmonic mean of recall and precision.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#f1_score_at1::Float

Returns Output only. The harmonic mean of recall_at1 and precision_at1.

Returns:



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#false_negative_count::Integer

Returns Output only. The number of ground truth labels that are not matched by a model created label.

Returns:

  • (::Integer)

    Output only. The number of ground truth labels that are not matched by a model created label.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#false_positive_count::Integer

Returns Output only. The number of model created labels that do not match a ground truth label.

Returns:

  • (::Integer)

    Output only. The number of model created labels that do not match a ground truth label.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#false_positive_rate::Float

Returns Output only. False Positive Rate for the given confidence threshold.

Returns:

  • (::Float)

    Output only. False Positive Rate for the given confidence threshold.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#false_positive_rate_at1::Float

Returns Output only. The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example.

Returns:

  • (::Float)

    Output only. The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#position_threshold::Integer

Returns Output only. Metrics are computed with an assumption that the model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the confidence_threshold.

Returns:

  • (::Integer)

    Output only. Metrics are computed with an assumption that the model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the confidence_threshold.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#precision::Float

Returns Output only. Precision for the given confidence threshold.

Returns:

  • (::Float)

    Output only. Precision for the given confidence threshold.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#precision_at1::Float

Returns Output only. The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example.

Returns:

  • (::Float)

    Output only. The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#recall::Float

Returns Output only. Recall (True Positive Rate) for the given confidence threshold.

Returns:

  • (::Float)

    Output only. Recall (True Positive Rate) for the given confidence threshold.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#recall_at1::Float

Returns Output only. The Recall (True Positive Rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each example.

Returns:

  • (::Float)

    Output only. The Recall (True Positive Rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each example.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#true_negative_count::Integer

Returns Output only. The number of labels that were not created by the model, but if they would, they would not match a ground truth label.

Returns:

  • (::Integer)

    Output only. The number of labels that were not created by the model, but if they would, they would not match a ground truth label.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#true_positive_count::Integer

Returns Output only. The number of model created labels that match a ground truth label.

Returns:

  • (::Integer)

    Output only. The number of model created labels that match a ground truth label.



173
174
175
176
# File 'proto_docs/google/cloud/automl/v1beta1/classification.rb', line 173

class ConfidenceMetricsEntry
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end