load_lda_dataset: load_lda_dataset

Description Usage Arguments

View source: R/pcldar.R

Description

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.

Usage

1
load_lda_dataset(fn, ldaconfig)

Arguments

fn

filename of dataset

ldaconfig

LDA config object


lejon/pcldar documentation built on Feb. 23, 2020, 3:11 p.m.