Skip to content

Integrating over something else than priors #1276

Answered by Balandat
ArnoVel asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, sorry for the delayed response here.

I essentially just want to know if this idea of incorporating some sampling into the main forward loop is a good idea, or whether I should just resort to different solutions altogether !

I don't see any issues with performing sampling in the forward call per se, what I'm worried about is that your use fit_gpytorch_model - that may cause some issues. Since the noise model is in fact part of the model it doesn't seem right to have this in the forward pass (as that is itself called during model fitting). You could of course warm-start things and fit the noise model separately before the full model, and then start from the fitted noise model.

Also, …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by saitcakmak
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #338 on June 29, 2022 22:13.