fatf.utils.transparency.explainers.Explainer

class fatf.utils.transparency.explainers.Explainer[source]

A base class for any explainer object implemented in the package.

New in version 0.0.2.

Methods

explain_instance()

Generates an explanation of a single data point (instance).

explain_model()

Generates a model explanation.

feature_importance()

Computes feature importance.

explain_instance() → numpy.ndarray[source]

Generates an explanation of a single data point (instance).

This can be an explanation of a data point from a data set or of a prediction provided by a predictive model.

explain_model() → numpy.ndarray[source]

Generates a model explanation.

feature_importance() → numpy.ndarray[source]

Computes feature importance.