Learn R Programming

mallet (version 1.3.0)

load.mallet.state: Load a Mallet state into Mallet

Description

This reads writes a current sampling state of mallet to file. The state contain hyperparameters \(\alpha\) and \(\beta\) together with topic indicators.

Usage

load.mallet.state(topic.model, state.file)

Value

a java cc.mallet.topics.RTopicModel object

Arguments

topic.model

A cc.mallet.topics.RTopicModel object created by MalletLDA.

state.file

File path to store the mallet state file to.