This function writes a current sampling state of mallet to file. The state contain hyperparameters \(\alpha\) and \(\beta\) together with topic indicators.
The state file can be read into R using the function
save.mallet.state(topic.model, state.file)
A cc.mallet.topics.RTopicModel
object created by MalletLDA
.
File path (.gz format) to store the mallet state file to.