Skip to main content
. Author manuscript; available in PMC: 2021 Sep 15.
Published in final edited form as: Proc Mach Learn Res. 2020 Jul;119:7762–7771.

Algorithm 2.

How to construct any explanation between an arbitrary pair of groups, tij, using the set of basis explanations relative to the reference group, t1, . . . , tl−1

Input: i, j
if i == 1 then
Return: tj
else if j == 1 then
Return: ti1
else
Return: tjti1
end if