Skip to content

Commit

Permalink
removed deprecated GridSearchCV parameter "iid"
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyunzhu committed May 1, 2020
1 parent c56d36e commit e7b8cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hgtector/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ def grid_kde(data, estimator, steps):
.format(n))
bwspace = np.logspace(-1, 0, steps)
params = {'bandwidth': bwspace}
grid = GridSearchCV(estimator, params, cv=5, iid=False)
grid = GridSearchCV(estimator, params, cv=5)
grid.fit(data)
return grid.best_estimator_

Expand Down

0 comments on commit e7b8cc7

Please sign in to comment.