pyreal.explainers.LocalFeatureContribution.produce#

LocalFeatureContribution.produce(x_orig=None, disable_feature_descriptions=False, **kwargs)#

Return the explanation, in the interpretable feature space with feature descriptions applied.

Parameters:
  • x_orig (DataFrame of shape (n_instances, n_features) or Series of length (n_features)) – Input to explain

  • disable_feature_descriptions (Boolean) – If False, do not apply feature descriptions

  • **kwargs – Additional arguments to be used by more specific explainers.

Returns:

Explanation

A generated interpretable explanation object, including interpretable feature names and values.