Description Usage Arguments Value Author(s)
knn_weights
takes a weight vector w
and sets the ith
component w[i]
to zero if either of the two corresponding nodes
is not among the other's k
nearest neighbors.
1 | knn_weights(w, k, n)
|
w |
A vector of nonnegative weights. The ith entry |
k |
The number of nearest neighbors |
n |
The number of data points. |
A vector w of weights for convex clustering.
Eric C. Chi, Kenneth Lange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.