Description Usage Arguments References Examples
Function to calculate instantanueous mutual information for types for a given topic.
See reference for details.
1 |
state |
A topic model state file |
w |
A tbl_df with types and topics to calculate IMI for. Default is NULL. |
k |
The topic to calculate IMI |
Mimno, D. and Blei, D. Bayesian Checking for Topic Models
1 2 3 | # Load the state of the union topic model
load(system.file("extdata/sotu_50.Rdata", package = "topicmodeltoolbox"))
w <- type_probability(sotu_50, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.