Skip to content

Covariance Matrix from ExactGP is not Positive Definite #2120

Answered by gpleiss
VhaoYan asked this question in Q&A
Discussion options

You must be logged in to vote

This is expected due to numerical instabilities. All of the internals of GPyTorch add a small constant diagonal to covariance matrices as needed in order to make the covariance matrix positive definite.

Note that all of the covariance matrices are PD in exact arithmetic, but not necessarily PD in floating point precision due to round-off errors.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by VhaoYan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants