-
-
Notifications
You must be signed in to change notification settings - Fork 211
Initializes sklearn object from flow with default hyperparam configuration #300
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
Conversation
|
Hey, I'd be interested in the rational behind this before actually looking at the implementation. |
|
Sklearn has for most hyperparameters some pretty good defaults, which can be a topic of research (e.g., answering the question, how much better are we than the default hyperparameter configuration). This function allows to reinitialize an OpenML flow with these defaults. The difficulty lies in hyperparameters that do not have any defaults (e.g., the steps of a pipeline). These need to be inferred from the flowname. |
|
Okay, so instead of creating the flow via a pipeline with the appropriate hyperparameter configuration, you want to download an existing flow and alter its hyperparameter configuration? |
|
Really interesting. If you resolve the merge conflict and update the documentation, I think we can merge this. |
|
Thanks for checking this. I predict that it will work after my most recent commit.
The undocumented part of the function is the 'components' part in kwargs. TBH I have no clue what this does again, and what the rationale is (this function was undocumented before). Can you add it? |
Codecov Report
@@ Coverage Diff @@
## develop #300 +/- ##
===========================================
+ Coverage 89.46% 89.48% +0.02%
===========================================
Files 32 32
Lines 2771 2786 +15
===========================================
+ Hits 2479 2493 +14
- Misses 292 293 +1
Continue to review full report at Codecov.
|
@mfeurer I am really wondering what you think of the implementation. There is no hurry with this feature