Skip to content

Commit

Permalink
FIX scikit-learn#1622: OPTIM: remove obsolete random_state instance i…
Browse files Browse the repository at this point in the history
…n the Tree class

The random_state instance is now directly handled by the Splitter class,
there is no need to store it as an attribute of the cython Tree class
anymore.

This significantly speeds up the time of unpickling the trees by not having
to reconstruct pickled numpy.random.RandomState instances.
  • Loading branch information
ogrisel committed Oct 29, 2013
1 parent 8a0b317 commit 30eb78d
Show file tree
Hide file tree
Showing 5 changed files with 727 additions and 880 deletions.
Loading

0 comments on commit 30eb78d

Please sign in to comment.