as.LDARep | R Documentation |
Constructs a LDARep
object for given elements lda
,
job
and id
.
as.LDARep(...) ## Default S3 method: as.LDARep(lda, job, id, ...) ## S3 method for class 'LDARep' as.LDARep(x, ...) is.LDARep(obj, verbose = FALSE)
... |
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()
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.