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

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

Overview

Metrics for a single confidence threshold.

Instance Attribute Summary collapse

Instance Attribute Details

#confidence_thresholdFloat

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.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#f1_scoreFloat

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

Returns:

  • (Float)

    Output only. The harmonic mean of recall and precision.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#f1_score_at1Float

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

Returns:



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#false_negative_countInteger

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.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#false_positive_countInteger

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.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#false_positive_rateFloat

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

Returns:

  • (Float)

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



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#false_positive_rate_at1Float

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.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#position_thresholdInteger

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.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#precisionFloat

Returns Output only. Precision for the given confidence threshold.

Returns:

  • (Float)

    Output only. Precision for the given confidence threshold.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#precision_at1Float

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.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#recallFloat

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.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#recall_at1Float

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.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#true_negative_countInteger

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.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end

#true_positive_countInteger

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.



160
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/classification.rb', line 160

class ConfidenceMetricsEntry; end