calc_doc_cos: Computes cosine scores between documents in a corpus

Description Usage Arguments Details Value See Also

View source: R/calc_doc_cos.R

Description

Computes cosine scores between documents in a corpus

Usage

1

Arguments

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

Details

Last modified on: May 24, 2015

Value

sorted document index pairs in terms of pairwise cosine scores (4 \times (D*D/2) matrix)

See Also

Other corpus: calc_doc_tf, gen_corpus


clintpgeorge/ldamcmc documentation built on Feb. 22, 2020, 12:39 p.m.