Description Usage Arguments Details Value See Also Examples
Constructs a LDARep
object for given elements lda
,
job
and id
.
1 2 3 4 5 6 7 8 9 |
... |
additional arguments |
lda |
[ |
job |
[ |
id |
[ |
x |
[ |
obj |
[ |
verbose |
[ |
Given a list of LDA
objects the function returns
a LDARep
object, which can be handled using the getter functions
at getJob
.
[named list
] with entries id
for computation's name,
jobs
for the parameter settings and lda
for the results themselves.
Other constructor functions:
LDA()
,
as.LDABatch()
Other replication functions:
LDAPrototype()
,
LDARep()
,
getJob()
,
mergeRepTopics()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | res = LDARep(docs = reuters_docs, vocab = reuters_vocab, n = 4, K = 7, num.iterations = 20)
lda = getLDA(res)
res2 = as.LDARep(lda, id = "newName")
res2
getJob(res2)
getJob(res)
## Not run:
batch = LDABatch(docs = reuters_docs, vocab = reuters_vocab, n = 4, id = "TEMP", K = 30)
res3 = as.LDARep(batch)
res3
getJob(res3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.