Description Usage Arguments Value See Also
Mixed Membership models are invariant to permutations of the sub-population labels; swapping the names of each sub-population yields an equivalent model.
The ordering of the labels in a fitted model is dependent on the initialization points of the variational EM algorithim.
The permuteLabels
function returns a mixedMemModel
object where the labels (for θ, φ, δ and α) have been permuted
according a given permutation of the integers 1 through K. The findLabels
function can be used to find a permutation of the labels which
most closely matches another fitted model.
1 | permuteLabels(model, perm)
|
model |
a fitted |
perm |
a vector of length K with integers 1:K. This is the permutation by which to relabel the |
permuteLabels
returns a mixedMemModel
object such that
group i in the returned mixedMemModel
object corresponds to group perm[i] from the input mixedMemModel
object
findLabels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.