Description Usage Arguments Value
Cosine similarity between rows of two matrices
1 | row_cos_sim(x, y, return_log = FALSE)
|
x |
numeric matrix of dimension |
y |
numeric matrix of dimension |
return_log |
boolean, if |
matrix of dimension n
times m where the (i,j)th element is the cosine similarity between the ith row of x
and the jth row of y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.