DiCE
DiCE copied to clipboard
Get distance from counterfactuals with KDtree method
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