Load an LDA dataset from file. The file should be in LDA format i.e.: <unique id>\t<doc class>\t<document content>\n) The document class is not used in by the LDA sampler. Each line must be concluded with a newline so all other newlines in the document must be removed. The document content CAN have \t in it.
1 | load_lda_dataset(fn, ldaconfig)
|
fn |
filename of dataset |
ldaconfig |
LDA config object |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.