-
-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chp_14 potentially incorrect covariance functions #164
Comments
Even if taking it from a different angle, I have been fighting with this covariance function for a few days now, and indeed what you proposed here solved my problem (as far as I understand). I have been working on the exercises and ex. 14M5 asks to reimplement the same model. If I redo the implementation proposed in cell 72 of Chp_14.ipynb it works fine, but then I tried to implement the model without writing a custom class for the mean, but simply using the same form as for the previous models and just change the covariance matrix. Here is what I came up with:
With this model I kept getting sampling errors:
and I indeed suspected that it was due to the lack of a noise term in the covariance since I got the same error with the original model when I set I then appended |
Hi, I also got stuck on this. It seems like the notebook changed at some point in the last two years because the current code looks quite a bit different. But the bug seems to have stuck around. It looks like the simplest fix, in terms of keeping as much of the pymc code as possible is
|
I could be wrong but I believe in Chp_14.ipynb cell 72, the covariance function
SIGMA = etasq * pm.gp.cov.Exponential(input_dim=1, ls=rhosq)
is not correct since it only takes the first column of Dmat_ord I think a correct covariance function would be something like below:
a similar problem is also present in cell 55.
The text was updated successfully, but these errors were encountered: