Class ScoreDistribution (1.11.1)

Stay organized with collections Save and categorize content based on your preferences.
ScoreDistribution(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Score distribution.

Attribute

NameDescription
score_buckets MutableMapping[int, int]
Map key is score value multiplied by 100. The scores are discrete values between [0, 1]. The maximum number of buckets is on order of a few dozen, but typically much lower (ie. 10).

Classes

ScoreBucketsEntry

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