Skip to content

[Question] How reverse engineering RBF-Kernel #1890 #1894

Answered by jacobrgardner
makinzm asked this question in Q&A
Discussion options

You must be logged in to vote

Let x1 = [sqrt(2)/4, sqrt(2)/4] and x2 = [-sqrt(2)/4, -sqrt(2)/4], and assume a lengthscale of 1.

Then, ||x1 + x1||^2 = ||x2 + x2||^2 = 1, but ||x1 + x2||^2 = ||x2 + x1||^2 = 0.

So the 2x2 kernel matrix would be exp(-I) = [[1/e, 1], [1, 1/e]].

This matrix has eigenvalues 1/e + 1 and 1/e - 1. 1/e - 1 is negative, so the matrix isn't positive definite.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@makinzm
Comment options

Answer selected by gpleiss
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