Implementing a diagonal kernel #134
Unanswered
zwei-beiner
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to implement a diagonal noise kernel (equivalent to scikit-learn's WhiteKernel). (I know that there is the
diag
option in tinygp but I am trying to create a block-diagonal covariance matrix for a multi-output GP, for which each block can have different diagonal noise, so I have to implement this as a kernel.)However, I get strange results at the edges of the predictions:
I have marked the strange predictions with the red arrows:
I am trying to debug this behaviour, but I am not sure how. Any help would be appreaciated!
Code:
Beta Was this translation helpful? Give feedback.
All reactions