Class GlobalExplanation (2.26.0)

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. .. attribute:: feature_name

Full name of the feature. For non-numerical features, will be formatted like <column_name>.<encoded_feature_name>. Overall size of feature name will always be truncated to first 120 characters.

:type: str

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.