Class GlobalExplanation

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

Global explanations containing the top most important features after training.

Attributes

NameDescription
explanations Sequence[google.cloud.bigquery_v2.types.Model.GlobalExplanation.Explanation]
A list of the top global explanations. Sorted by absolute value of attribution in descending order.
class_label str
Class label for this set of global explanations. Will be empty/null for binary logistic and linear regression models. Sorted alphabetically in descending order.

Inheritance

builtins.object > proto.message.Message > GlobalExplanation

Classes

Explanation

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

Explanation for a single feature.

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.