Description Usage Arguments Details Value
Compute soft cosine similarities for each pair of rows from given matrix and given weights
1 | sftMCosSimilarity(input_mat, weights)
|
input_mat |
numeric input matrix |
weights |
numeric vector of weights |
Soft cosine similarity allows accounting for (cor)relations between features.
Upper triangle matrix where {i, j} element is the cosine similarity of i-th and j-th row of the original matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.