Google Cloud Document Ai V1 Client - Class ConfidenceLevelMetrics (1.3.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
NameDescription
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
TypeDescription
float

setConfidenceLevel

The confidence level.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMetrics

The metrics at the specific confidence level.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\Evaluation\Metrics|null

hasMetrics

clearMetrics

setMetrics

The metrics at the specific confidence level.

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\Evaluation\Metrics
Returns
TypeDescription
$this