# Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::TextExtractionEvaluationMetrics::ConfidenceMetricsEntry (v0.19.0)

0.19.0 (latest) 0.18.0 0.17.0 0.16.1 0.15.0 0.14.1 0.13.1 0.12.0 0.11.1 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.5 Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::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.