Class: Google::Cloud::AutoML::V1::ClassificationEvaluationMetrics::ConfidenceMetricsEntry
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1::ClassificationEvaluationMetrics::ConfidenceMetricsEntry
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/automl/v1/classification.rb
Overview
Metrics for a single confidence threshold.
Instance Attribute Summary collapse
-
#confidence_threshold ⇒ ::Float
Output only.
-
#f1_score ⇒ ::Float
Output only.
-
#f1_score_at1 ⇒ ::Float
Output only.
-
#false_negative_count ⇒ ::Integer
Output only.
-
#false_positive_count ⇒ ::Integer
Output only.
-
#false_positive_rate ⇒ ::Float
Output only.
-
#false_positive_rate_at1 ⇒ ::Float
Output only.
-
#position_threshold ⇒ ::Integer
Output only.
-
#precision ⇒ ::Float
Output only.
-
#precision_at1 ⇒ ::Float
Output only.
-
#recall ⇒ ::Float
Output only.
-
#recall_at1 ⇒ ::Float
Output only.
-
#true_negative_count ⇒ ::Integer
Output only.
-
#true_positive_count ⇒ ::Integer
Output only.
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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 class ConfidenceMetricsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#precision ⇒ ::Float
Returns Output only. Precision for the given confidence threshold.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/automl/v1/classification.rb', line 130 class ConfidenceMetricsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |