Can you explain more about how the kernel trick specifically works?
back
1 comments
Basically, the idea of feature spaces is to blow up the data into high dimensions. So, we use
x' = f(x)
as our data, instead of x. It turns out that in lots of machine learning algorithms (notably SVMs), you end up only needing inner products between different data elements. That is, we need to compute x^T y for two data elements x and y. In feature space, we need could compute this by doing f(x)^T f(y). However, it turns out that for certain feature spaces (like polynomials) one can compute the number f(x)^T f(y) quite quickly with out ever explicitly forming the big vectors x' or y'.
You stopped just short of the explanation I was hoping for. :)
Try section 7 of these notes:
http://see.stanford.edu/materials/aimlcs229/cs229-notes3.pdf
see http://videolectures.net/mlss09uk_schoelkopf_km/ - kernel methods in general, not limited to SVM