Amit Sharma
Amit Sharma
Thanks, the reason for the error is due to use of `labelencoder` from sklearn that expects a string. Having categoricals as numeric values is possible, but raises the risk of...
yes, you can provide a set of rows from a dataframe to the `generate_counterfactuals` method. One way is to filter the dataframe based on given conditions and then supply the...
@Jihyun-Yun-0110 If I understand your question correctly, you are asking for the index of the generated counterfactuals in the dataset. The default method for `generate_counterfactuals` looks for the closest point...
@djlwzw have you tried the getting-started example with pytorch in this [notebook](https://github.com/interpretml/DiCE/blob/master/docs/source/notebooks/DiCE_getting_started.ipynb)? Does this simple example work? It will also help if you can share a minimum working example that...
All these are great ideas @Saladino93 Thanks for sharing them. The first two can be implemented. The fourth one is on our roadmap but needs more thought for timeseries. Causality...
The set of warnings indicate that those features have most of their values as 0 (median absolute deviation is 0). You may want to disable diversity and reduce the proximity...
The FAccT 2020 paper uses a differentiable model from tensorflow 1.x. The current DiCE library has added support for Tensorflow 2.x and a few other changes for efficiency. If you...
that makes sense. Didn't understand your comment on genetic algorithm---it fails to provide any output? On your other question, the CFs are useful for algorithmic recourse in the real world....
We are working on supporting multi-class, but the current version on tensorflow supports only binary at the moment.
That's correct. you will need to change the predict_fn. But you may find that the rest of the code expects a single-dimensional value as output of classifier---so you may need...