-
Notifications
You must be signed in to change notification settings - Fork 312
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
Unify interface and data handling of model training and generalization metrics #2367
Conversation
This pull request was exported from Phabricator. Differential Revision: D56105161 |
e1c6f99
to
339afac
Compare
…n metrics (facebook#2367) Summary: This commit unifies the interface of and the loading of the model's training data in `_predict_on_cross_validation_data` and `_predict_on_training_data`. Previously, `_predict_on_training_data` would reload the data from the experiment, which could lead to differences in the number of observations to `_predict_on_cross_validation_data` if the model was not fit on all existing data. In addition, this commit introduces a `force_refit` option for `get_fitted_model_bridge` which forces a reloading of the data and a refitting of the model to the reloaded data, even if a fitted, potentially out-dated model is on the scheduler. Differential Revision: D56105161
This pull request was exported from Phabricator. Differential Revision: D56105161 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2367 +/- ##
==========================================
+ Coverage 94.91% 95.29% +0.38%
==========================================
Files 491 495 +4
Lines 47788 48126 +338
==========================================
+ Hits 45356 45863 +507
+ Misses 2432 2263 -169 ☔ View full report in Codecov by Sentry. |
…n metrics (facebook#2367) Summary: This commit unifies the interface of and the loading of the model's training data in `_predict_on_cross_validation_data` and `_predict_on_training_data`. Previously, `_predict_on_training_data` would reload the data from the experiment, which could lead to differences in the number of observations to `_predict_on_cross_validation_data` if the model was not fit on all existing data. In addition, this commit introduces a `force_refit` option for `get_fitted_model_bridge` which forces a reloading of the data and a refitting of the model to the reloaded data, even if a fitted, potentially out-dated model is on the scheduler. Differential Revision: D56105161
339afac
to
06b7e68
Compare
This pull request was exported from Phabricator. Differential Revision: D56105161 |
…n metrics (facebook#2367) Summary: This commit unifies the interface of and the loading of the model's training data in `_predict_on_cross_validation_data` and `_predict_on_training_data`. Previously, `_predict_on_training_data` would reload the data from the experiment, which could lead to differences in the number of observations to `_predict_on_cross_validation_data` if the model was not fit on all existing data. In addition, this commit introduces a `force_refit` option for `get_fitted_model_bridge` which forces a reloading of the data and a refitting of the model to the reloaded data, even if a fitted, potentially out-dated model is on the scheduler. Differential Revision: D56105161
06b7e68
to
d1229d3
Compare
This pull request was exported from Phabricator. Differential Revision: D56105161 |
…n metrics (facebook#2367) Summary: This commit unifies the interface of and the loading of the model's training data in `_predict_on_cross_validation_data` and `_predict_on_training_data`. Previously, `_predict_on_training_data` would reload the data from the experiment, which could lead to differences in the number of observations to `_predict_on_cross_validation_data` if the model was not fit on all existing data. In addition, this commit introduces a `force_refit` option for `get_fitted_model_bridge` which forces a reloading of the data and a refitting of the model to the reloaded data, even if a fitted, potentially out-dated model is on the scheduler. Reviewed By: sunnyshen321 Differential Revision: D56105161
d1229d3
to
446957e
Compare
This pull request was exported from Phabricator. Differential Revision: D56105161 |
…n metrics (facebook#2367) Summary: This commit unifies the interface of and the loading of the model's training data in `_predict_on_cross_validation_data` and `_predict_on_training_data`. Previously, `_predict_on_training_data` would reload the data from the experiment, which could lead to differences in the number of observations to `_predict_on_cross_validation_data` if the model was not fit on all existing data. In addition, this commit introduces a `force_refit` option for `get_fitted_model_bridge` which forces a reloading of the data and a refitting of the model to the reloaded data, even if a fitted, potentially out-dated model is on the scheduler. Reviewed By: sunnyshen321 Differential Revision: D56105161
446957e
to
0e0e41d
Compare
This pull request was exported from Phabricator. Differential Revision: D56105161 |
This pull request has been merged in f8d5377. |
Summary:
This commit unifies the interface of and the loading of the model's training data in
_predict_on_cross_validation_data
and_predict_on_training_data
. Previously,_predict_on_training_data
would reload the data from the experiment, which could lead to differences in the number of observations to_predict_on_cross_validation_data
if the model was not fit on all existing data.In addition, this commit introduces a
force_refit
option forget_fitted_model_bridge
which forces a reloading of the data and a refitting of the model to the reloaded data, even if a fitted, potentially out-dated model is on the scheduler.Differential Revision: D56105161