Ex. 18.15
Ex. 18.15
Kernel PCA. In Section 18.5.2 we show how to compute the principal component variables \(\bb{Z}\) from an uncentered inner-product matrix \(\bb{K}\). We compute the eigen-decomposition \((\bI-\bb{M})\bb{K}(\bI-\bb{M})=\bU\bD^2\bU^T\), with \(\bb{M}=\bb{1}\bb{1}^T/N\), and then \(\bb{Z}=\bU\bD\). Suppose we have the inner-product vector \(\bb{k}_0\), containing the \(N\) inner-products between a new point \(x_0\) and each of the \(x_i\) in our training set. Show that the (centered) projections of \(x_0\) onto the principal-component directions are given by
Soln. 18.15
Note that \(\tilde{\mathbb{X}} = (\bI-\bb{M})\bX = \bb{U}\bb{D}\bb{V}^T\), we have \((\bI-\bb{M})\bX\bb{V} = \bb{U}\bb{D}\) since \(\bb{V}^T\bb{V}=\bb{I}\). Thus we can write
On the other hand, we have
Therefore we obtain