initialize_parameters | R Documentation |
Initialize the similarity matrix S based on k-nearest neighbors.
initialize_parameters(X, y, ncomp, k)
X |
Data matrix of size n x d (n samples, d features). |
y |
Label vector of length n (not directly used here but kept for consistency). |
ncomp |
Reduced dimension (not used here but included for consistency). |
k |
Number of neighbors. |
A list containing the initialized similarity matrix S.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.