DiCE icon indicating copy to clipboard operation
DiCE copied to clipboard

Generate Diverse Counterfactual Explanations for any machine learning model.

Results 106 DiCE issues
Sort by recently updated
recently updated
newest added

Hi, I was wondering if the current implementation of the GD-based method (I mean the loss-based method described in your paper, [Mothilal et al. (2020)](https://arxiv.org/abs/1905.07697)) can handle the multi-class classification...

Can DiCE be extended for calculating the counterfactuals for a subpopulation based on certain conditions?

Hi everyone, How could I get distance from counterfactuals with KDtree method? I observed the line `cfs = cfs.drop(["distance", "sparsity", "distancesparsity"], axis=1)` in the method ` do_sparsity_check(self, cfs, query_instance, sparsity_weight)`...

enhancement

The output range of my regression prediction is [1, 30], while most targets are lower than 2. When I generate counterfactuals with an expected output of 10 or more for...

enhancement

Hey everyone, in the paper is mentioned that DiCE is compared to SimpleCF proposed by Wachter, is there the code of generating those Counterfactuals in this repo? I am afraid...

Hello, when I try to run DiCE, the proposed explanations do not change my outcome from 0 to . I am only trying the basic settings with the adult dataset...

the code was running fine last week but today as i try to run the same code i'm bumping into this issue/ Error: ![image](https://user-images.githubusercontent.com/88155916/165532956-bda92259-908b-4547-ad97-5185816b7867.png) even if the data is in...

Hello, I have a DNN model built in Keras and TensorFlow with a regression output. When I call the `generate_counterfactuals` function, I receive the error: `TypeError: generate_counterfactuals() got an unexpected...

enhancement

I am not sure if I can ask here, or email the authors of the paper.... I really do not know with whom to discuss this, but I will try...

I am using the drug consumption dataset for a multiclass classification and trying to enforce some permitted ranges like: ``` d = dice_ml.Data(dataframe = eval_data, continuous_features = continuous_features, outcome_name =...