load_mallet_model | R Documentation |
Load a model object from a set of files (like those produced from
write_mallet_model
). Leave a filename out to skip loading that
piece of the puzzle.
load_mallet_model( doc_topics_file, doc_ids_file, vocab_file, top_words_file = NULL, topic_words_file = NULL, metadata_file = NULL, params_file = NULL, state_file = NULL )
doc_topics_file |
document-topic matrix file (CSV) |
doc_ids_file |
document id file (text, one ID per line) |
vocab_file |
model vocabulary file (text, one word type per line) |
top_words_file |
topic top word data frame file (CSV) |
topic_words_file |
topic-word matrix file (CSV) |
metadata_file |
metadata file (CSV or TSV) |
params_file |
modeling parameters file (read with
|
state_file |
CSV with simplified Gibbs sampling state (created by
|
a mallet_model
object
load_mallet_model_directory
,
load_from_mallet_state
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.