Skip to content

Add a helper for producing a DeterministicModel using a Matheron path #2435

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

Closed
wants to merge 1 commit into from

Conversation

saitcakmak
Copy link
Contributor

Summary:
Out of the box, pathwise sampling code does not produce outputs that conform to BoTorch modeling conventions. This adds a helper that produces a Matheron path and wraps it in a GenericDeterministicModel using a helper that reshapes the path outputs to mimic the expected behavior from the model's posterior.

This will offer a straightforward replacement of get_gp_samples, which is being deprecated.

Differential Revision: D59941730

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

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

Copy link

codecov bot commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.98%. Comparing base (d14977c) to head (de37ea1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2435   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files         189      189           
  Lines       16675    16696   +21     
=======================================
+ Hits        16673    16694   +21     
  Misses          2        2           

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

@facebook-github-bot
Copy link
Contributor

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

saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Jul 19, 2024
…pytorch#2435)

Summary:
Pull Request resolved: pytorch#2435

Out of the box, pathwise sampling code does not produce outputs that conform to BoTorch modeling conventions. This adds a helper that produces a Matheron path and wraps it in a `GenericDeterministicModel` using a helper that reshapes the path outputs to mimic the expected behavior from the model's posterior.

This will offer a straightforward replacement of `get_gp_samples`, which is being deprecated.

Differential Revision: D59941730
saitcakmak added a commit to saitcakmak/botorch that referenced this pull request Jul 19, 2024
…pytorch#2435)

Summary:
Pull Request resolved: pytorch#2435

Out of the box, pathwise sampling code does not produce outputs that conform to BoTorch modeling conventions. This adds a helper that produces a Matheron path and wraps it in a `GenericDeterministicModel` using a helper that reshapes the path outputs to mimic the expected behavior from the model's posterior.

This will offer a straightforward replacement of `get_gp_samples`, which is being deprecated.

Differential Revision: D59941730
…pytorch#2435)

Summary:
Pull Request resolved: pytorch#2435

Out of the box, pathwise sampling code does not produce outputs that conform to BoTorch modeling conventions. This adds a helper that produces a Matheron path and wraps it in a `GenericDeterministicModel` using a helper that reshapes the path outputs to mimic the expected behavior from the model's posterior.

This will offer a straightforward replacement of `get_gp_samples`, which is being deprecated.

Reviewed By: esantorella

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 2771266.

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.

2 participants