-
I tried to use IndexKernel similar as in
Which is passed as product kernel to
Then I fit the model with botorch.fit.fit_gpytorch_mll Depending on eta the sklearn fitting fails with
which I will inspect myself. However, when botorch then attempts to sample new initial hyperparameter values in
Any ideas what I must change to make this sampling work? I already tried updating to botorch 0.11.3 as there was report of similar error which should have been resolved in 0.11.3 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @Hrovatin. I believe this is an issue with the LKJ prior you're using. See #1860 |
Beta Was this translation helpful? Give feedback.
-
I resolved it as follows: Define closure that is able to use samples from
Set prior with this closure on IndexKernel
I also needed to increase n fitting attempts as more re-initializations of priors were needed for successful fit.
|
Beta Was this translation helpful? Give feedback.
I resolved it as follows:
Define closure that is able to use samples from
LKJCovariancePrior
to set parameters of IndexKernel. I did not find an exact way to solve the equation for decomposing sampled cov matrix into kernel parameters, so I used gradient-based solver.