Gaussian Process as default setting #1513
-
Thank you for your development.
I'm sorry for my elementary questions. Thank you for your kindness. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
You can pass an
What is the need for implementing your own Cholesky decomposition? BoTorch uses Cholesky decomposition during model fitting and for sampling from the posteriors. We use the implementation from PyTorch with some wrappers from GPyTorch to handle possible non-PSD matrices. |
Beta Was this translation helpful? Give feedback.
-
Thank you a lot for your kindness and detail explanation. I am using SingleTaskGP at 2 patterns bellow.
2
When first one used, mll is like below. (only remarkable part)
When second one used, mll is like below. (only remarkable part)
According to above difference between 1 and 2,
What is different do you think? Actually, when 2nd one and fit_gpytorch_model(mll, optimizer = fit_gpytorch_torch) are used, next point suggestion is better and more efficiently converged than 1st one. And 2nd one used with fit_gpytorch_model(mll) without fit_gpytorch_model(mll, optimizer = fit_gpytorch_torch) Q5 Why 2nd one(used with fit_gpytorch_model(mll, optimizer = fit_gpytorch_torch)) is better(good next point) do you think? I'm sorry for my complex questions and my poor knowledge. Thank you. |
Beta Was this translation helpful? Give feedback.
fit_gpytorch_model
is the deprecated API for fitting models. It has been replaced withfit_gpytorch_mll
but we're keeping it around for a while for backwards compatibility reasons. It callsfit_gpytorch_mll
under the hood.You can pass an
optimizer
tofit_gpytorch_mll
as well. We generally use scipy optimizers for fitting the Exact GP models, and use torch optimizers for approximate inference.