8000 FIX #1622: OPTIM: remove obsolete random_state instance in the Tree c… · scikit-learn/scikit-learn@30eb78d · GitHub
[go: up one dir, main page]

Skip to content

Commit 30eb78d

Browse files
committed
FIX #1622: OPTIM: remove obsolete random_state instance in 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.
1 parent 8a0b317 commit 30eb78d

File tree

5 files changed

+727
-880
lines changed

5 files changed

+727
-880
lines changed

0 commit comments

Comments
 (0)
0