Skip to content

Commit d144bd8

Browse files
committed
Unset n_jobs for sklearn forests
1 parent 1baf3fd commit d144bd8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

sklearn/df_clsf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@
5656
max_leaf_nodes=params.max_leaf_nodes,
5757
min_impurity_decrease=params.min_impurity_decrease,
5858
bootstrap=params.bootstrap,
59-
random_state=params.seed,
60-
n_jobs=params.n_jobs)
59+
random_state=params.seed)
6160

6261
columns = ('batch', 'arch', 'prefix', 'function', 'threads', 'dtype', 'size',
6362
'num_trees', 'n_classes', 'accuracy', 'time')

sklearn/df_regr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@
5656
max_leaf_nodes=params.max_leaf_nodes,
5757
min_impurity_decrease=params.min_impurity_decrease,
5858
bootstrap=params.bootstrap,
59-
random_state=params.seed,
60-
n_jobs=params.n_jobs)
59+
random_state=params.seed)
6160

6261
columns = ('batch', 'arch', 'prefix', 'function', 'threads', 'dtype', 'size',
6362
'num_trees', 'time')

0 commit comments

Comments
 (0)