Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix #450

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Bug fix #450

wants to merge 1 commit into from

Conversation

BogdanTurbal
Copy link

In ExplainerBase.generate_counterfactuals arguments proximity_weight, sparsity_weight, diversity_weight, and categorical_penalty aren't actually used, nor passed to corresponding inherited classes.
With this fix, they can be actually passed with as kwargs.

Additionally, the method "genetic" does not work when all data is categorical, due to the proximity_loss.
This should be solvable with proximity_weight=0.0, but due to the fact that we cannot pass proximity_weight, we get the following bug:
https://colab.research.google.com/drive/1Pdd_IHo_e-ywdvQcQ_zE6jnQ2MkYcl2h#scrollTo=58x7nHNgUwkk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant