Description
RandomForest currently sends the entire forest to each worker on each iteration. This is because (a) the node queue is FIFO and (b) the closure references the entire array of trees (topNodes). (a) causes RFs to handle splits in many trees, especially early on in learning. (b) sends all trees explicitly.
Proposal:
(a) Change the RF node queue to be FILO, so that RFs tend to focus on 1 or a few trees before focusing on others.
(b) Change topNodes to pass only the trees required on that iteration.
Attachments
Issue Links
- Is contained by
-
SPARK-14046 RandomForest improvement umbrella
- Resolved
- links to