Create a kernel transformer using the given dataset as one of the arguments to the kernel function.
Create a kernel transformer using the given dataset as one of the arguments to the kernel function. That is, if the kernel function is \phi(x, y), this binds one of the arguments using the given data.
training data matrix to be used for kernel transformation
a kernel transformer that can be applied to train or test data
Gaussian (RBF) kernel generator. The RBF kernel on two samples x, y is K(x, y) = exp(-||x - y||^2 * gamma)