Help with variational Nearest neighborGP #2100
Chengwei94
started this conversation in
General
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I was testing this tutorial https://docs.gpytorch.ai/en/latest/examples/07_Pyro_Integration/Pyro_GPyTorch_Low_Level.html but with variational nearest neighbor GP. The only thing I changed in the tutorial is in the init, but the posterior is just a straight line. Is there something I am doing wrong? Theres a lot of negative variance warning. I tried changing the kernel but results are around the same. Thanks!
``
from gpytorch.variational.nearest_neighbor_variational_strategy import NNVariationalStrategy
class PVGPRegressionModel(gpytorch.models.ApproximateGP):
def init(self, num_inducing=100, name_prefix="mixture_gp"):
self.name_prefix = name_prefix
``
Beta Was this translation helpful? Give feedback.
All reactions