Skip to content

Commit 7081b33

Browse files
authored
Bug fix (#450): Passing parameters to explainers
Fixed bug
1 parent 317c50d commit 7081b33

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

dice_ml/explainer_interfaces/explainer_base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ def generate_counterfactuals(self, query_instances, total_CFs,
123123
desired_class="opposite", desired_range=None,
124124
permitted_range=None, features_to_vary="all",
125125
stopping_threshold=0.5, posthoc_sparsity_param=0.1,
126-
proximity_weight=0.2, sparsity_weight=0.2, diversity_weight=5.0,
127-
categorical_penalty=0.1,
128126
posthoc_sparsity_algorithm="linear", verbose=False, **kwargs):
129127
"""General method for generating counterfactuals.
130128

0 commit comments

Comments
 (0)