Cloud AutoML V1beta1 Client - Class TextExtractionEvaluationMetrics (1.4.17)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class TextExtractionEvaluationMetrics.

Model evaluation metrics for text extraction problems.

Generated from protobuf message google.cloud.automl.v1beta1.TextExtractionEvaluationMetrics

Methods

__construct

Constructor.

Parameters
NameDescription
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<Google\Cloud\AutoMl\V1beta1\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
TypeDescription
float

setAuPrc

Output only. The Area under precision recall curve metric.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getConfidenceMetricsEntries

Output only. Metrics that have confidence thresholds.

Precision-recall curve can be derived from it.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setConfidenceMetricsEntries

Output only. Metrics that have confidence thresholds.

Precision-recall curve can be derived from it.

Parameter
NameDescription
var array<Google\Cloud\AutoMl\V1beta1\TextExtractionEvaluationMetrics\ConfidenceMetricsEntry>
Returns
TypeDescription
$this