update_similarity | R Documentation |
Update the similarity matrix S using the optimal subspace projection W.
update_similarity(X, W, k, r, epsilon = 1e-10)
X |
Data matrix of size n x d (n samples, d features). |
W |
Transformation matrix (d x ncomp). |
k |
Number of neighbors. |
r |
Parameter r controlling the influence of distances (should be > 1). |
epsilon |
Small constant to avoid division by zero (default is 1e-10). |
Updated similarity matrix S (n x n).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.