anchor
anchor copied to clipboard
Code for "High-Precision Model-Agnostic Explanations" paper
exp = explainer.explain_instance(numpy_test, catBoostModel.predict, threshold=0.95). /opt/anaconda3/lib/python3.7/site-packages/anchor/anchor_tabular.py in sample_from_train(self, conditions_eq, conditions_neq, conditions_geq, conditions_leq, num_samples, validation) 98 bla 99 """ --> 100 train = self.train if not validation else self.validation 101 d_train...
I was reading through the paper, and found interesting examples for MT and POS. I am little unclear on whether the current library can be used for it. If so,...
Hello, I am trying to apply anchor on a dataset with 290 numerical features. Following your test example I wrote the code below. But I get an error. Could you...
Hi Marco, Based off issue #2 , Is there any ongoing work on including code for image examples? Thanks!
I'm having a problem where the anchor appears to be computed (I look at the object and see e.g. features, examples, precision/coverage), but the names() attribute of the explanation is...