-
Notifications
You must be signed in to change notification settings - Fork 412
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
Supporting InputTransforms
in SparseOutlierLikelihood
and get_posterior_over_support
#2659
Conversation
3ca453d
to
858b587
Compare
This pull request was exported from Phabricator. Differential Revision: D67605578 |
This pull request was exported from Phabricator. Differential Revision: D67605578 |
Summary: Pull Request resolved: pytorch#2659 Adding support to using the `SparseOutlierLikelihood` in conjunction with input transforms. In `eval` model, BoTorch applies input transforms in the posterior call. For this reason, the likelihood will receive un-transformed inputs during training, but transformed inputs during inference. So we need to make sure to store the transformed inputs in the training data cache of `SparseOutlierNoise` for inference comparisons. Differential Revision: D67605578
858b587
to
5888caa
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2659 +/- ##
=======================================
Coverage 99.98% 99.98%
=======================================
Files 200 200
Lines 18155 18157 +2
=======================================
+ Hits 18153 18155 +2
Misses 2 2 ☔ View full report in Codecov by Sentry. |
…sterior_over_support` (pytorch#2659) Summary: Adding support to using the `SparseOutlierLikelihood` in conjunction with input transforms. To do this, we need to pass the transformed inputs separately to any of the marginal likelihood computation similar to the [model closures in the model fitting routines](https://github.com/pytorch/botorch/blob/466da73a18731d45b034bfd36011bb3eb150fdd8/botorch/optim/closures/model_closures.py#L185). Differential Revision: D67605578
5888caa
to
5e49c0c
Compare
This pull request was exported from Phabricator. Differential Revision: D67605578 |
input_transform
in SparseOutlierLikelihood
InputTransforms
in SparseOutlierLikelihood
and get_posterior_over_support
…sterior_over_support` (pytorch#2659) Summary: Adding support to using the `SparseOutlierLikelihood` in conjunction with input transforms. To do this, we need to pass the transformed inputs separately to any of the marginal likelihood computation similar to the [model closures in the model fitting routines](https://github.com/pytorch/botorch/blob/466da73a18731d45b034bfd36011bb3eb150fdd8/botorch/optim/closures/model_closures.py#L185). Differential Revision: D67605578
5e49c0c
to
fb543f1
Compare
This pull request was exported from Phabricator. Differential Revision: D67605578 |
…sterior_over_support` (pytorch#2659) Summary: Adding support to using the `SparseOutlierLikelihood` in conjunction with input transforms. To do this, we need to pass the transformed inputs separately to any of the marginal likelihood computation similar to the [model closures in the model fitting routines](https://github.com/pytorch/botorch/blob/466da73a18731d45b034bfd36011bb3eb150fdd8/botorch/optim/closures/model_closures.py#L185). Differential Revision: D67605578
fb543f1
to
890c6e0
Compare
This pull request was exported from Phabricator. Differential Revision: D67605578 |
…sterior_over_support` (pytorch#2659) Summary: Adding support to using the `SparseOutlierLikelihood` in conjunction with input transforms. To do this, we need to pass the transformed inputs separately to any of the marginal likelihood computation similar to the [model closures in the model fitting routines](https://github.com/pytorch/botorch/blob/466da73a18731d45b034bfd36011bb3eb150fdd8/botorch/optim/closures/model_closures.py#L185). Differential Revision: D67605578
890c6e0
to
88efee0
Compare
This pull request was exported from Phabricator. Differential Revision: D67605578 |
…sterior_over_support` (pytorch#2659) Summary: Adding support to using the `SparseOutlierLikelihood` in conjunction with input transforms. To do this, we need to pass the transformed inputs separately to any of the marginal likelihood computation similar to the [model closures in the model fitting routines](https://github.com/pytorch/botorch/blob/466da73a18731d45b034bfd36011bb3eb150fdd8/botorch/optim/closures/model_closures.py#L185). Reviewed By: saitcakmak Differential Revision: D67605578
88efee0
to
3bd6fdf
Compare
This pull request was exported from Phabricator. Differential Revision: D67605578 |
This pull request has been merged in aef25d7. |
Summary:
Adding support to using the
SparseOutlierLikelihood
in conjunction with input transforms. To do this, we need to pass the transformed inputs separately to any of the marginal likelihood computation similar to the model closures in the model fitting routines.Differential Revision: D67605578