Skip to content
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

Delete legacy get posterior mean #2613

Closed
wants to merge 2 commits into from

Conversation

saitcakmak
Copy link
Contributor

Summary: Legacy models have been deprecated for a while and they're being removed one by one. This particular one was being used to construct MC-PosteriorMean (qSimpleRegret) and was used only in compute_posterior_pareto_frontier. Updated the usage with MBM equivalent and removed the code.

Differential Revision: D60396661

Summary:
This has been deprecated for quite some time. We can safely remove it.

I left the storage backwards compatibility code in-place. We can still load old `ListSurrogate` objects as a `Surrogate`.

Differential Revision: D60393343
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jul 29, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60396661

@codecov-commenter
Copy link

codecov-commenter commented Jul 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.20%. Comparing base (57c9d18) to head (3a489c8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2613      +/-   ##
==========================================
- Coverage   95.21%   95.20%   -0.01%     
==========================================
  Files         495      492       -3     
  Lines       47721    47649      -72     
==========================================
- Hits        45436    45365      -71     
+ Misses       2285     2284       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Summary:
Pull Request resolved: facebook#2613

Legacy models have been deprecated for a while and they're being removed one by one. This particular one was being used to construct MC-PosteriorMean (qSimpleRegret) and was used only in `compute_posterior_pareto_frontier`. Updated the usage with MBM equivalent and removed the code.

Reviewed By: esantorella

Differential Revision: D60396661
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60396661

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 8587b30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants