imi: Calculate IMI

Description Usage Arguments References

Description

Function to calculate instantanueous mutual information for types for a given topic. See reference for details.

Usage

1
imi(state, g = "doc", w = NULL)

Arguments

state

a tidy_topic_state object

g

Grouping variable to use to calculate IMI. Default is 'doc'.

w

A tibble with types and topics to calculate IMI for. Default is NULL, all types.

References

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


MansMeg/tidytopics documentation built on May 8, 2019, 3:52 p.m.