Closed carlomarxdk closed 1 year ago
@carlomarxdk , thank you for pointing out to this issue. There was a bug related to the ordering of returned tcav scores. I'll send out the fix soon.
@carlomarxdk, we just merged, #915. Let us know if this helps to address the issue
🐛 Bug
Ordering of concepts in the
experemental_sets
drastically changes the output ofinterpret
(e.g. it is not consistent)To reproduce:
Steps to reproduce:
interpret
If you change the order of
experemental_sets
:experimental_set_zig_dot = [[zigzagged_concept, dotted_concept, stripes_concept]]
orexperimental_set_zig_dot = [[dotted_concept, stripes_concept, zigzagged_concept]]
you get absolutely different results. In first case, indeed zigzagged concept has the largest magnitude score; however, in the second case, the dotted concept is going to have the highest magnitude score.Expected behaviour
I would expect that the change of the ordering would give same results.