-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAINT: raise error is no partial_fit in hyperparameter search #840
base: main
Are you sure you want to change the base?
Conversation
"requirement for doing incremental hyperparameter " | ||
"optimization. For more detail, see\n\n" | ||
" https://ml.dask.org/hyper-parameter-search.html#hyperparameter-scaling" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hooray for informative error messages!
Co-authored-by: Matthew Rocklin <[email protected]>
In ba8b4fe, I tried to make the header more informative. Now it reads
I think we should more clearly expose the tradeoffs of hyperparameter searches. Give me a while on that. I'm trying to resolve #838 (comment). I think it wouldn't be a bad idea to have a summary table. |
…/dask-ml into hyperparam-compat-docs
What does this PR implement?
It raises an error if a model is passed to an incremental hyperparameter optimization that doesn't support
partial_fit
. It points to https://ml.dask.org/hyper-parameter-search.html#hyperparameter-scaling.It also tests to make sure that a passive search like
RandomizedSearchCV
works.Reference issues/PRs
This resolves #839. It doesn't solve the issue, but it makes the error more clear.