Skip to content
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

Fixed bug that causes GP to only use one column of distance matrix #226

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

daniel-saunders-phil
Copy link

@daniel-saunders-phil daniel-saunders-phil commented Mar 13, 2023

issue #164
Noted that the Gaussian process code was only using one column of the distance matrix. I updated the input dimensions argument to use all 10 columns. Reran associated plotting cells.

New notebook finds substantially stronger estimates for spatial covariance than old notebook. The new covariances are also even stronger than those reported in the textbook. Its a bit unclear what would reproduce McElreath's textbook example exactly - the textbook might have a typo or code error. And in the 2023 videos for statistical rethinking, it looks like he might also have stronger covariances. So without a clear target for what we are trying to reproduce, I think we should fix the bug and leave the new stronger covariances as is. But do let me know if there is a better plan here.

…nce matrix. Changed input dimensions to exploit the whole distance matrix
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant