Skip to content

Spatiotemporal GP exploiting Kronecker Structure #2367

Answered by Turakar
ekinugurel asked this question in Q&A
Discussion options

You must be logged in to vote

To inspect what solve strategy linear_operator uses, you can use a debugger and step into the code - I am not aware of any better approach. Your entry point can be the log_prob() function in MultivariateNormal.

linear_operator supports two solve strategies: Modified conjugate gradients (paper) and Cholesky decomposition. It switches from Cholesky to CG based on the size of the LinearOperator. This can be controlled via gpytorch.settings.max_cholesky_size(...).

For solving, there are two ways the kronecker structure can be exploited by linear_operator:

  1. If your outermost LinearOperator is a KroneckerProductLinearOperator, it will exploit the Kronecker structure directly and compute the sol…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gpleiss
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