# Cloud AutoML V1 Client - Class TextExtractionEvaluationMetrics (2.1.3)

2.1.3 (latest) 2.1.2 2.0.5 1.6.5 1.5.4 1.4.17 Reference documentation and code samples for the Cloud AutoML V1 Client class TextExtractionEvaluationMetrics.

Model evaluation metrics for text extraction problems.

Generated from protobuf message `google.cloud.automl.v1.TextExtractionEvaluationMetrics`

## Namespace

Google \\ Cloud \\ AutoMl \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ au_prc` | `float` Output only. The Area under precision recall curve metric. |
| `↳ confidence_metrics_entries` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry>` Output only. Metrics that have confidence thresholds. Precision-recall curve can be derived from it. |

### getAuPrc

Output only. The Area under precision recall curve metric.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setAuPrc

Output only. The Area under precision recall curve metric.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConfidenceMetricsEntries

Output only. Metrics that have confidence thresholds.

Precision-recall curve can be derived from it.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry>` |   |

### setConfidenceMetricsEntries

Output only. Metrics that have confidence thresholds.

Precision-recall curve can be derived from it.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |