| similarity_cosine | R Documentation |
Compute cosine similarity between rows of matrix.
similarity_cosine(x)
x |
Numeric matrix, where rows are cases and columns are features. |
matrix
set.seed(1)
similarity_cosine(matrix(runif(30), nrow = 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.