Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::TextExtractionEvaluationMetrics::ConfidenceMetricsEntry (v0.5.1)

Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::TextExtractionEvaluationMetrics::ConfidenceMetricsEntry.

Metrics for a single confidence threshold.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence_threshold

def confidence_threshold() -> ::Float
Returns
  • (::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.

#confidence_threshold=

def confidence_threshold=(value) -> ::Float
Parameter
  • value (::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.
Returns
  • (::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.

#f1_score

def f1_score() -> ::Float
Returns
  • (::Float) — Output only. The harmonic mean of recall and precision.

#f1_score=

def f1_score=(value) -> ::Float
Parameter
  • value (::Float) — Output only. The harmonic mean of recall and precision.
Returns
  • (::Float) — Output only. The harmonic mean of recall and precision.

#precision

def precision() -> ::Float
Returns
  • (::Float) — Output only. Precision under the given confidence threshold.

#precision=

def precision=(value) -> ::Float
Parameter
  • value (::Float) — Output only. Precision under the given confidence threshold.
Returns
  • (::Float) — Output only. Precision under the given confidence threshold.

#recall

def recall() -> ::Float
Returns
  • (::Float) — Output only. Recall under the given confidence threshold.

#recall=

def recall=(value) -> ::Float
Parameter
  • value (::Float) — Output only. Recall under the given confidence threshold.
Returns
  • (::Float) — Output only. Recall under the given confidence threshold.