Class ScoreDistribution (1.25.0)

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

Score distribution.

Attribute

Name Description
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
Name Description
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.