K <- kernCompute(kern, X)
computes a kernel matrix for the given kernel type given an input data matrix. K <- kernCompute(kern, X1, X2)
computes a kernel matrix for the given kernel type given two input data matrices, one for the rows and one for the columns.
K <- kernDiagCompute(kern, X)
computes the diagonal of a kernel matrix for the given kernel.
K <- *X*kernCompute(kern1, kern2, X)
K <- *X*kernCompute(kern1, kern2, X1, X2)
same as above, but for cross combinations of two kernels, kern1
and kern2
.