Perform a kernel transformation on a single element.
Perform a kernel transformation on a single element.
input data to compute kernel on.
a dense vector containing the transformed data.
Perform kernel transformation of a given dataset.
Perform kernel transformation of a given dataset. If the kernel function is \phi, this computes \phi(x, y) for all rows in the given dataset.
input data to compute kernel on.
a kernel matrix containing the output of the transformation
Internal function used to lazily populate the kernel matrix.
Internal function used to lazily populate the kernel matrix.
NOTE: This function returns a *cached* RDD and the caller is responsible for managing its life cycle.
RDD to compute kernel on
a pair containing the RDD for the column block and the diagonal block