-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Is that possible set the initial value of hyperparams when use auto sklearn to search #577
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
Comments
Unfortunately, it is not possible to pass default values for a special classifier and we do not plan to add it ourselves in the near future. You can only restrict the searchspace to XGB and let Bayesian optimization do the job. A hacky workaround would be to subclass the XGB class in |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs for the next 7 days. Thank you for your contributions. |
@mfeurer I can work on this which will allow to pass default values as well as override range and choices for hyperparameters without the need of subclassing new classifier or overriding package. Let me know if this is still relevant to auto-sklearn scope, I can start with sharing the design and implementation details. |
Thanks for picking up on this @rabsr. Let's attack this in two stages:
Thinking about this again, for passing in the default values, we could create an example similar to the random search one and the successive halving one. Instead of replacing the SMAC object by the ROAR object in the 1st example and instead of changing the arguments to the SMAC object in the 2nd example, we would pre-pend the suggested new hyperparameter settings to the |
I was majorly focused on overriding values for hyperparams for algos.. But I can also start by adding an example as suggested for setting up configurations for initial baseline model. I am considering following approach to pass ranges and defaults for hyperparameters:
All the validations for ranges, hyperparam type, changing any categoical/numerical hyperparam to Constant/Unparameterized depending on input, conditional and forbidden clauses, all can be handled internally. Let me know of your thoughts on this. |
For example, I have a XGB model, the prediction is not too bad. I plan to use it as a baseline model, and use it's hyperparams as the initial value for the auto sklearn with restricting search on XGB. Is that possible?
There's a parameter called initial_configurations_via_metalearning, but that looks like not for my purpose.
The text was updated successfully, but these errors were encountered: