marcotcr / anchor

Code for "High-Precision Model-Agnostic Explanations" paper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anchor provided is unexpcted.

chenz1hao opened this issue · comments

My dataset has already binarization into one-hot format, like features:['loan_amount<500','loan_amount>=500'] with values [[0,1],[1,0],[0,1]].
So the anchor we expected should be like: "loan_amount<500=0" or "loan_amount>=500=1" However, when i ran the algorithm, it showed some characters. be like below:
image
How would this happend? There is no values like 'n', 'a' or 'g' in data.
P.S. Categorical_names is all the features because I have binarized manually in advance.