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

Why are explanation ranges changed in add_names_to_exp? #65

Open
martheveldhuis opened this issue Jan 27, 2021 · 0 comments
Open

Why are explanation ranges changed in add_names_to_exp? #65

martheveldhuis opened this issue Jan 27, 2021 · 0 comments

Comments

@martheveldhuis
Copy link

martheveldhuis commented Jan 27, 2021

There seems to be a comment here stating that something will no longer work. Is that still the case or is that an old comment?

Also, in this function, why do you change the discretized ranges from the explainer object to the explanation?

e.g. when I first initialize the explainer object with my dataset I get 10 ranges where the first one has the format
"feature<=val", the ones in the middle "val<feature<=val" and the one at the end "feature>val". But when I generate an explanation for a data point which corresponds to a middle bin (e.g. the feature value is 4, so it would go in the 3<feature<=4 bin), I get an anchor in the form of "feature<=4".

Can you tell me why you chose to do so?

@martheveldhuis martheveldhuis changed the title Sampling Why are explanation ranges changed in add_names_to_exp? Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant