Skip to content

shapiq.Explainer breaks when index = "SV" with approximator != "auto" #319

Closed
@hbaniecki

Description

@hbaniecki

This line breaks for shapiq.Explainer(model, data, index="SV", approximator="permutation") because SV approximators have no max_order.

init_approximator = approximator(n=self._n_features, max_order=max_order)

Potential solution: Add **kwargs to SV approximators.

Metadata

Metadata

Assignees

Labels

bug 💣Something isn't workingexplainer 🔍All issues that are linked to explainers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions