sample_types_given_topic: Sample types for a given setup of topic indicators

Description Usage Arguments Value References

View source: R/sample_types.R

Description

The function is sampling new word types based on posterior mode without hyper parameters.

This function is used for modeling comparisons using Bayesian checking. See reference for details.

Usage

1

Arguments

state

a topic model state object

Value

a type vector of length of the state dataset.

References

Mimno, D. and Blei, D. Bayesian Checking for Topic Models


MansMeg/topicmodeltoolbox documentation built on May 7, 2019, 2:45 p.m.