timmens/causal-forest

Reimplement allocation of node ids.

timmens opened this issue · 1 comments

Goal:
I want to reimplement the allocation of node ids when fitting a single tree using a counter object.

How to do it:
The idea is that each parent node draws two ids for its left and right child and then passes the ids and the counter object to the respective child, and so on and so forth.

I managed to implement the change using itertools.count (144d15f).