Explanation Type#

Explanation Type#

base.Explanation(explanation[, values])

A type wrapper for outputs from explanation algorithms.

base.Explanation.get()

Get the explanation wrapped by this type.

base.Explanation.get_explanation()

Get the explanation wrapped by this type

base.Explanation.get_values()

Return the values associated with the explanation

base.Explanation.update_explanation(...[, ...])

Sets this object's explanation to the new value.

base.Explanation.apply_feature_descriptions(...)

Apply feature descriptions to explanation and values

base.Explanation.update_values(values[, inplace])

Updates this objects values, and validates

base.Explanation.validate()

Validate that self.explanation is a valid object of type Explanation.

base.Explanation.validate_values()

Validate that self.values are valid values for this Explanation.

DataFrame Explanation Type#

feature_based.FeatureBased(explanation[, values])

A type wrapper for feature-based DataFrame type outputs from explanation algorithms.

Feature Importance Explanation Type#

feature_based.FeatureImportanceExplanation(...)

A type wrapper for global feature importance FeatureBased type outputs from explanation algorithms.

Additive Feature Importance Explanation Type#

feature_based.AdditiveFeatureImportanceExplanation(...)

A type wrapper for additive global feature importance DataFrame type outputs from explanation algorithms.

Feature Contribution Explanation Type#

feature_based.FeatureContributionExplanation(...)

A type wrapper for local feature contribution DataFrame type outputs from explanation algorithms.

Additive Feature Contribution Explanation Type#

feature_based.AdditiveFeatureContributionExplanation(...)

A type wrapper for local feature contribution DataFrame type outputs from explanation algorithms.

Feature Value Based Explanation Type#

feature_value_based.FeatureValueBased(...)

A type wrapper for feature value-based DataFrame type outputs from explanation algorithms.

Partial Dependence Explanation Type#

feature_value_based.PartialDependenceExplanation(...)

Decision Tree Explanation Type#

decision_tree.DecisionTreeExplanation(...[, ...])

A type wrapper for decision-tree based type outputs from explanation algorithms.

Example Based Explanation Type#

example_based.ExampleBasedExplanation(...[, ...])

A type wrapper for example-based type outputs from explanation algorithms.

Similar Examples Explanation Type#

example_based.SimilarExampleExplanation(...)

A type wrapper for explanations that include most similar rows from the training set.