Description Usage Arguments Value Examples
This is the affinity Matrix function extracted from SNFtool package. Computes affinity matrix from a generic distance matrix
1 | affinityMatrix(Diff, K = 20, sigma = 0.5)
|
Diff |
Distance matrix |
K |
Number of nearest neighbors |
sigma |
Variance for local model |
Returns an affinity matrix that represents the neighborhood graph of the data points.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.