-
Notifications
You must be signed in to change notification settings - Fork 358
Work around CV errors due to insufficient data #4123
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
|
This pull request was exported from Phabricator. Differential Revision: D79915007 |
Summary: It is possible to fit a TorchAdapter with only one data point but it is not possible to run cross validation with it. This can lead to errors since we rely on CV statistics in `BestModelSelector`, which is used in BOTL. This diff gracefully handles such errors rather than erroring out in the experiment. Differential Revision: D79915007
2708e01 to
e0a5d89
Compare
|
This pull request was exported from Phabricator. Differential Revision: D79915007 |
Summary: It is possible to fit a TorchAdapter with only one data point but it is not possible to run cross validation with it. This can lead to errors since we rely on CV statistics in `BestModelSelector`, which is used in BOTL. This diff gracefully handles such errors rather than erroring out in the experiment. Reviewed By: esantorella Differential Revision: D79915007
e0a5d89 to
11962d3
Compare
Summary: Pull Request resolved: facebook#4123 It is possible to fit a TorchAdapter with only one data point but it is not possible to run cross validation with it. This can lead to errors since we rely on CV statistics in `BestModelSelector`, which is used in BOTL. This diff gracefully handles such errors rather than erroring out in the experiment. Reviewed By: esantorella Differential Revision: D79915007
|
This pull request was exported from Phabricator. Differential Revision: D79915007 |
11962d3 to
e399172
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4123 +/- ##
=======================================
Coverage 96.08% 96.08%
=======================================
Files 566 566
Lines 57205 57219 +14
=======================================
+ Hits 54965 54979 +14
Misses 2240 2240 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This pull request has been merged in 1964c45. |
Summary: It is possible to fit a TorchAdapter with only one data point but it is not possible to run cross validation with it. This can lead to errors since we rely on CV statistics in
BestModelSelector, which is used in BOTL. This diff gracefully handles such errors rather than erroring out in the experiment.Differential Revision: D79915007