Skip to content

Commit ec4d729

Browse files
committed
remove another instance
1 parent 75a8317 commit ec4d729

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mlinsights/mlmodel/piecewise_estimator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from sklearn.linear_model import LinearRegression, LogisticRegression
1111
from sklearn.preprocessing import KBinsDiscretizer
1212
from sklearn.utils._joblib import Parallel, delayed
13-
from sklearn.utils.fixes import _joblib_parallel_args
1413
try:
1514
from tqdm import tqdm
1615
except ImportError: # pragma: no cover
@@ -261,7 +260,7 @@ def fit(self, X, y, sample_weight=None):
261260

262261
self.estimators_ = \
263262
Parallel(n_jobs=self.n_jobs, verbose=verbose,
264-
**_joblib_parallel_args(prefer='threads'))(
263+
prefer='threads')(
265264
delayed(_fit_piecewise_estimator)(
266265
i, estimators[i], X, y, sample_weight, association, nb_classes, rnd)
267266
for i in loop)

0 commit comments

Comments
 (0)