Thin-plate kernel, NaNs as variance #2406
Unanswered
aspirinium
asked this question in
Q&A
Replies: 1 comment
-
Do you have a full repro? This seems like there could be some numerical issues going on. First of all, are you using the I don't understand why you're setting It may sense to rewrite the covariance like this:
are your inputs here? |
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
-
Hi,
I am implementing a thin-plate kernel for a 2D space, as described in [http://gpss.cc/gpip/abstract/owilliams.pdf](this paper). However, although the estimates for the mean function seem to be correct, the output of
observed_pred.variance
istensor([nan, nan, nan, ..., nan, nan, nan])
. I've been playing around with different parameters, but couldn't resolve the problem and hoped I could gain some insights here.My implementation of the kernel is pretty straightforward:
P.S.: I have just started working with GPyTorch a few days ago and love it, so thanks a lot for your work!
Beta Was this translation helpful? Give feedback.
All reactions