Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dimension of kernels #59

Open
mr-easy opened this issue Mar 14, 2020 · 1 comment
Open

Dimension of kernels #59

mr-easy opened this issue Mar 14, 2020 · 1 comment

Comments

@mr-easy
Copy link

mr-easy commented Mar 14, 2020

I am a bit confused with the dimension of the kernel function.

k: R^n x R^n -> R
Sigma = COV(X, X') = k(t, t')

What is n here? Are we having a 1-dimensional regression problem or n-dimensional? The covariance matrix should be nxn, while the kernel will give just a scalar real value?

Sorry for adding it as an issue. Can't find any way to comment.

And THANKS a lot for this great article, really helpful.

@grtlr
Copy link
Contributor

grtlr commented Jun 16, 2020

Sorry for replying so late, for some reason this issue has slipped through.

The inputs to the kernel function can be high-dimensional vectors; its result will be a scalar value. The covariance matrix has as many rows and columns as there are samples in the dataset and the kernel function is evaluated for each pair in the matrix.

I hope this clears things up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants