Cloud AutoML V1 Client - Class TextExtractionEvaluationMetrics (2.0.3)

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<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
Google\Protobuf\Internal\RepeatedField

setConfidenceMetricsEntries

Output only. Metrics that have confidence thresholds.

Precision-recall curve can be derived from it.

Parameter
Name Description
var array<TextExtractionEvaluationMetrics\ConfidenceMetricsEntry>
Returns
Type Description
$this