ShallowNeuralDecisionForest icon indicating copy to clipboard operation
ShallowNeuralDecisionForest copied to clipboard

Question about the amount of nodes

Open zchaizju opened this issue 6 years ago • 0 comments

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?

zchaizju avatar Mar 20 '18 08:03 zchaizju