Skip to content

Custom ScaleKernel with ARD prior (batched GPs) #2537

Answered by jacobrgardner
coding-ecoli asked this question in Q&A
Discussion options

You must be logged in to vote

Unless you specifically want to be working with an outputscale I'm just a different way, I would honestly just copy ScaleKernel and implement what you need it to do rather than extending the original class. The only real reason to extend ScaleKernel would be code reuse -- is there code in ScaleKernel that you'd still be using?

For your very simple example, I'd just extend ScaleKernel and override the outputscale getters and setters to just return 1/ the outputscale:

def outputscale(self):

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@coding-ecoli
Comment options

Answer selected by coding-ecoli
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