interpret_community.common.aggregate module¶
Defines the aggregate explainer decorator for aggregating local explanations to global.
- interpret_community.common.aggregate.add_explain_global_method(cls)¶
Decorate an explainer to allow aggregating local explanations to global.
Adds a protected method _explain_global that creates local explanations and then aggregates them to a global explanation by averaging.
- interpret_community.common.aggregate.init_aggregator_decorator(init_func)¶
Decorate a constructor to wrap initialization examples in a DatasetWrapper.
Provided for convenience for tabular data explainers.
- Parameters
init_func (Initialization constructor.) – Initialization constructor where the second argument is a dataset.