ShallowNeuralDecisionForest
ShallowNeuralDecisionForest copied to clipboard
Question about the amount of nodes
In your initial setting, the depth of tree is 5, so there are 2^5=32 leaf nodes while just 2^5-1=31 internal nodes which are designed to be the output of the net. HOWEVER, in the neuralforestlayer.py, the Variable <pi_init> uses only 1 << (depth - 1)=16 nodes as leaf nodes, shouldn't it be 32 nodes?