View source: R/LaplacianKernelLeastSquaresClassifier.R
adjacency_knn | R Documentation |
Calculates symmetric adjacency: objects are neighbours is either one of them is in the set of nearest neighbours of the other.
adjacency_knn(X, distance = "euclidean", k = 6)
X |
matrix; input matrix |
distance |
character; distance metric used in the |
k |
integer; Number of neighbours |
Symmetric binary adjacency matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.