ModelOriented/iBreakDown

Differentely calculated diffs in local_attributions and local_interactions

WojciechKretowicz opened this issue · 2 comments

mean((average_yhats[[i]] - baseline_yhat)^2)

diffs_1d <- average_yhats - baseline_yhat

both lead to same results, but shall be more consistent for readability
let's use ()^2 in the local_interactions as well

ok, in fact I'm going to use sqrt(mean(x-y)^2) which is equivalent to |x-y|
it's easier