Open msank00 opened 3 years ago
@msank00, sorry that you are facing this issue. There seems to be a bug in dice_random.py and it may not work with private dataset. I will have a PR out shortly to fix this.
Could you maybe in meantime try with method="genetic"/"kdtree"? From looking at the code, these should work.
private_exp = dice_ml.Dice(private_d, m, method="genetic")
@amit-sharma, does the dice-ml private data interface work with dice_random.py, dice_genetic.py and dice_kd_tree.py? Or is this scenario not supported as of now?
This scenario is not supported as of now. Can look to implement it for dice_random and dice_genetic.
Dice_kd does require access to the dataset so it will not work. Perhaps we can add a clear exception for this.
Thanks for confirming @amit-sharma. I created a milestone https://github.com/interpretml/DiCE/milestone/2 and added the issue to that.
Hi Team,
Thanks for providing such an useful package.
Now following this tutorial notebook, I am trying to generate CounterFactual Explanation without accessing training data.
My Data generation process is something like this
Next I tried to create the explainer
But getting following error
Could you please guide me where it's getting wrong? Why the error is showing up?
Thanks in advance.