Description Usage Arguments Value
This function computes 'distinctiveness' and 'saliency' as defined in Chuang, et al (2012), 'Termite'.
1 | token.rank(word.id = integer(), topic.id = integer(), phi.hat = numeric())
|
word.id |
an integer vector with the token id of each token occurrence in the data. |
topic.id |
an integer vector with the topic id for each token in the data. |
phi.hat |
a numeric (K x W) matrix with topic distributions on each of the K rows |
A list of two length-W vectors, the distinctiveness and saliency of each of the W tokens in the vocab
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.