phi.gaussian: Transform Function for Gaussian Kernel Approximation
Description
This function maps an input data row x with a given prefilter to an output
value in such a way as to approximate the Gaussian kernel
chaudhuri2011DPpack.
Usage
phi.gaussian(x, theta)
Value
Mapped value corresponding to one element of the transformed space.
Arguments
x
Vector or matrix corresponding to one row of the dataset X.
theta
Randomly sampled prefilter vector of length n+1, where n is the
length of x.