Add additional parameters to generate_counterfactuals() function#251
Add additional parameters to generate_counterfactuals() function#251amit-sharma merged 4 commits intomasterfrom
Conversation
Signed-off-by: gaugup <gaugup@microsoft.com>
|
I like the idea of making it consistent. But the problem is that all methods do not support these parameters. For example, For each parameter, shall we write in the docstring on which algorithms support it? Would that be a good way to communicate this? If that sounds good, I'm happy to edit the docstring with this info. |
Sure, please go ahead and add the relevant docstrings. |
|
Okay will add these in the next few days. |
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
It seems the generate_counterfactuals() method in dice_genetic.py support many more arguments than the ones supported in generate_counterfactuals() in explainer_base.py. Adding the additional parameters to generate_counterfactuals() in explainer_base.py.
Signed-off-by: gaugup gaugup@microsoft.com