plot_mi_check | R Documentation |
As a diagnostic visualization, this function displays the MI score of a topic in comparison with the distribution of simulated values, on a scale normalized to the latter. Extreme deviations of the actual MI score indicates a departure from the multinomial assumption of the model. Exploring these deviations over various document groupings may help to reveal the driving factor of those deviations (e.g. variation over time).
plot_mi_check(m, k, groups = NULL, n_reps = 20)
m |
|
k |
topic number (only one topic at a time) |
groups |
optional grouping factor with one element for each document |
n_reps |
number of simulations |
ggplot2
plot object
mi_topic
, mi_check
,
plot_imi_check
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.