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
Base trait for functions that compute a kernel on a given dataset.