Open gdmarmerola opened 4 years ago
In the sklearn API for tree-based models there's an method "apply(self, X)" that returns leaf indices, applying trees in the forest to X. It is very useful to diagnose which elements ended up in the same leaf node and cluster them.
Is it possible to add this functionality?
In the sklearn API for tree-based models there's an method "apply(self, X)" that returns leaf indices, applying trees in the forest to X. It is very useful to diagnose which elements ended up in the same leaf node and cluster them.
Is it possible to add this functionality?