Google Cloud Document Ai V1 Client - Class ConfidenceLevelMetrics (1.14.0)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ConfidenceLevelMetrics.

Evaluations metrics, at a specific confidence level.

Generated from protobuf message google.cloud.documentai.v1.Evaluation.ConfidenceLevelMetrics

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Evaluation

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ confidence_level float

The confidence level.

↳ metrics Google\Cloud\DocumentAI\V1\Evaluation\Metrics

The metrics at the specific confidence level.

getConfidenceLevel

The confidence level.

Returns
Type Description
float

setConfidenceLevel

The confidence level.

Parameter
Name Description
var float
Returns
Type Description
$this

getMetrics

The metrics at the specific confidence level.

Returns
Type Description
Google\Cloud\DocumentAI\V1\Evaluation\Metrics|null

hasMetrics

clearMetrics

setMetrics

The metrics at the specific confidence level.

Parameter
Name Description
var Google\Cloud\DocumentAI\V1\Evaluation\Metrics
Returns
Type Description
$this