save_document_topics | R Documentation |
Process large Document-Topics-Matrices
save_document_topics(model, destfile = tempfile()) load_document_topics(filename, verbose = TRUE)
model |
A rJava object 'ParallelTopicModel' or inheriting from it. |
destfile |
Path to a file for temporarily saving data on documents and topics. |
filename |
Path to file with data exported from Java. |
verbose |
A 'logical' value, whether to show progress messages. |
m <- system.file(package = "biglda", "extdata", "mallet", "lda_mallet.bin") |> mallet_load_topicmodel() fname <- save_document_topics(m) y <- load_document_topics(fname) dim(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.