-
Notifications
You must be signed in to change notification settings - Fork 4
Return observed best params in tuning #196
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
Summary: Return observed best parameters instead of model-predicted best by setting use_model_predictions=False in get_best_parameterization(). With few tuning trials, the Bayesian surrogate model may not be well-calibrated and could return suboptimal parameters that don't match the actual best observed trial. This has confused users in the past and looks like a bug in the tutorial notebook. Differential Revision: D91884588
52ae29e to
e5c76a4
Compare
Summary: Pull Request resolved: facebookincubator#196 Return observed best parameters instead of model-predicted best by setting use_model_predictions=False in get_best_parameterization(). With few tuning trials, the Bayesian surrogate model may not be well-calibrated and could return suboptimal parameters that don't match the actual best observed trial. This has confused users in the past and looks like a bug in the tutorial notebook. Differential Revision: D91884588
e5c76a4 to
019e217
Compare
Summary: Add a `use_model_predictions` parameter to `tune_mcgrad_params` with `False` as the default. When False, returns the actual observed best trial parameters. When True, uses the Bayesian surrogate model's predicted best parameters. The default is False because with few tuning trials, the surrogate model has high uncertainty and may predict a different optimum than the best observed trial. Users who want the model-predicted best can set this to True. Reviewed By: Lorenzo-Perini Differential Revision: D91884588
019e217 to
63df429
Compare
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #196 +/- ##
=======================================
Coverage ? 94.92%
=======================================
Files ? 9
Lines ? 1753
Branches ? 0
=======================================
Hits ? 1664
Misses ? 89
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary: Add a `use_model_predictions` parameter to `tune_mcgrad_params` with `False` as the default. When False, returns the actual observed best trial parameters. When True, uses the Bayesian surrogate model's predicted best parameters. The default is False because with few tuning trials, the surrogate model has high uncertainty and may predict a different optimum than the best observed trial. Users who want the model-predicted best can set this to True. Reviewed By: Lorenzo-Perini Differential Revision: D91884588
Summary: Add a `use_model_predictions` parameter to `tune_mcgrad_params` with `False` as the default. When False, returns the actual observed best trial parameters. When True, uses the Bayesian surrogate model's predicted best parameters. The default is False because with few tuning trials, the surrogate model has high uncertainty and may predict a different optimum than the best observed trial. Users who want the model-predicted best can set this to True. Reviewed By: Lorenzo-Perini Differential Revision: D91884588
Summary: Add a `use_model_predictions` parameter to `tune_mcgrad_params` with `False` as the default. When False, returns the actual observed best trial parameters. When True, uses the Bayesian surrogate model's predicted best parameters. The default is False because with few tuning trials, the surrogate model has high uncertainty and may predict a different optimum than the best observed trial. Users who want the model-predicted best can set this to True. Reviewed By: Lorenzo-Perini Differential Revision: D91884588
|
This pull request has been merged in ca9fb7b. |
Summary:
Return observed best parameters instead of model-predicted best by setting
use_model_predictions=False in get_best_parameterization(). With few tuning
trials, the Bayesian surrogate model may not be well-calibrated and could
return suboptimal parameters that don't match the actual best observed trial.
This has confused users in the past and looks like a bug in the tutorial notebook.
Differential Revision: D91884588