Class LabelStats (1.2.4)

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

Statistics about annotation specs. .. attribute:: example_count

Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.

:type: Sequence[google.cloud.datalabeling_v1beta1.types.LabelStats.ExampleCountEntry]

Classes

ExampleCountEntry

ExampleCountEntry(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.