Skip to content
Snippets Groups Projects
Commit 372f59e4 authored by Gael Varoquaux's avatar Gael Varoquaux
Browse files

MISC: fix wrong timing in example

parent c2b8b5d9
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,7 @@ param_grid = {"max_depth": [3, None],
# run grid search
grid_search = GridSearchCV(clf, param_grid=param_grid)
start = time()
grid_search.fit(X, y)
print("GridSearchCV took %.2f seconds for %d candidate parameter settings."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment