Class Evaluation (2.24.1)

Evaluation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An evaluation of a ProcessorVersion's performance.

Attributes

NameDescription
name str
The resource name of the evaluation. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}/evaluations/{evaluation}
create_time google.protobuf.timestamp_pb2.Timestamp
The time that the evaluation was created.
document_counters google.cloud.documentai_v1.types.Evaluation.Counters
Counters for the documents used in the evaluation.
all_entities_metrics google.cloud.documentai_v1.types.Evaluation.MultiConfidenceMetrics
Metrics for all the entities in aggregate.
entity_metrics MutableMapping[str, google.cloud.documentai_v1.types.Evaluation.MultiConfidenceMetrics]
Metrics across confidence levels, for different entities.
kms_key_name str
The KMS key name used for encryption.
kms_key_version_name str
The KMS key version with which data is encrypted.

Classes

ConfidenceLevelMetrics

ConfidenceLevelMetrics(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Evaluations metrics, at a specific confidence level.

Counters

Counters(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Evaluation counters for the documents that were used.

EntityMetricsEntry

EntityMetricsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Metrics

Metrics(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Evaluation metrics, either in aggregate or about a specific entity.

MultiConfidenceMetrics

MultiConfidenceMetrics(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metrics across multiple confidence levels.