-
Notifications
You must be signed in to change notification settings - Fork 67
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
Do not do grid search if no param grids are provided #378
Conversation
- Show a warning.
Show just the name of the model type instead of the fully qualified class name.
- `fit()` is supposed to return `self` according to sklearn conventions.
This PR is now ready to review (@aoifecahill, @mulhod, @jbiggsets, @benbuleong). |
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.
Looks good to me overall. I have no other comments/suggestions except the one I just entered for sake of clarity.
which ones to tune and how depend on the data being used for the | ||
parameter grids in SKLL either because either there are no | ||
hyper-parameters to tune or decisions about which parameters | ||
to tune (and how) depend on the data being used for the |
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.
Would it be clearer to actually provide a brief direction where the user can do this tuning? If this "best left up to the user" step is already documented in the user manual, I think it's fine. If not, perhaps cross reference the class/function where this manual tuning is can be done?
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.
By "best left up to the user", I just meant that the user should provide his/her own param_grids
in the config file.
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.
Thanks for the clarification.
grid_search
isTrue
, there's no point actually doing the grid search and we should just use the default hyperparameters.