Calculate k-nearest-neighbor graph from affinity matrix and normalize it as transition matrix
affinity matrix (its elements are non-negative real numbers)
the number of k nearest neighbors
a transition matrix of the same shape as W
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.