Skip to content

Commit

Permalink
tiny change
Browse files Browse the repository at this point in the history
  • Loading branch information
kshirley committed Sep 25, 2013
1 parent 74b4715 commit fe1aec8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion R/postprocess.R
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ jsviz <- function(text=character(), doc.id=integer(), word.id=integer(), topic.i
if (N != length(topic.id)) print ("Number of topic.id elements not equal to number of word.id elements")

# Get estimated probability matrices theta and phi, and main.topic for each document:
dat <- getProbs(word.id, doc.id, topic.id, vocab, alpha=0.01, beta=0.01, sort.topics="byDocs", K=K)
dat <- getProbs(word.id, doc.id, topic.id, vocab, alpha=0.01, beta=0.01, sort.topics="byTerms", K=K)

# re-set topic.id and name it 'topics':
topics <- dat$topic.id
Expand Down
16 changes: 8 additions & 8 deletions inst/shiny/hover/rcloud/lda.json

Large diffs are not rendered by default.

0 comments on commit fe1aec8

Please sign in to comment.