anchor icon indicating copy to clipboard operation
anchor copied to clipboard

Why are explanation ranges changed in add_names_to_exp?

Open martheveldhuis opened this issue 4 years ago • 0 comments

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 avatar Jan 27 '21 15:01 martheveldhuis