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
It's pretty fresh still but successive halving (aka simplified hyperband) has become a pretty popular search strategy. It might be interesting to provide a drop-in replacement for gridsearchcv, if not in sklearn then maybe in some well-published sklearn-contrib project?
Reacted by Olivier Grisel, FelixNeutatz, Lode Nachtergaele and Roman Yurchak
I agree. But to move the discussion forward with those newish methods, I would really like to see an example python script or notebook that compares successive-halving-enabled search CV against vanilla randomized search CV with the same n_iter budget on a realistic enough scikit-learn pipeline.
I think none of the projects linked above provide such an example.
@ogrisel I did that yesterday and it blew RandomizedSearch out of the water. But I'm actually not sure the successive halving implementation I used is correct, and I'm actually not sure if I understood successive halving.
I'll hunker down with the hyperband and successive halving papers again today.
Right now to me it looks like on MNIST, doing successive halving on logistic regression is better than doing LogisticRegressionCV.
Activity
mrecachinas commentedon Nov 10, 2018
Looks like there are at least one or two compatible implementations:
and one other almost-compatible implementation:
ogrisel commentedon Mar 8, 2019
I agree. But to move the discussion forward with those newish methods, I would really like to see an example python script or notebook that compares successive-halving-enabled search CV against vanilla randomized search CV with the same
n_iterbudget on a realistic enough scikit-learn pipeline.I think none of the projects linked above provide such an example.
amueller commentedon Mar 8, 2019
@ogrisel I did that yesterday and it blew RandomizedSearch out of the water. But I'm actually not sure the successive halving implementation I used is correct, and I'm actually not sure if I understood successive halving.
Also see: #13145
I'll hunker down with the hyperband and successive halving papers again today.
Right now to me it looks like on MNIST, doing successive halving on logistic regression is better than doing LogisticRegressionCV.
amueller commentedon Mar 8, 2019
civisanalytics/civisml-extensions and https://github.com/thuijskens/scikit-hyperband don't directly support subsampling from what I can see, and I'm mostly interested in the subsampling approach because it's the most general and you can always use it as drop-in.
If we had a way to resample in a pipeline you could implement that as a parameter though ;)
amueller commentedon Mar 19, 2019
also relevant: https://github.com/dask/dask-ml/pull/221/files
janvanrijn commentedon May 20, 2020
Is this already usable? Is there anything I can do to help this PR get forward?
@Aurugorn might be interested in this
NicolasHug commentedon May 20, 2020
yes the PR is already usable (it's been for a year lol)
All it needs is to be reviewed
Aurugorn commentedon May 20, 2020
@NicolasHug Thanks, will try to use this 👍