Returns the adjacency matrix of a knn graph from the given distance matrix
1 |
data |
a matrix of points as rows |
k |
number of nearest neighbors to compute |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.