Open ScottClaessens opened 2 weeks ago
Good question! Maybe the alternative parameterizations/priors of the GP using lengthscale is better in this sense? This is like the "McElreath" parameterization of GPs but it is not what most software uses (including the built-in Stan functions).
I agree we could probably reparametrize. I'll take a look at this soon.
@ErikRingen We have discussed this before, but often the model throws (many) positive definite warnings at the beginning of sampling, as shown below. My understanding is that these warnings are harmless. But users may be wonder about the meaning of these warnings and whether they should be concerned.
The warnings point to this part of the Stan code, suggesting that it is specific to the distance Gaussian Processes:
We could suppress these warnings. But is there any way we can improve the Stan code here? For example, by declaring the matrices as
cov_matrix
andcholesky_factor_cov
instead?