5,322
edits
Line 187: | Line 187: | ||
; Polynomial Kernel | ; Polynomial Kernel | ||
* See [[Wikipedia:Polynomial kernel]] | * See [[Wikipedia:Polynomial kernel]] | ||
* | * \(K(x,z) = (c+x^Tz)^d\) | ||
* For | * For \(d=2\), we have | ||
\[ | |||
\begin{align} | |||
(1+x^Tz)^2 &= 1 + 2(x^Tz) + (x^Tz)^2\\ | |||
&= 1 + 2 \sum x_i z_i + (\sum x_i z_i)(\sum x_j z_j)\\ | |||
&= 1 + 2 \sum x_i z_i + 2\sum_{i < j} (x_i x_j) (z_i z_j) + \sum (x_i^2)(z_i)^2\\ | |||
&= 1 + \sum (\sqrt{2}x_i) (\sqrt{2}z_i) + \sum_{i < j} (\sqrt{2} x_i x_j)(\sqrt{2} z_i z_j) + \sum x_i^2 z_i^2 | |||
\end{align} | |||
\] | |||
* The dimension of the feature map associated with this kernel is exponential in d | * The dimension of the feature map associated with this kernel is exponential in d | ||
** There are | ** There are \(1+n+\binom{n}{2} + ... + \binom{n}{d} = O(n^d)\) terms | ||
==Learning Theory== | ==Learning Theory== |