Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 372f59e

Browse files
committed
MISC: fix wrong timing in example
1 parent c2b8b5d commit 372f59e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/randomized_search.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def report(grid_scores, n_top=3):
7979

8080
# run grid search
8181
grid_search = GridSearchCV(clf, param_grid=param_grid)
82+
start = time()
8283
grid_search.fit(X, y)
8384

8485
print("GridSearchCV took %.2f seconds for %d candidate parameter settings."

0 commit comments

Comments
 (0)