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

Bug: Enable SaasPyroModel to sample from prior #2465

Closed
wants to merge 1 commit into from

Conversation

hvarfner
Copy link
Contributor

Summary:
With no observations, FBGPs should still be able to fit the model by sampling from the prior. This solution allows that to happen through fit_fully_bayesian_model_nuts.

Note that this is much slower (almost instant vs. NUTS) than simply sampling from the individual priors, but keeps a consistent interface.

Reviewed By: saitcakmak

Differential Revision: D61145689

Summary:
With no observations, FBGPs should still be able to fit the model by sampling from the prior. This solution allows that to happen through fit_fully_bayesian_model_nuts.

Note that this is much slower (almost instant vs. NUTS) than simply sampling from the individual priors, but keeps a consistent interface.

Reviewed By: saitcakmak

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

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

Copy link

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.98%. Comparing base (3f5fcd6) to head (d5aab71).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2465   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files         191      191           
  Lines       16823    16824    +1     
=======================================
+ Hits        16821    16822    +1     
  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 has been merged in a7be6cb.

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