Counterfactual, Explainable Ai.
instance that we want to explain (counterfactually), x’ is the potential counterfactual instance, y’ is the desired classification/outcome, d is the distance metric, and λ is for balancing out the two terms in the equation. Lots of optimisations have been done on this simple definition of