-
Notifications
You must be signed in to change notification settings - Fork 409
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
make qNIPV not an AnalyticAcquisitionFunction
; optimize_acqf support clarity
#2286
Conversation
This pull request was exported from Phabricator. Differential Revision: D55843171 |
…t clarity (pytorch#2286) Summary: I put a `LogExpectedImprovement` instance into `optimize_acqf`, and when I got an error about it not having an attribute `X_pending`, I was not sure if this was a bug or if I did something known to be unsupported. - Make `qNegIntegratedPosteriorVariance` inherit from `AcquisitionFunction` rather than `AnalyticAcquisitionFunction`, because the functionality it was inheriting from `AnalyticAcquisitionFunction` was not relevant. - `qNegIntegratedPosteriorVariance` loses an error message about not supporting multi-output with a `PosteriorTransform` that is not scalarized and gains a unit test showing that it does. Differential Revision: D55843171
ec02d45
to
0da045b
Compare
This pull request was exported from Phabricator. Differential Revision: D55843171 |
…t clarity (pytorch#2286) Summary: I put a `LogExpectedImprovement` instance into `optimize_acqf`, and when I got an error about it not having an attribute `X_pending`, I was not sure if this was a bug or if I did something known to be unsupported. - Make `qNegIntegratedPosteriorVariance` inherit from `AcquisitionFunction` rather than `AnalyticAcquisitionFunction`, because the functionality it was inheriting from `AnalyticAcquisitionFunction` was not relevant. - `qNegIntegratedPosteriorVariance` loses an error message about not supporting multi-output with a `PosteriorTransform` that is not scalarized and gains a unit test showing that it does. Differential Revision: D55843171
…t clarity (pytorch#2286) Summary: I put a `LogExpectedImprovement` instance into `optimize_acqf`, and when I got an error about it not having an attribute `X_pending`, I was not sure if this was a bug or if I did something known to be unsupported. - Make `qNegIntegratedPosteriorVariance` inherit from `AcquisitionFunction` rather than `AnalyticAcquisitionFunction`, because the functionality it was inheriting from `AnalyticAcquisitionFunction` was not relevant. - `qNegIntegratedPosteriorVariance` loses an error message about not supporting multi-output with a `PosteriorTransform` that is not scalarized and gains a unit test showing that it does. Differential Revision: D55843171
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2286 +/- ##
=======================================
Coverage 99.97% 99.97%
=======================================
Files 197 197
Lines 17151 17152 +1
=======================================
+ Hits 17147 17148 +1
Misses 4 4 ☔ View full report in Codecov by Sentry. |
This pull request has been merged in e8cbbae. |
Summary:
I put a
LogExpectedImprovement
instance intooptimize_acqf
, and when I got an error about it not having an attributeX_pending
, I was not sure if this was a bug or if I did something known to be unsupported.qNegIntegratedPosteriorVariance
inherit fromAcquisitionFunction
rather thanAnalyticAcquisitionFunction
, because the functionality it was inheriting fromAnalyticAcquisitionFunction
was not relevant.qNegIntegratedPosteriorVariance
loses an error message about not supporting multi-output with aPosteriorTransform
that is not scalarized and gains a unit test showing that it does.Differential Revision: D55843171