-
Notifications
You must be signed in to change notification settings - Fork 69
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
Remove default value of objective function and objective
config field.
#458
Commits on Feb 7, 2019
-
Remove
objective
field and remove default values forobjectives
- Remove code for normalizing and error checking the two since there is now only one field. - Add an additional check that `objectives` is not empty when running an experiment.
Configuration menu - View commit details
-
Copy full SHA for 9bfd068 - Browse repository at this point
Copy the full SHA 9bfd068View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42aa09d - Browse repository at this point
Copy the full SHA 42aa09dView commit details -
Remove default value of grid objective and learning curve metric
- Make default value of `grid_objective` to be `None` for `train()` and `cross_validate()` and add a check in `train()` that raises an exception if we are doing grid search and the objective is not specified. - Make `metric` a required parameter for `learning_curve()`. - flake8 fixes.
Configuration menu - View commit details
-
Copy full SHA for 642aad0 - Browse repository at this point
Copy the full SHA 642aad0View commit details -
Add new test for empty
objectives
and remove unnecessary tests- No longer need test for the removed `objective` field. - Fix other tests that were using `objective` to now use `objectives`. - flake8 fixes
Configuration menu - View commit details
-
Copy full SHA for 1840b99 - Browse repository at this point
Copy the full SHA 1840b99View commit details -
Explicitly specify an objective for tests
- Since there's no longer a default value. - flake8 fixes.
Configuration menu - View commit details
-
Copy full SHA for 826d10d - Browse repository at this point
Copy the full SHA 826d10dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 352596a - Browse repository at this point
Copy the full SHA 352596aView commit details
Commits on Feb 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9ea1fe4 - Browse repository at this point
Copy the full SHA 9ea1fe4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfdbbc6 - Browse repository at this point
Copy the full SHA cfdbbc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 022c25f - Browse repository at this point
Copy the full SHA 022c25fView commit details -
Move the error checking for missing grid objectives
- We only need to check this for specific tasks.
Configuration menu - View commit details
-
Copy full SHA for 7b42998 - Browse repository at this point
Copy the full SHA 7b42998View commit details -
Add new test for learning curve task
- To check that missing objectives is fine for this task.
Configuration menu - View commit details
-
Copy full SHA for acdfe40 - Browse repository at this point
Copy the full SHA acdfe40View commit details -
Fix test that previously passed to raise error
- Since there are no default objectives now.
Configuration menu - View commit details
-
Copy full SHA for f4c558a - Browse repository at this point
Copy the full SHA f4c558aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 505a5fd - Browse repository at this point
Copy the full SHA 505a5fdView commit details -
We need two conditions not just one
- We don't want the objective in the name of the output files if (a) it was not specified to begin with or (b) if there was only one objective since then it's obvious which file is which.
Configuration menu - View commit details
-
Copy full SHA for 24d5552 - Browse repository at this point
Copy the full SHA 24d5552View commit details -
Only print 'score' when available
- It will not be available if we aren't doing grid search
Configuration menu - View commit details
-
Copy full SHA for bed25a8 - Browse repository at this point
Copy the full SHA bed25a8View commit details -
Ignore
grid_objectives
if we aren't doing grid search- This would prevent unnecesary computation in cases when grid search was false but the user still specified a list of objectives.
Configuration menu - View commit details
-
Copy full SHA for 5d02977 - Browse repository at this point
Copy the full SHA 5d02977View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a321ff - Browse repository at this point
Copy the full SHA 3a321ffView commit details
Commits on Feb 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7085863 - Browse repository at this point
Copy the full SHA 7085863View commit details -
Configuration menu - View commit details
-
Copy full SHA for 876344b - Browse repository at this point
Copy the full SHA 876344bView commit details -
- replace 'objective' with 'objectives' - explicitly specify grid search in places - do not rely on default values of objectives - shorter docstrings
Configuration menu - View commit details
-
Copy full SHA for 3fccea6 - Browse repository at this point
Copy the full SHA 3fccea6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffa4b52 - Browse repository at this point
Copy the full SHA ffa4b52View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a1709 - Browse repository at this point
Copy the full SHA b4a1709View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9499aa3 - Browse repository at this point
Copy the full SHA 9499aa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7cf274 - Browse repository at this point
Copy the full SHA d7cf274View commit details -
- Specify `grid_objective` explicitly when calling `train()`. - Some flake8 fixes
Configuration menu - View commit details
-
Copy full SHA for 8fc66ae - Browse repository at this point
Copy the full SHA 8fc66aeView commit details -
- For some reason the same file was being appended to.
Configuration menu - View commit details
-
Copy full SHA for 8603e14 - Browse repository at this point
Copy the full SHA 8603e14View commit details
Commits on Feb 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5d94271 - Browse repository at this point
Copy the full SHA 5d94271View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07c4598 - Browse repository at this point
Copy the full SHA 07c4598View commit details
Commits on Feb 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 571b858 - Browse repository at this point
Copy the full SHA 571b858View commit details
Commits on Feb 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 570d324 - Browse repository at this point
Copy the full SHA 570d324View commit details