Nearest counterfactual (neighbor of different
classification)
Compares the selected datapoint with its nearest
neighbor from a different classification using L1 or
L2 distance. If a custom distance function is set,
it uses that function instead.
For regression, a neighbor point is considered as
a different classification if the difference in
inferred value is equal or greater than the
selected delta.
Delta is initialized to the standard deviation of
the inferred values.