marcotcr / anchor

Code for "High-Precision Model-Agnostic Explanations" paper
BSD 2-Clause "Simplified" License
799 stars 114 forks source link

Unexpected keyword argument 'categorical_features' in 'Anchor on tabular data.ipynb' #42

Closed rezacsedu closed 4 years ago

rezacsedu commented 4 years ago

I'm experiencing "TypeError: init() got an unexpected keyword argument 'categorical_features'". Can you please suggest on how to fix it?

image

rezacsedu commented 4 years ago

Previously, I was trying with Python3, but switching to Python 2 solved the issue. Hence, closing.

Any plan to make things Python3 compatible?

Thanks.

marcotcr commented 4 years ago

Just dropped python2 support, should work on python3 now.