Finding p(θ|D) in bo torch #2890
Unanswered
MatthewCulbert343
asked this question in
Q&A
Replies: 1 comment
-
Sorry about the late response here. What is the strange behavior that your sampler exhibits? One thing to note is that botorch/botorch/models/gp_regression.py Lines 147 to 153 in e7fef3b model(train_x) returns the posterior distribution in the transformed rather than the original space.
You can either use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am very new to Bayesian optimization. I am trying to sample the posterior probability distribution of a set of hyperparameters for some given data {p(θ|D) where θ is the hyperparameters of the model and D is the training data}. From my understanding: p(θ|D) = p(D|θ)p(θ). Where p(D|θ) is the likelihood function given by ExactMarginalLogLikelihood on a single task GP model and p(θ) is some prior (I am using a uniform distribution). My sampler is exhibiting some strange behavior, so I wanted to check if there were issues with my botorch code snippet. Does the following code setup the p(θ|D) distribution correctly? If not, what should I change?
Beta Was this translation helpful? Give feedback.
All reactions