Description Usage Arguments Value See Also Examples
Compute the kernel in arrays X.
1 | pairwise_kernels(X, kernel = "rbf")
|
X |
Array of pairwise kernels between samples. |
kernel |
The metric to use when calculating kernel between instances in a feature array. |
A kernel matrix K such that K_i, j is the kernel between the ith and jth vectors of the given matrix X.
1 2 3 | data(x)
affinity_matrix <- pairwise_kernels(X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.