DiCE icon indicating copy to clipboard operation
DiCE copied to clipboard

Get distance from counterfactuals with KDtree method

Open immaF opened this issue 2 years ago • 0 comments

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) in class class DiceKD(ExplainerBase).

Thank you for the help! Imma

immaF avatar May 26 '22 09:05 immaF