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

View source: R/mallet_state_io.R

load.mallet.stateR Documentation

Load a Mallet state into Mallet

Description

This reads writes a current sampling state of mallet to file. The state contain hyperparameters α and β together with topic indicators.

Usage

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

Arguments

topic.model

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

state.file

File path to store the mallet state file to.

Value

a java cc.mallet.topics.RTopicModel object


mallet documentation built on July 20, 2022, 5:08 p.m.