Skip to content
Discussion options

You must be logged in to vote

Hi @mohammad-saber. The default kernel of the SingleTaskGP is defined here
https://github.com/pytorch/botorch/blob/70143a73fec92d0df9ed6707baedf9215b8ac44d/botorch/models/gp_regression.py#L123-L133
It's an ARD Matern 5/2 kernel with an output scale.

Looking more closely, your question is about passing in a custom kernel. In this case, it will be used as-is, so you should define it with a ScaleKernel as in your example.

Replies: 1 comment

Comment options

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