write_mallet_state: Save MALLET sampling state to disk

Description Usage Arguments Details See Also

Description

A helper function for saving the final sampling state.

Usage

1
write_mallet_state(model, filename)

Arguments

model

model object from MalletLDA.

filename

name of file to save the sampling state to. The result is a gzipped file.

Details

Warning: the sampling state size grows linearly with the number of tokens in #' the corpus. Expect big files.

See Also

read_mallet_state


agoldst/litdata documentation built on May 10, 2019, 7:34 a.m.