8000 Merge pull request #4762 from trevorstephens/gridsearch_unused_params · scikit-learn/scikit-learn@bf33390 · GitHub
[go: up one dir, main page]

Skip to content

Commit bf33390

Browse files
committed
Merge pull request #4762 from trevorstephens/gridsearch_unused_params
Unused params in GridSearchCV
2 parents bb592f3 + 0e5226b commit bf33390

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sklearn/grid_search.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -705,10 +705,9 @@ class GridSearchCV(BaseSearchCV):
705705
706706
"""
707707

708-
def __init__(self, estimator, param_grid, scoring=None, loss_func=None,
709-
score_func=None, fit_params=None, n_jobs=1, iid=True,
710-
refit=True, cv=None, verbose=0, pre_dispatch='2*n_jobs',
711-
error_score='raise'):
708+
def __init__(self, estimator, param_grid, scoring=None, fit_params=None,
709+
n_jobs=1, iid=True, refit=True, cv=None, verbose=0,
710+
pre_dispatch='2*n_jobs', error_score='raise'):
712711

713712
super(GridSearchCV, self).__init__(
714713
estimator, scoring, fit_params, n_jobs, iid,

0 commit comments

Comments
 (0)
0