Closed sukeesh closed 4 years ago
@alvinwan @daniel-ho @spetryk Can you please explain this confusing part?
Hello @sukeesh, good question. This is because average of inner products is equivalent to the inner product of averages.
For a longer explanation, see supplementary material section 2: https://arxiv.org/pdf/2004.00221.pdf.
According to the paper at 3.1 Inference with Embedded Decision Rules
So, It means the sample is run on the NN architecture excluding the final fully-connected layer(?)
If so, Why are you including the final fully-connected layer in here before passing
x
toself.rules.forward_with_decisions
? https://github.com/alvinwan/neural-backed-decision-trees/blob/7ef5fe5034281aeb0d10786495d5556e99b98af4/nbdt/model.py#L323-L324Can you please explain?