Description Usage Arguments Value Examples
View source: R/cosine_similarity.R
function generates two vectors of probabilities with given cosine similarity
1 | generate_probs(size, cosine_sim)
|
size |
expected size of probabilities' vectors |
cosine_sim |
cosine similarity of two vectors |
matrix with probabilites in rows
1 | generate_probs(5, 0.9)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.