diff --git a/examples/randomized_search.py b/examples/randomized_search.py index 3c3c54cd41a412ff031fb795533af7534177d7ce..14a15139448d0769286d3c87e8aa3dad0c60ae45 100644 --- a/examples/randomized_search.py +++ b/examples/randomized_search.py @@ -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."