Description Usage Arguments Details Value See Also
Computes cosine scores between documents in a corpus
1 | calc_doc_cos(docs)
|
docs |
corpus document matrix, a D \times M matrix where D is the number of documents in the corpus and M is the number of features |
Last modified on: May 24, 2015
sorted document index pairs in terms of pairwise cosine scores (4 \times (D*D/2) matrix)
Other corpus: calc_doc_tf
,
gen_corpus
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.