as.LDABatch | R Documentation |
Constructs a LDABatch
object for given elements reg
,
job
and id
.
as.LDABatch(reg, job, id) is.LDABatch(obj, verbose = FALSE)
reg |
[ |
job |
[ |
id |
[ |
obj |
[ |
verbose |
[ |
Given a Registry
the function returns
a LDABatch
object, which can be handled using the getter functions
at getJob
.
[named list
] with entries id
for the registry's folder name,
jobs
for the submitted jobs' ids and its parameter settings and
reg
for the registry itself.
Other constructor functions:
LDA()
,
as.LDARep()
Other batch functions:
LDABatch()
,
getJob()
,
mergeBatchTopics()
## Not run: batch = LDABatch(docs = reuters_docs, vocab = reuters_vocab, K = 15, chunk.size = 20) batch batch2 = as.LDABatch(reg = getRegistry(batch)) batch2 head(getJob(batch2)) batch3 = as.LDABatch() batch3 ### one way of loading an existing registry ### batchtools::loadRegistry("LDABatch") batch = as.LDABatch() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.