Replies: 1 comment
-
Hi, your
and then running your last block of code works. |
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.
-
I am new to GPytorch and my question might seem rudimentary! but I am really stuck!
To explain my problem, I use a simple GP regressor to explain the problem. Let's say I have the following model in GPytorch to train a regressor:
Now, I can do the prediction automatically by the GPytorch built-in functionality as:
But since I would like to make some other inferences, I would use the optimized hyperparameters for some calculations; I realized that I could not even replicate the prediction made by the model as above! Here my code for making the prediction based on the model hyperparameters:
Problem:
The manual prediction (pred_mean and pred_var) is entirely different from those obtained from the GPytorch built-in functionality (model_mean, model_var). I have not been able to figure out where I go wrong.
Any help is highly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions