You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Note that in the above code, the ``refit`` argument of ``GridSearchCV`` is enabled by default, meaning that the best configuration will be trained on the whole dataset after hyperparameter search.
69
69
# We refer to this as the retrain strategy.
70
-
# After fitting ``GridSearchCV``, the retrained model is stored in ``clf``.
70
+
# After fitting ``GridSearchCV``, the retrained model is stored in ``clf``.
71
71
#
72
72
# We can apply the ``predict`` function of ``GridSearchCV`` object to use the estimator trained under the best hyperparameters for prediction.
73
73
# Then use ``linear.compute_metrics`` to calculate the test performance.
0 commit comments