The posterior can be represented by
where
Let's feature dimension be D.
First of all, create D by n random frequencies.
where
$\phi = \frac{\sigma_f}{\sqrt{D}}[cos(\mathbf{\omega}^T x_{new})^T sin(\mathbf{\omega}^T x_{new})^T]^T$
From the mean value of the posterior, the weight is defined like the following
-
$\mathbf{w} = A^{-1}\Phi^{T}\mathbf{y}$ .
The vector
Rank 1 update.
$A_{t} = A_{t-1} + \phi \phi^{T}$ $A_{t} = R_{t}^T R_{t}$ $ R_{t} = cholesky(A_{t})^{T}$ $b_{t} = b_{t-1} + \phi y_{t}^T$ $w_{t} = A_{t}^{-1} b_{t}$
$y_{\ast} = \phi^T w$ $\phi^T A^{-1} \phi = \phi^T(R^{T}R)^{-1}\phi$ $\phi = R^{T}v$ $var = \sigma_{n}^2(1+v^{T}v)$

