scikit-learn/scikit-learn — pull request #2790 by jnothman (2014-01-23 23:01:42+00:00)
Title: [WIP] Avoid reference cycles in Tree

Fixes #2787.

This is a WIP because we need to check if wrapping `value` with a ndarray at predict time is too expensive in time. If so, we can implement our own `take` using `memcpy` (which I'd rather over reverting to the version where `predict` duplicates `apply`) but for the moment I'm having trouble getting that to work...