# Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Evaluation::Metrics (v0.49.0)

0.49.0 (latest) 0.48.1 0.47.0 0.46.2 0.45.0 0.44.0 0.43.1 0.42.0 0.41.0 0.40.0 0.39.1 0.38.0 0.37.0 0.36.1 0.35.0 0.34.0 0.33.1 0.32.0 0.31.0 0.30.2 0.29.0 0.28.0 0.27.0 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.4 Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Evaluation::Metrics.

Evaluation metrics, either in aggregate or about a specific entity.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #f1_score

    def f1_score() -> ::Float

**Returns**

- (::Float) --- The calculated F1 score.

### #f1_score=

    def f1_score=(value) -> ::Float

**Parameter**

- **value** (::Float) --- The calculated F1 score.
**Returns**

- (::Float) --- The calculated F1 score.

### #false_negatives_count

    def false_negatives_count() -> ::Integer

**Returns**

- (::Integer) --- The amount of false negatives.

### #false_negatives_count=

    def false_negatives_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The amount of false negatives.
**Returns**

- (::Integer) --- The amount of false negatives.

### #false_positives_count

    def false_positives_count() -> ::Integer

**Returns**

- (::Integer) --- The amount of false positives.

### #false_positives_count=

    def false_positives_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The amount of false positives.
**Returns**

- (::Integer) --- The amount of false positives.

### #ground_truth_document_count

    def ground_truth_document_count() -> ::Integer

**Returns**

- (::Integer) --- The amount of documents with a ground truth occurrence.

### #ground_truth_document_count=

    def ground_truth_document_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The amount of documents with a ground truth occurrence.
**Returns**

- (::Integer) --- The amount of documents with a ground truth occurrence.

### #ground_truth_occurrences_count

    def ground_truth_occurrences_count() -> ::Integer

**Returns**

- (::Integer) --- The amount of occurrences in ground truth documents.

### #ground_truth_occurrences_count=

    def ground_truth_occurrences_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The amount of occurrences in ground truth documents.
**Returns**

- (::Integer) --- The amount of occurrences in ground truth documents.

### #precision

    def precision() -> ::Float

**Returns**

- (::Float) --- The calculated precision.

### #precision=

    def precision=(value) -> ::Float

**Parameter**

- **value** (::Float) --- The calculated precision.
**Returns**

- (::Float) --- The calculated precision.

### #predicted_document_count

    def predicted_document_count() -> ::Integer

**Returns**

- (::Integer) --- The amount of documents with a predicted occurrence.

### #predicted_document_count=

    def predicted_document_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The amount of documents with a predicted occurrence.
**Returns**

- (::Integer) --- The amount of documents with a predicted occurrence.

### #predicted_occurrences_count

    def predicted_occurrences_count() -> ::Integer

**Returns**

- (::Integer) --- The amount of occurrences in predicted documents.

### #predicted_occurrences_count=

    def predicted_occurrences_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The amount of occurrences in predicted documents.
**Returns**

- (::Integer) --- The amount of occurrences in predicted documents.

### #recall

    def recall() -> ::Float

**Returns**

- (::Float) --- The calculated recall.

### #recall=

    def recall=(value) -> ::Float

**Parameter**

- **value** (::Float) --- The calculated recall.
**Returns**

- (::Float) --- The calculated recall.

### #total_documents_count

    def total_documents_count() -> ::Integer

**Returns**

- (::Integer) --- The amount of documents that had an occurrence of this label.

### #total_documents_count=

    def total_documents_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The amount of documents that had an occurrence of this label.
**Returns**

- (::Integer) --- The amount of documents that had an occurrence of this label.

### #true_positives_count

    def true_positives_count() -> ::Integer

**Returns**

- (::Integer) --- The amount of true positives.

### #true_positives_count=

    def true_positives_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The amount of true positives.
**Returns**

- (::Integer) --- The amount of true positives.